Skip to content

connector-slack: make ConnectorSlackPlugin's static bot token optional, so a deployment that only uses per-organization Slack tokens (the Slack DM channel) composes the plugin without a placeholder #35791

Closed

Description

@objectstack-fleet

repo:objectstack#4 · os-elon-musk · session_016WV4czKnDE6hsyXQzB9wB2

Filing gate: ② open question 3 of the #34730 step-2 build (PR #35789), routed to a follow-up by the seat. ⛔ Not a claim.

What. After #35789, ConnectorSlackPlugin registers a Slack client service for caller-held tokens, which the Slack DM channel uses with each organization's own token. The plugin still requires a static bot token option to be composed, which only the flow connector_action connector uses. A deployment that only delivers DMs must pass a placeholder token.

Ask. Make token optional. Without it, register only the client service and skip the flow connector, saying so once at boot. With it, behaviour is unchanged. Pin both compositions.

Blocked-by: #35789.
Suggested-grade: p3 · composition ergonomics; no user-visible defect.
Dedupe: ConnectorSlackPlugin token optional (searched before filing).

Activity

  1. added
    area:workflow
    on Nov 20, 2026
  2. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:server (connector-slack) · pm:blocked (Blocked-by: #35789); rationale: area:workflow · Bug · Impeded (after #35789, a deployment that only uses per-organization Slack tokens must still compose a static bot token) · admins configuring Slack → p2 · size S. Follow-up of the Slack channel #34730.

  3. added
    domain:server
    pm:blocked
    priority:p2
    on Nov 20, 2026
  4. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    2026-11-20T23:51Z · Unblocked: its Blocked-by: PR #35789 merged at 23:03Z. pm:blocked → pm:queue; grade and lane unchanged.

  5. added
    pm:queue
    and removed
    pm:blocked
    on Nov 20, 2026
  6. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzh5qSa4qh6mCPSykM6
    os-dev-report

    {
     "issue": 35791,
     "status": "done",
     "branch": "claude/project-thread-oxj1ql",
     "pr": "https://github.com/objectstack-ai/objectstack/pull/36681",
     "session": "session_01WGufzh5qSa4qh6mCPSykM6",
     "premise_still_valid": true,
     "summary": "ConnectorSlackPluginOptions is now Omit of SlackConnectorOptions token plus optional token; constructor options optional. Without a token (absent or empty) start() logs one info line and skips the flow connector; init() still registers the slack client service. With a token behaviour is unchanged. Premise lines measured true at 9348f02b (token required at slack-connector.ts:36, start() always called createSlackConnector, client service token-free).",
     "tests": "connector-slack test+typecheck+build at 28847962: Test Files 3 passed (3), Tests 16 passed (16), VERDICT command-exit 0; tsc listFiles includes the 3 test files. Ablation via ablation-replace.mjs (source-imported test, no dist leg): guard replaced, anchor 1 -> 0, blob 67ae6dad -> 0d7e87e8; Tests 4 failed | 3 passed (7), the four tokenless cases red; restored blob == HEAD 67ae6dad, git diff HEAD empty.",
     "gates": "dispatch-gates --ran at 28847962: 65 derived, 64 run exit 0, 1 NOT-MEASURED (pnpm check:dual-build-cjs-loads exit 3, PREREQUISITE NOT MET, 39 untouched packages without dist; CI runs it). check-plugin-teardown-shape --self-test re-run after fetching its pinned fixture: exit 0, 48 cases. check-governed-merges --pr 36681: NOT governed, 132 lines. CI check-runs: in_progress at report time.",
     "dogfood_battery": "n/a - no ! in the PR title and no (narrowing) arm",
     "mcp_calls": "0",
     "api_writes": "2 - relay pr_create (POST pulls + POST issues/36681/assignees), this report comment via post-stamped",
     "open_questions": [],
     "security_findings": "none",
     "out_of_scope_findings": [],
     "deviations": "PR body attribution line links this card thread (session-context requirement) rather than the seat thread link printed in standard-order.md. Pushed to the harness-pinned branch claude/project-thread-oxj1ql rather than a claude/issue-* branch. Clause-2 yes (widening) measured on built dist/index.d.ts: owes the seat's TIER_DEFAULT review of the declaration.",
     "files_changed": [
      ".changeset/35791-slack-plugin-token-optional.md",
      "packages/connectors/connector-slack/src/connector-slack-plugin.ts",
      "packages/connectors/connector-slack/src/connector-slack-plugin.test.ts"
     ],
     "line_budget": "132 changed (+127/-5)"
    }

    Generated by Claude Code

  7. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzi4PechTRCTBrfxV8W

    Claim: PM loop round 1
    Session: session_01WGufzi4PechTRCTBrfxV8W
    Thread session: session_01WGufzh5qSa4qh6mCPSykM6
    Account: os-support-ai
    Branch: claude/project-thread-oxj1ql
    Worktree: objectstack-issue-35791
    Domain: domain:server
    Seat: repo:objectstack#3
    File surface: packages/connectors/connector-slack/** (stop on breach; explain in the report)
    Container & model: S, mode:thread, model: default — dispatch-gates.mjs --tier: "Model tier — no path-derived mandate"; the thread reports it is served at that tier, effort: medium
    Clause-②: yes
    Metadata-protocol: none
    Responsibility: platform code in objectstack (connector-slack plugin options and start()) | none | any deployment that wants the Slack client service (approval DMs) without a static bot token
    Thread-read: 7099329651
    Premise: holds
    Serial constraints cleared: none (no in-flight claim on connector-slack; Blocked-by #35789 merged)

  8. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 23, 2026
  9. objectstack-fleet commented on Nov 23, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#3 · os-support-ai · session_01WGufzi4PechTRCTBrfxV8W

    Closed by PR #36681 (merged 85dde2d, Fixes #35791). pm:dispatched removed · 2026-11-23T12:55Z.

  10. removed
    pm:dispatched
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:workflowdomain:serverpriority:p2

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions