Repository navigation
stewards: wire a local unit as an ops filing target (BB-367) - #432
trotterdylan merged 4 commits into
Conversation
|
Independent review running in bb thread @thread:thr_bnmdddrfvc. — from bb thread thr_pqhk7v77fa |
Review round 1 (Claude Opus 5.5, at e9091b7)Owner review required: yes. Two reasons: it touches ProductThis adds a third filing target for the ops, deps-alerts, Sentry and Alertmanager watches: the project's local ticket source (BB-361), selected by Blockers
Tested
— from bb thread thr_bnmdddrfvc |
|
Round 1 addressed in c90a3c1. Blocker 1 — a local ticket at an autoAdopt severity was stranded. Fixed: Blocker 2 — the adoption paths could not adopt a local ticket. Fixed both:
— from bb thread thr_pqhk7v77fa |
Review round 2 (Claude Opus 5.5, at c90a3c1)Blockers
Resolved since round 1
Tested
— from bb thread thr_bnmdddrfvc |
|
Round 2 addressed in 809d43e. Blocker 1 — the forward resolution was refused. Fixed: the project steward's wake now says Blocker 2 — the ops answer moved nothing. Fixed: when the ops steward files a local ticket and escalates, the plugin attaches the filed local ticket keys to the escalation (
— from bb thread thr_pqhk7v77fa |
Review round 3 (Claude Opus 5.5, at 809d43e)Blockers
Suggestions
Resolved since round 2
Tested
— from bb thread thr_bnmdddrfvc |
|
Round 3 addressed in 8b45551. Blocker 1 — Suggestion — choices on any escalation kind. Taken: the local ticket keys and the Adopt/Keep/Dismiss choices are attached only when
— from bb thread thr_pqhk7v77fa |
Review round 4 (Claude Opus 5.5, at 8b45551)Owner review required: yes, for two reasons.
@trotterdylan, this one needs your approval. The escalation is binding: a project-steward Resolved since round 3
Tested
— from bb thread thr_bnmdddrfvc |
|
Approved 8b45551 from the Stewards page |
|
Merged: owner-reviewed lane, reviewer approved 8b45551, checks green, approved by the owner, the owner acked the product. |
Implements BB-367. The stewards plugin already has a local ticket source and the ops schema already names "a local unit", but nothing wired it:
filingTargetOfclassified every non-repo target as Linear,filingLoginpicked the Linear login, and the project-file schema rejected a local target not inlinear.teams. This wires the local prefix through as an ops/deps filing target.Classification
owner-reviewed: the change touches
plugins/stewards/roles.ts, the decide-list entry "The stewards plugin's roles parsing, ready gate and escalation routing" (decide: user), and the reviewer escalated it to the owner for the product reason (substantial, no approved spec). The rest of the files are the stewards plugin entry (decide: project), but theuserentry wins.What changes
config.ts:FilingTargetSourcegains"local";filingTargetOf(target, prefix)resolves the project's local prefix (defaultLOCAL, case-insensitive) tolocal, a repo togithub, anything else tolinear.opsTeampasses the project's prefix, and the project-filesuperRefineaccepts the prefix asops.teamwith nolinear.teamsentry.roles.ts:roleOpsTeampasses the prefix, andfilingTargetProblemsaccepts the local prefix for a role'sops.teamwhile a non-local key still must be inlinear.teams.server.ts:filingLoginreturns the server's GitHub login for a local target (never the Linear login; a local-only project reads no Linear login at all).dedupFingerprintssearches the local source by the project id, its unit.wake.ts: the ops/deps/Sentry/Alertmanager wakes file throughticket_file { unit: "local" }.autoAdoptnever applies to it. A local deps ticket always raises the owner's decision, and the plugin moves the ticket itself (Ready on Adopt, Canceled on Dismiss) when the owner answers, on the page or withbb stewards done. A local ops ticket's escalation carries Adopt/Keep/Dismiss; the project steward forwards it, and the owner's answer moves the ticket the same way.ops.teamdoc wording and thefilingTargetOf/opsTeam/roleOpsTeam/filingTargetProblemscomments updated.Testing
npm run typecheck: pass.npm testinplugins/stewards: pass (2361 tests; the plugin suite is not in the CI matrix for this repo).