Repository navigation
Description
This was generated by AI during a grill-with-docs session.
Parent
What to build
A Spec run that has run every Ticket it can, and failed none, ends only waiting: no agent-failed, and ready-for-agent back on its Spec in place of in-progress. Pickup then continues it on its own once the Day shift clears a gate or a blocker closes, and until then passes over it, because it has no Startable Ticket. A Spec run is only waiting when no Ticket failed or was interrupted, and every undone Ticket is an Unready Ticket, blocked by Unready Tickets or by work elsewhere, or outside the Spec's repository. A blocking cycle is a failure. Any failed or interrupted Ticket makes the whole run a failure (agent-failed), even when other Tickets are only waiting.
Before putting ready-for-agent back, thirdshift runs the Trusted-account check from the Ready-issue rule. If an account that is not a Trusted account has edited the Spec's title or body since its last ready-for-agent labelling by a Trusted account, the Spec gets needs-triage instead. A ready-for-agent that thirdshift puts back this way counts as a handback for the Ready-issue rule.
This settles only the labels. #585 keeps the outcome name, exit code and notification wording, so a waiting run may still report its cause as "Tickets not done" until #585 changes that. Update the guide and site pages that describe Spec runs ending.
Acceptance criteria
- A Spec run whose only undone Tickets are
ready-for-human,needs-infoorneeds-triage, or blocked behind them, ends withready-for-agenton its Spec, and with noin-progressoragent-failed. - The same holds for undone Tickets blocked by an open issue outside the Spec, and for a Ticket outside the Spec's repository.
- A Spec run with a failed or interrupted Ticket ends with
agent-failed, even when other Tickets are only waiting. - A blocking cycle among undone Tickets ends with
agent-failed. - After an untrusted edit to the Spec since its last Trusted
ready-for-agentlabelling, a waiting Spec run labels the Specneeds-triageand doesn't putready-for-agentback. - A Pickup run passes over a waiting Spec until one of its Tickets becomes startable, then continues it.
- Tests go through the fake
ghSpec-run integration tests, with the Spec run's existing in-memory seam for classifying endings.
Activity
in-progressmarks only a live Run #1901in-progressoff at ready for review, swapped foragent-failedon failure #1902JacobStephens2 commentedon Nov 10, 2026
Closed by #1936, merged into issue-1901 by a thirdshift Ticket run with Self-merge.