Repository navigation
Closed
Labels
Description
Parent
What to build
Skip scheduled Passes and end live factory Commands cleanly as Paused Commands (outcome = "paused") when every allowed route's Plan usage is unavailable, releasing Claims without branding issues agent-failed or burning pickup.failure_limit and routing Needs you and Run notifications according to whether Pickup will retake the work automatically.
Specifically:
- Before starting a scheduled Pass (
Pickup,Triage,Architect,Review,Fix,Security, or aCustom processPass), check whether at least one route allowed for that Pass has available machine-local Plan usage. When every allowed route is unavailable, skip the Pass quietly without sleeping in-process, writing one Activity log line per Pass kind only when its skip reason changes (with named Custom processes comparing against their own last skip reason, matching Quota wait dedupe) and clearing that reason when a Pass runs normally. - Display a status banner on
1 Inboxin the Console and inthirdshift statuswhen every configured default route on the machine has unavailable Plan usage so scheduled Passes are skipping, naming the exhausted routes and the earliest known reset time. - Broaden Paused Command (
outcome = "paused") beyond out-of-disk stops so any live factory Command (Ticket run,Spec run,Architect run,Pickup run,Security run,Review run,Fix run,Triage run, orCustom process) whose allowed routes all have unavailable Plan usage ends immediately asPausedwithout sleeping in-process: preserve branch work, record the stopping Harness, Plan window, utilization, reset time and Continuation / resume command on the Command record, and in a Spec run stop starting queued sibling Tickets while active Tickets finish or salvage. - End an issue's Claim for a Paused Command without adding
agent-failed(never counting towardpickup.failure_limit): removein-progressand putready-for-agentback when the Claim took it off, unless an account that is not a Trusted account edited the issue since its last Trustedready-for-agentlabelling (which leavesneeds-triage, ADR 0030) or the Run is a Security fix (which swaps foragent-failed, ADR 0031). Trigger Plan-usage Paused Command stops and Claim restoration only on structured Harness wire-frame or official RPC Plan-usage facts—never on agent-writable assistant or tool prose (ADR 0030, ADR 0031). - Place a Paused Command whose Claim restored
ready-for-agentinDone/history asPausedrather than Needs you, and save its Run notification on disk without emailing whenonly_unmergedis set, because Pickup retakes it automatically once a Plan window resets ormax_utilizationclears. Keep any Paused Command that Pickup will not retake automatically (Experiment,Scoring run, pull-requestFixorReview, Security fix, untrusted-editneeds-triage, or a hand-started Run that did not restoreready-for-agent) in Needs you asPausedand email its Run notification when configured.
Acceptance criteria
- Scheduled Passes skip without sleeping when every allowed route's local Plan usage is unavailable, logging one Activity log entry per Pass kind (and per named Custom process) only when its reason changes, and surfacing a status banner on
1 Inboxandthirdshift statuswhen every configured default route on the machine is unavailable. - Live factory Commands stop immediately with
outcome = "paused"when every allowed route's Plan usage is unavailable, recording the stopping Harness, Plan window, utilization, reset time and Continuation / resume command on the Command record, preserving branch work, and halting queued sibling Tickets in a Spec run while active ones finish or salvage. - Ending a Claim on a Paused Command removes
in-progresswithout addingagent-failedor counting towardpickup.failure_limit, restoringready-for-agentwhen the Claim took it off except when an untrusted edit occurred since the last Trustedready-for-agentlabelling (leavingneeds-triage) or on a Security fix (applyingagent-failed), and never triggers from agent-writable prose. - A Paused Command whose Claim restored
ready-for-agentappears inDone/history rather than Needs you and suppresses email underonly_unmergedwhile still saving the Run notification, whereas Paused Commands that Pickup will not retake automatically appear in Needs you asPausedand send email when configured. - Integration tests cover Pass skips + Activity log dedupe, the
1 Inboxandthirdshift statusbanner,outcome = "paused"across Ticket runs, Spec runs (halting queued Tickets) and Custom processes, Claim release with untrusted-edit / Security-fix / structured-evidence guards, andDonevs Needs you +only_unmergednotification behavior.
Activity
JacobStephens2 commentedon Nov 14, 2026
Closed by #2207, merged into issue-583 by a thirdshift Ticket run with Self-merge.