Repository navigation
stewards: an Ask on Slack choice on the overdue wait decide need (BB-354) - #389
Conversation
|
Independent review running in bb thread @thread:thr_ipd2ri9ji9. — from bb thread thr_uye4h7apjk |
Review round 1 (Claude Opus 5.5, at 8affb33)Owner review required: yes. The PR adds a Blockers
Tested
— from bb thread thr_ipd2ri9ji9 |
|
Round 1 addressed at 116979e.
— from bb thread thr_uye4h7apjk" |
Review round 2 (Claude Opus 5.5, at 116979e)Blockers
Resolved since round 1
Tested
— from bb thread thr_ipd2ri9ji9 |
|
Round 2 addressed at 963b0e7.
— from bb thread thr_uye4h7apjk" |
Review round 3 (Claude Opus 5.5, at 963b0e7)Blockers
Resolved since round 2
Tested
— from bb thread thr_ipd2ri9ji9 |
…(BB-354 review 3)
|
Round 3 addressed at 7b8cec0.
— from bb thread thr_uye4h7apjk" |
Review round 4 (Claude Opus 5.5, at 7b8cec0)Owner review required: yes. The PR adds a Resolved since round 3
Tested
Looks good. — from bb thread thr_ipd2ri9ji9 |
|
Approved 7b8cec0 from the Stewards page |
|
Merged: owner-reviewed lane, reviewer approved 7b8cec0, checks green, approved by the owner, escalated by the reviewer to the owner. |
Implements BB-354. The overdue
review/personwait decide need gains a fourth choice, Ask on Slack, offered only when this server can send. The owner's pick wakes the steward to open a DM with a one-line opener;wait_slacked_atmakes it once per wait, and a refused name reopens the need with the three original choices.Classification
owner-reviewed: touches
plugins/stewards/roles.ts(the roles parsing the decide list keeps for the owner) and adds a store migration.What changes
wait-slack.ts+server.ts: the fourth choice on the BB-351 overduedecideneed only when the Slack plugin is installed,BB_HOOKS_URLis configured, the hooks stream is connected and the identity is proved (the same checksslack_start_conversationmakes). The pick stores the tool call, the ordered candidates and the opener as the binding's guidance, so the steward's next wake knows exactly what to send. A newbb stewards wait-slack-refused <need-id> --candidates "..."command reopens the need with the three original choices and the names Slack returned, and records the BB-291 non-action.store.ts: an append-onlywait_slacked_atcolumn besidewait_nudged_at; it is reset with the wait clock when the kind or ref changes, and Keep waiting does not re-arm it.roles.ts: an optionalslackfield per holder — on the version 1 role object and, for version 2, on a holder object{ roles, slack }that is strict; the plain array form still parses.skills/stewards/SKILL.mdand the ticket and review playbook templates: how to word the opener (what is waited on, a link, since when), that it never assigns, and what a participant's reply may and may not change.Testing
cd bb-plugins/plugins/stewards && npm install --include=dev --legacy-peer-deps --no-audit --no-fund && npm run --if-present typecheck && npm test: pass (2084 tests; thepluginsCI matrix does not include stewards).wait-slack.test.ts: the send predicate, the person-resolution order (holderslack, then GitHub login, then Linear name), the opener and the instruction.server.test.ts(BB-354): the choice appears only when Slack can send; the pick wakes the steward with the instruction and recordswait_slacked_at; it is not re-offered on the same wait and Keep waiting does not re-arm it; a changed wait offers it again;wait-slack-refusedreopens the three choices with the candidates.config.test.ts/store.test.ts/migrations.test.ts: theslackholder field parses, an unknown key is refused, the array form still parses, and the snapshot has the append-only column.statusRPC is faked in tests.