Repository navigation
stewards: schedule overlapping tickets one after another - #38
Merged
trotterdylan merged 2 commits intoOct 20, 2026
Merged
trotterdylan merged 2 commits into
trotterdylan merged 2 commits into
Conversation
trotterdylan
force-pushed
the
bb/the-project-steward-should-take-care-about-sched-thr_8dih33k3e3
branch
from
October 20, 2026 11:39
2308227 to
d5ea86a
Compare
Two tickets changing the same files on two branches end in a rebase for whichever merges second. The project steward now sequences them: - steward_report takes `touches`, the repo-relative paths the work changes; two bindings overlap when a touch of one is, or is inside, a touch of the other (schedule.ts). - When a ticket's ready gate passes while another binding is building or reviewing on the same paths, the plugin files a `schedule` escalation with the project steward, like the approval request, and the ticket steward is told to start no workers until it is decided. A decided request is not made again until a new overlap appears. - steward_update takes `behind` with a hold: the keys the hold waits behind. The hold lifts itself, waking the steward and telling the project steward, once every binding named has merged its pull requests or ended. Work whose pull requests have all merged no longer counts as in flight. - Wakes, `bb stewards list` and `show` print touches, overlaps and what a hold waits behind; the default playbook, skill and README say how to use it. Store: three new binding columns (touches, hold_behind, schedule_asked). Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
- A ticket whose gate has passed with nothing holding or scheduling it is cleared to start and counts as in flight at once, so a second ticket going ready before Linear shows the first In Progress schedules against it instead of racing it. - A binding reaching a terminal state, or detached, releases the holds waiting behind it as its ending begins, not when it finishes: a wrap-up turn that follows through for hours no longer delays the lift. - A hold that would wait, directly or through other holds, behind the binding being held is refused as a cycle. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
trotterdylan
force-pushed
the
bb/the-project-steward-should-take-care-about-sched-thr_8dih33k3e3
branch
from
October 20, 2026 13:18
fc993ee to
c510b3d
Compare
Collaborator
Author
|
LGTM |
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.
Why
Tickets that change the same files were being built in parallel, and whichever merged second paid for it in rebases, often several times through the review loop. Nothing told the project steward what each ticket touched, nothing stopped a non-substantial ticket going straight from Todo to a worker, and nothing woke anyone when the blocking PR merged.
What
steward_report { touches }: the repo-relative paths a binding's work changes, repo directory first. Two bindings overlap when a touch of one is, or is inside, a touch of the other (schedule.ts, unit-tested).scheduleescalation: when a ticket's ready gate passes while another binding is building or reviewing on the same paths, the plugin asks the project steward to schedule it, the way it asks for approvals. The ticket steward's wake and report reply say to start no workers until it is decided. A decided request is not re-asked until a new overlap appears.steward_update { hold, behind: [keys] }: a hold that waits behind named bindings. It lifts itself, wakes the held steward with a "rebase before building on" note, and tells the project steward, once every binding named has merged its pull requests or ended. Work whose PRs have all merged no longer counts as in flight.bb stewards listandshowprint touches, overlaps and what a hold waits behind. The project steward's intro, the default playbook, the skill and the README explain the flow.Lane
Owner-reviewed: three new columns on
bindings(a store migration, append-only). Everything else is additive; a binding that reports no touches behaves exactly as before.Companion
The project playbook and AGENTS.md changes are on the same branch in
.bb(published as a guidance branch). Merge this first; they refer totouchesandbehind.Shipping
Merging moves the
bb-serverpin: a new image is built and a restart is staged for every developer's server (Restart now, or the 03:00 to 05:00 ET quiet window).Tests
npm run typecheckandnpm testinplugins/stewards: 209 tests pass, including three new end-to-end scheduling tests and four unit tests for overlap detection.🤖 Generated with Claude Code