Owner-only Slack Agent View sessions - #443
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Local MVP acceptance PASS at exact head |
|
Focused stock-pulse/session-link follow-up is pushed at exact bot head |
|
Live-tested Slack thread UX checkpoint is now pushed at |
|
Slack Agent View is now the canonical and only supported progress implementation at bot-authored head
This remains a draft PR. The canonicalization commit is not yet live-installed; current live lodge remains on the visually accepted exact-slug build |
Outcome
Makes Slack a native supervised connector for one explicitly configured lodge owner in direct messages. A fresh top-level DM always opens Choose your wolt; the original text is held privately and delivered exactly once after a valid selection. The spawned Woltspace session owns that Slack thread, including historical follow-ups.
Slack Agent View is the sole supported progress experience. A new session enters native
processing, uses the exact Woltspace session slug as its Agent Session title, and returns toactiveafter the final reply. Every final reply retains a validated Open session link. The former custom Gnawing/message-progress implementation and arbitrary Slack adapter overrides are removed.Safety boundary
SLACK_OWNER_USER; malformed or missing configuration fails closed./tui?session=<exact-id>URLs.bot.slack_adapteris launchable. Legacy token environment values remain migration inputs to the same connector;channels.slackis canonical.Setup and distribution
The packaged
setup-slackskill guides one owner-controlled Slack app per lodge through Agent View, Socket Mode, exact scopes/events, immutable owner-ID pinning, private local configuration, restart, and acceptance checks. The bundled manifest requests onlyassistant:write,chat:write, andim:history, withapp_home_openedandmessage.im.A shared official Slack app remains a later hosted OAuth/event-ingress service decision; no global Socket Mode token is distributed between lodges.
Verification
c83040ais installed in jerpint's lodge; all four connectors recovered, 28 sessions adopted, TUI health passes, and all 42 tmux sessions survived.Final draft-exit gate
Next Slack work after this PR
agent_session_stopped.Telegram selection parity and adapter-native cross-channel progress semantics remain separate product work.