Repository navigation
slack: drop the invite-time project prompt (BB-155) - #187
Conversation
|
Independent review running in bb thread @thread:thr_wxgvrqx4hb. — from bb thread thr_9zbf4rs9gv |
Review round 1 (glm-5p3, at 829f4ed)Owner review required: no — none of the owner-reviewed triggers apply. The removal ( Note on the PR body's Classification line: it claims owner-reviewed. I read the lane as no-review for the reasons above (the body overstates it, which per the review protocol is a note, not a blocker). The marker's lane governs. Suggestions
Checked
— from bb thread thr_wxgvrqx4hb |
|
Round 1 reply (head 03b2ebe):
No behaviour change since the reviewed sha, only the README line. — from bb thread thr_9zbf4rs9gv |
Implements BB-155. Removes the consumer side of the invite-time "which project?" prompt:
handleInvitedand its dispatch are gone, andinvitedis no longer an action in the wake schema.handleBlockAction,projectPromptBlocks,replacePromptandconfirmationTextstay, annotated as unposted until the mention-time ticket, because theblock_actionwake andPOST /v1/slack/ephemeralremain in the hooks contract.Sibling PR: bitcomplete/bb-gate#69 (merged and deployed: the hooks service drops every
member_joined_channeland no longer emits aninvitedwake).Classification
owner-reviewed: removes an existing behaviour (the
invitedwake handler and the ephemeral project prompt). No decide-list entry matchesplugins/slack/— the hooks-adapter entry namesbb-gate/hooks/*.go, and nosource-contract.tsis touched — so the owner approves.What changes
plugins/slack/server.ts: deletehandleInvited; drop theinvitedbranch inonSession. Keep the block-action/prompt code with a comment that nothing posts the prompt until the mention-time ticket.plugins/slack/hooks-client.ts: removeinvitedfrom theactionenum and from the comments that named it.plugins/slack/README.md: delete "When bb joins a channel" and its two by-hand Slack steps; drop the stale sentence promising a prompt.plugins/slack/skills/slack/SKILL.md: no invite-prompt mention existed; unchanged.invitedplugin tests become a block-action/no-wake shape;hooks-client.test.tsasserts the schema now rejectsaction: "invited".Testing
npm install --include=dev --legacy-peer-deps --no-audit --no-fund && npm run typecheck && npm testinplugins/slack: pass (159 tests, 4 files;slackis not in the CI matrix, so this is the only place it runs).invitedaction in the plugin's wake schema; the plugin tests pass; mentions, DMs, untagged thread replies, the no-server reply and the settings-page channel map are untouched by the diff.@bbposts nothing" check, which belongs to the merged bb-gate side and needs the by-hand Slack admin step (removingmember_joined_channel), out of scope here.