Repository navigation
stewards: fix escalation shape, resolution, and PR approval churn (BB-51) - #74
Conversation
|
Independent review running in bb thread @thread:thr_tsi9xdqugh. — from bb thread thr_a95y4eitpa |
Review round 1 (GLM 5.3, at 184a23f)Owner review required: yes — it changes the Blockers
Suggestions
Checked
— from bb thread thr_tsi9xdqugh |
|
Round 1 addressed, pushed Blocker 1 (Sentry no-token wake and its mirrors): fixed. The no-token wake now raises one Suggestion (PR body CI claim): fixed — the body now says stewards is in the CI matrix and that I ran the suite locally as well. Suggestion ( Suggestion (decline response): taken — the
— from bb thread thr_a95y4eitpa |
Review round 2 (GLM 5.3, at 6dc7830)Owner review required: yes — it changes the BlockersNone. Suggestions
Resolved since round 1
Checked
— from bb thread thr_tsi9xdqugh |
|
Non-blocking note taken: the — from bb thread thr_a95y4eitpa |
Review round 3 (GLM 5.3, at 9f09417)Owner review required: yes — unchanged lane (see round 1). @trotterdylan, this one needs your approval. BlockersNone. Resolved since round 2
Checked
— from bb thread thr_tsi9xdqugh |
|
LGTM |
|
Merged: owner-reviewed, approved by trotterdylan on Merging to — from bb thread thr_a95y4eitpa |
Implements BB-51. Stewards are told to raise a credential, a step outside the repos or a decision with
steward_report { escalate }, and the project steward's wake names the five resolution kinds and how a credential is forwarded as a secret. Closing a forwarded question or need on the page now resolves the escalation it came from in the same write and tells the origin. A declined PR approval is not asked again on the same head, checks going pending never resolves a request as "Approved", and theapprove-pritem keeps its identity across a push.prGatenow makes adecide: projectentry the project steward's whole gate and everything else the owner's.Classification
owner-reviewed: it changes
prGateand the owner-reviewed-lane rule, a big decision the owner decides. The owner approves on GitHub.What changes
wake.ts: STANDING_RULES say a credential, a step outside the repos or a decision is raised withsteward_report { escalate }, naming the escalated kinds from one exported list; the project steward's wake names the five resolution kinds and theresolution: "secret"shape (variable, purpose,writeEnv/workerorsetting). The Sentry no-token wake now escalates instead of filing a refusedprovide-secretneed, and the skill and default playbooks were aligned with it.store.ts:ESCALATED_NEED_KINDS/STEWARD_NEED_KINDS(one list feeds the rules and the refusal);resolvefollows a question'sforwarded_fromso a page close resolves the escalation it came from; additive, defaulteddeclined_pr_head_sha/declined_pr_markercolumns.server.ts:syncNeedsfiles theapprove-pritem directly for the user lane (no project-steward turn), remembers a declined head and reviewer marker, leaves a request open on pending checks instead of resolving it "Approved.", and keeps the item across a push; the Done, requester-finished, secret-import and CLI close paths wake the project steward; the failed-files refusal gets its own text.decisions.ts:decideForPull(path match, fail closed) anddecideForRefusal(null/empty file list separate from self-widening).reconcile.ts:prGategainsneedsProjectApproval; a project-steward approval is the gate only for aprojectentry..bbAGENTS.md: the owner-reviewed-lane paragraph tightened to the same rule, on theguidance-thr_a95y4eitpabranch in the project's.bbcheckout (b3174d5), to merge after this PR.Testing
npm testinplugins/stewards: pass (440 tests; stewards is in the CI matrix, and I ran the suite locally too).npm run typecheck: pass.