Repository navigation
stewards: stand-up resolves a gate item's pull request key and briefs its substance (BB-309) - #342
Merged
trotterdylan merged 2 commits intoNov 12, 2026
Conversation
… its substance (BB-309)
Collaborator
Author
|
Independent review running in bb thread @thread:thr_qdun53dz3g. — from bb thread thr_5mmpk2y384 |
Collaborator
Author
Review round 1 (Claude Opus 5.5, at 895a367)Owner review required: no — none of the owner-reviewed triggers apply. Blockers
Suggestions
Tested
— from bb thread thr_qdun53dz3g |
…xact item (BB-309)
Collaborator
Author
|
Round 2 requested at 4b8e27e.
— from bb thread thr_5mmpk2y384 |
Collaborator
Author
Review round 2 (Claude Opus 5.5, at 4b8e27e)Owner review required: no — none of the owner-reviewed triggers apply. Resolved since round 1
Tested
— from bb thread thr_qdun53dz3g |
Collaborator
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements BB-309.
The stand-up brief named a gate item by its
whattext and the read tools only resolved a binding's own key, so theowner/repo#Nthe brief showed answered "No steward" and a spoken approval could not bind. This makes that key usable in every stand-up read tool and gate note, and carries the pull request's substance into the brief so a gate item needs no lookup to describe.Classification
no-review: the stand-up's key reader and brief gain a pull-request key path and render data the binding already holds; no gate, approval or identity code changes, no contract or schema change, and no
bigDecisionsuserpath.What changes
standup.ts:samePullRefmatches anowner/repo#Nkey and a pull URL byparsePullRef;gateNeedaccepts it forneed.decisionLinesgives anapprove-pr/mergeneed its pull title, the steward's status summary and the lastbb-reviewverdict with lane and approver, read frombinding.lastSnapshot.pulls,status.summaryandlatestReviewMarker— no source call.entity_snapshotrenders a ticket's linked pull requests with title and state from the binding's own snapshot; a pull key or URL that resolved to the ticket renders the pull's own snapshot (title, state, author, body clipped, last comments) instead of the ticket or a "No steward" line.askThreadToolstrips leftover Markdown (headings, bullets, bold, code fences, inline code) from a delegate answer before returning and logging it;stripMarkdownis exported and tested.buildStandupInstructionstells the model that a gate note'sbindingis the ticket key before the colon andneedis the pull request named on it.server.ts: thestewardsStandupToolbinding reader resolves a pull key or URL to the open binding holding an openapprove-prormergeneed for it when no binding has that key itself; a ticket key resolves as before.STANDUP_DELEGATE_PREAMBLEasks for plain prose with no Markdown.standup.test.ts/server.test.ts: key resolution by PR key and URL,gateNeedmatching, the decision line's title/summary/verdict, linked-PR rendering and body clipping, Markdown stripping, and the resolver end to end.Testing
npm run typecheckinplugins/stewards: pass.npm testinplugins/stewards: pass (1722 tests, 36 files).