You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A paused Experiment's Command is recorded as failed #1619
On 2026-10-29, an Experiment paused at a plan-limit warning while its model Grader was starting. All 36 of its Trials had finished. Running the same command again resumes it and keeps every Trial, and the Experiment's own state says paused. Even so:
the Experiment Command's record says "outcome": "failed", with the cause Command paused at a plan-limit warning; run the Command again to resume;
the Command log prints Experiment <id> failed on the line before that cause.
So thirdshift show … --json reads as a failure, and the maintainer asked "experiment failed?". The Command record and the Experiment's own state disagree.
Triage notes
This needs a decision before it's ready for an agent: how should a paused Command look in the Command record, the Inbox, the Console and status?
A new Command outcome paused. It sits next to interrupted, appears in Needs you as paused rather than failed, and offers the saved resume command. This is the clearest option. It touches the outcome contract that the Console, status, Run notifications and Run metrics read.
Keep failed, and fix the wording. The log line says Experiment <id> paused, not failed, and the Inbox shows the resume command. This is smaller, but the record still disagrees with the Experiment's state.
The same pause also applies to a Scoring run that stops at a plan-limit warning.
Triage recommends option 1, decided with the domain-modeling skill so the Glossary records the new outcome.
The maintainer agreed on 2026-10-30 to add this to the issue, whichever outcome option is chosen.
The same Experiment paused again on 2026-10-30, after #1618 shipped, because Claude's seven-day window had reached 86%. Both pauses printed only "run the Command again to resume". The Grader's rate_limit_event carried everything needed to say more:
rateLimitType;
utilization;
resetsAt;
the unifiedWindows entries, each with its own resetsAt.
Codex's rate-limit reports also carry their windows' reset times.
Wherever a paused Command shows, it should say which window stopped it, how full it was, and when it resets: the cause line, the Inbox row and Command details, and show --json. For example: paused at a plan-limit warning: Claude seven-day window at 86%, resets Fri Oct 30 22:00. show --json gets machine-readable fields: Harness, window, utilization, and resets_at in RFC 3339.
If the Harness reported no reset time, the message stays as it is now. A rejection reports its reset time the same way.
Resuming automatically after the reset is a separate issue.
Decision (maintainer, 2026-10-30): option 1. A Command paused at a plan-limit warning gets its own paused outcome. The reset-time addition in the comment above is part of this issue. Automatic resume is #1653 and is out of scope here.
Agent Brief
Category: bug Summary: A Command that pauses at a plan-limit warning is recorded and shown as paused, not failed, with the window that stopped it, when that window resets, and the command that resumes it.
Current behavior:
An Experiment or Scoring run that stops at a plan-limit warning ends with Command outcome failed. Its cause is Command paused at a plan-limit warning; run the Command again to resume, and the log says Experiment <id> failed. Needs you lists it as Failed. The Experiment's own state is paused, every finished Trial and Score is kept, and running the same command again resumes it.
Desired behavior:
Outcome. The Command's outcome is a new value, paused, for any Command that stopped because of a plan-limit stop: an Experiment, or a Scoring run. No other ending uses it.
Log and stderr. They say Experiment <id> paused, or the Scoring equivalent, never failed. The cause names the Harness, the window, its utilization and when it resets, for example: paused at a plan-limit warning: Claude seven-day window at 86%, resets Fri Oct 30 22:00. The reset time comes from the stopping event's resetsAt or unifiedWindows.*.resetsAt (Claude), or the reported window (Codex). Without one, the cause falls back to today's text.
Command record and show --json. They carry the outcome paused, the resume command (the Experiment record already saves it), and a limit object with harness, window, utilization and resets_at in RFC 3339. Each field is null when unknown. The Command result format docs and their drift guard cover the new fields.
Inbox, Console and status. A paused Command is a Needs you item of a new kind, paused, shown as Paused, not Failed. Its row and Command details show the reset time and offer the resume command to copy. It leaves Needs you when a later Command resumes the same Experiment or Scoring work, and Dismissal works on it as on any Needs you row.
Run notifications and Run metrics. They treat paused as neither succeeded nor failed: no failure email and no failure count. Wherever outcomes are enumerated, paused is listed.
Glossary.GLOSSARY.md gains an entry for a paused Command, written with the domain-modeling skill. It sits beside the interruption wording and says that resuming continues the same work with nothing repeated.
Older records. A Command record from an older version with outcome failed and today's paused cause still reads as before. No migration is needed.
Key interfaces:
The Command outcome enumeration and every consumer that matches on it: Inbox grouping and needs_you_kind, Console rendering, status, Run notifications, Run metrics and the JSON result formats.
The plan-limit stop (session::limits::Reached today) carries the stopping event's window facts up to the Command's ending, so the record can name them.
The Experiment and Scoring run command paths end with the new outcome instead of an error outcome.
Acceptance criteria:
An Experiment paused by a fake Claude allowed_warning at 0.86 utilization with resetsAt ends with Command outcome paused. Its show --json has limit.window = "seven_day", limit.utilization = 0.86, the matching limit.resets_at and the resume command. Its log line says paused.
The same Experiment appears in Needs you with kind paused, not failed, and leaves Needs you when the resumed Command starts.
A Scoring run stopped by a plan-limit warning records paused the same way.
A Codex limit report pauses with its window and reset time when reported, and with nulls otherwise.
No failure Run notification is sent, and Run metrics don't count it as failed.
A Command that failed for any other reason still ends failed.
docs/guide.md, the generated manual and the hand-written site pages that describe Experiment pauses use the new outcome, and the existing Experiment pause/resume tests pass.
Activity
JacobStephens2 commentedon Oct 30, 2026
Addition: say when the plan window resets
The maintainer agreed on 2026-10-30 to add this to the issue, whichever outcome option is chosen.
The same Experiment paused again on 2026-10-30, after #1618 shipped, because Claude's seven-day window had reached 86%. Both pauses printed only "run the Command again to resume". The Grader's
rate_limit_eventcarried everything needed to say more:rateLimitType;utilization;resetsAt;unifiedWindowsentries, each with its ownresetsAt.Codex's rate-limit reports also carry their windows' reset times.
Wherever a paused Command shows, it should say which window stopped it, how full it was, and when it resets: the cause line, the Inbox row and Command details, and
show --json. For example:paused at a plan-limit warning: Claude seven-day window at 86%, resets Fri Oct 30 22:00.show --jsongets machine-readable fields: Harness, window, utilization, andresets_atin RFC 3339.If the Harness reported no reset time, the message stays as it is now. A rejection reports its reset time the same way.
Resuming automatically after the reset is a separate issue.
JacobStephens2 commentedon Oct 30, 2026
Decision (maintainer, 2026-10-30): option 1. A Command paused at a plan-limit warning gets its own
pausedoutcome. The reset-time addition in the comment above is part of this issue. Automatic resume is #1653 and is out of scope here.Agent Brief
Category: bug
Summary: A Command that pauses at a plan-limit warning is recorded and shown as
paused, notfailed, with the window that stopped it, when that window resets, and the command that resumes it.Current behavior:
An Experiment or Scoring run that stops at a plan-limit warning ends with Command outcome
failed. Its cause isCommand paused at a plan-limit warning; run the Command again to resume, and the log saysExperiment <id> failed. Needs you lists it as Failed. The Experiment's own state ispaused, every finished Trial and Score is kept, and running the same command again resumes it.Desired behavior:
paused, for any Command that stopped because of a plan-limit stop: an Experiment, or a Scoring run. No other ending uses it.Experiment <id> paused, or the Scoring equivalent, neverfailed. The cause names the Harness, the window, its utilization and when it resets, for example:paused at a plan-limit warning: Claude seven-day window at 86%, resets Fri Oct 30 22:00. The reset time comes from the stopping event'sresetsAtorunifiedWindows.*.resetsAt(Claude), or the reported window (Codex). Without one, the cause falls back to today's text.show --json. They carry the outcomepaused, the resume command (the Experiment record already saves it), and alimitobject withharness,window,utilizationandresets_atin RFC 3339. Each field isnullwhen unknown. The Command result format docs and their drift guard cover the new fields.status. A paused Command is a Needs you item of a new kind,paused, shown as Paused, not Failed. Its row and Command details show the reset time and offer the resume command to copy. It leaves Needs you when a later Command resumes the same Experiment or Scoring work, and Dismissal works on it as on any Needs you row.pausedas neither succeeded nor failed: no failure email and no failure count. Wherever outcomes are enumerated,pausedis listed.GLOSSARY.mdgains an entry for a paused Command, written with thedomain-modelingskill. It sits beside the interruption wording and says that resuming continues the same work with nothing repeated.failedand today's paused cause still reads as before. No migration is needed.Key interfaces:
needs_you_kind, Console rendering,status, Run notifications, Run metrics and the JSON result formats.session::limits::Reachedtoday) carries the stopping event's window facts up to the Command's ending, so the record can name them.Acceptance criteria:
allowed_warningat 0.86 utilization withresetsAtends with Command outcomepaused. Itsshow --jsonhaslimit.window = "seven_day",limit.utilization = 0.86, the matchinglimit.resets_atand the resume command. Its log line sayspaused.paused, notfailed, and leaves Needs you when the resumed Command starts.pausedthe same way.failed.docs/guide.md, the generated manual and the hand-written site pages that describe Experiment pauses use the new outcome, and the existing Experiment pause/resume tests pass.Out of scope:
Keep paused row copy feedback through live refreshes (#1619)
Reject unsafe plan-limit window text (#1619)