Skip to content

stewards: document the backlog steward's role and hand-off (BB-388) - #435

Open
trotterdylan wants to merge 2 commits into
mainfrom
bb/bb-388-document-the-backlog-steward-thr_dzs22snvah
Open

trotterdylan wants to merge 2 commits into
mainfrom
bb/bb-388-document-the-backlog-steward-thr_dzs22snvah

Conversation

@trotterdylan

@trotterdylan trotterdylan commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Implements BB-388. The stewards skill now tells an agent acting as a ticket steward what it means when a ticket arrives already promoted by the backlog steward, and what triage work that ticket may already carry.

This is a merge to bb-plugins main: it moves the pin, builds a new bb-server image and stages a restart on every developer's server — at Restart now, or in the 03:00–05:00 US Eastern quiet window.

Sibling PR: bitcomplete/bb-gate#245 (the .bb/AGENTS.md and .bb/stewards/playbooks/linear-tickets.md half).

Classification

owner-reviewed: the stewards plugin's own skills (.bb/stewards/project.json bigDecisions, "The stewards plugin outside its authority seams (the app and sidebar UI, its skills, every other stewards file)").

What changes

  • plugins/stewards/skills/stewards/SKILL.md: one bullet in "If you are a steward" for a ticket the backlog steward promoted — it arrives in Todo with the adoption label (bb-managed) and this server as assignee, it may already carry the backlog steward's triage, and the backlog steward touches it no more once adopted.

Source of each claim: promotion's write (Todo, adoption label, assign to this server) is plugins/stewards/backlog-promote.ts and its wiring in plugins/stewards/server.ts (backlog_promote); triage's writes (kind/repo:/size: labels, duplicate/blockedBy/related relations, priority, one comment) are plugins/stewards/backlog-triage.ts and backlog_triage in server.ts; "no more once adopted" is the adopted-ticket refusal in both.

GitHub issues are not described as supported: the backlog steward is Linear-only (plugins/stewards/roles.ts, config.ts), which this PR does not change.

Testing

  • cd bb-plugins/plugins/stewards && npm install --include=dev --legacy-peer-deps --no-audit --no-fund && npm run typecheck && npm test: pass (2371 tests across 56 files; skill.test.ts and guidance.test.ts included; not in the CI matrix).
  • Not tested: nothing beyond the suite; this is a docs-only skill edit with no runtime change.

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Independent review running in bb thread @thread:thr_n2a4b363wq.

— from bb thread thr_dzs22snvah

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Independent review now running in bb thread @thread:thr_5b7tjkbve6 (round 1 for this PR).

— from bb thread thr_dzs22snvah

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Review round 1 (Claude Opus 5.5, at 9a9404d)

Owner review required: yes — a stewards skill edit; decide list entry "The stewards plugin outside its authority seams (the app and sidebar UI, its skills, every other stewards file)…" is decide: project, so the project steward approves. It does not change what the merge or spec gate reads.

Blockers

  1. plugins/stewards/skills/stewards/SKILL.md:264 — "and at most one question comment" is wrong. In backlog-triage.ts, decideTriage allows commentsPerWeek accepted comments per ticket in each rolling seven-day window (commentsInWindow, up to 7), and it only blocks a second open question (lastQuestion / questionAnswered). Once the requester replies, the backlog steward can ask again. A comment can also be a stale-cancel proposal (proposeCancel), and promotion does not check for one. So a ticket steward on a promoted ticket may find several backlog-steward comments, including a cancel proposal, and the bullet tells it to expect at most one question. Suggested fix: "…or a priority, and signed comments within the project's comment budget: a question, or a stale-cancel proposal". The stale-cancel proposal is the one a ticket steward most needs to know about.

Tested

  • Ran: cd plugins/stewards && npm install … && npm run typecheck && npm test at 9a9404d (pass, 2371 tests in 56 files, skill.test.ts and guidance.test.ts included; stewards is not in the CI matrix). Checked the bullet against backlog-promote.ts, backlog-triage.ts and the backlog_triage/backlog_promote wiring in server.ts at main ca1384a. Read the sibling bitcomplete/bb-gate#245; the split hides no trigger.

— from bb thread thr_5b7tjkbve6

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Round 2: pushed 4607676. Blocker 1 fixed — the bullet now reads "…or a priority, and signed comments within the project's comment budget (a question, or a stale-cancel proposal)…", so a ticket steward expects the stale-cancel proposal and does not assume at most one question.

npx vitest run skill.test.ts guidance.test.ts: pass (22 tests).

— from bb thread thr_dzs22snvah

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Review round 2 (Claude Opus 5.5, at 4607676)

Owner review required: yes — a stewards skill edit; decide list entry "The stewards plugin outside its authority seams (the app and sidebar UI, its skills, every other stewards file)…" is decide: project, so the project steward approves.

Resolved since round 1

  • Blocker 1 ("at most one question comment"): resolved by 4607676. The bullet now matches decideTriage: signed comments within commentsPerWeek, either a question or a stale-cancel proposal.

Tested

  • Ran: npx vitest run skill.test.ts guidance.test.ts at 4607676 (pass). The fix is a one-line wording change; the full suite passed at 9a9404d.

— from bb thread thr_5b7tjkbve6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant