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
add fallback model setting for provider issues, like codex model at capacity #1546
Result: failed
Issue: https://github.com/JacobStephens2/thirdshift/issues/1564
Title: Spec: keep working Ready issues - a Failure limit for pickup and a Command limit for Passes
Command: Spec run
Pull request: https://github.com/JacobStephens2/thirdshift/pull/1579
Cause: claude exited 1: Failed to authenticate: OAuth session expired and could not be refreshed
Session trace: /home/jstephens/.thirdshift/logs/JacobStephens2/thirdshift/commands/issue/1564-20261028T182952-0400~aZPBunblAhoKD9wX-repair-1.logs.jsonl
Command log: /home/jstephens/.thirdshift/logs/JacobStephens2/thirdshift/commands/issue/1564-20261028T182952-0400~aZPBunblAhoKD9wX.log
Built with claude 2.1.312 · claude-opus-5-5 · high (configured)
Sent by: thirdshift
Host: [orchestrate.etadventures.com](http://orchestrate.etadventures.com/)
Took: 8h 19m 34s
another example from dev, thirdshift show '/home/jstephens/.thirdshift/logs/Educational-Travel-Adventures/tourbot/commands/pickup/1721-20261029T172901-0400~TQKAnpVD0M2fEPnM.command.json::pickup-20261029T172901-0400' --json, gave codex exited 1: This content was flagged for possible cybersecurity risk. If this seems wrong, try rephrasing your request. If you’re doing authorized security work that requires more cyber permissive safeguards, apply for Daybreak access via https://platform.openai.com/settings/organization/status-and-access before retrying. - in this case I might for example want to fall back to grok
Investigated #1546 against selected Base commit 0009a53, matching local main. The configuration gap is confirmed; the historical service incidents were not independently reproduced.
src/harness.rs:116 and src/config.rs:1281 support one Model/Effort pair per Harness, with strict key validation and no general fallback configuration.
src/harness/interpretation/event.rs:154 already classifies capacity, overload and HTTP 503/529 errors as rate_limit events. This classification does not initiate recovery.
src/session.rs:370 propagates ordinary session failures. The existing exception at src/session.rs:539 switches a non-default Security review to the default Harness once, before observed work, and excludes typed safeguard refusals. Tests confirm successful fallback, separate attempt records, and no further fallback after work or default-Harness failure.
src/processes.rs:335 replaces only fields explicitly specified by a Step. Cross-Harness fallback needs an explicit target Model/Effort contract to avoid carrying incompatible settings across CLIs.
The examples require different decisions: changing Models cannot itself restore expired Harness authentication, and a cybersecurity refusal is distinct from temporary capacity exhaustion. Command elapsed time alone does not establish whether the failing session had already performed work.
Proposed next steps
Keep #1546 for configurable fallback targets and the switching/handoff contract. Coordinate bounded transient recovery with #584, refusal outcomes with #1972, and leave proactive subscription-usage routing with #583. These overlap without making the whole request a duplicate.
Recommend an initial opt-in, startup-only fallback with independently validated target settings, preserved attempt traces, bounded attempts, interruption handling and existing review/Delivery requirements. Decide the scope through the questionnaire before producing an Agent Brief or implementation Tickets.
Questionnaire
For the Day shift: #1546 requests configurable fallback after capacity errors, expired authentication and cybersecurity refusals. The repository currently switches Harnesses only for an eligible Security-review startup failure.
What scope and precedence should configuration have? Recommend an ordered list of explicit Harness/Model/Effort targets, disabled by default. Decide how explicit Command and Process Step choices interact with it, and whether a successful switch affects only that session or later Steps too.
May fallback occur after a session has performed work? Recommend startup-only initially. If later switching is required, specify how edits and completed external operations are handed over without blindly repeating them; a different Harness cannot reuse the original CLI's session identity. Specify attempt/time caps, or delegate those defaults to Recover from temporary Harness service failures within a bounded retry budget #584.
Activity
JacobStephens2 commentedon Nov 10, 2026
Investigation summary
Investigated #1546 against selected Base commit 0009a53, matching local main. The configuration gap is confirmed; the historical service incidents were not independently reproduced.
The examples require different decisions: changing Models cannot itself restore expired Harness authentication, and a cybersecurity refusal is distinct from temporary capacity exhaustion. Command elapsed time alone does not establish whether the failing session had already performed work.
Proposed next steps
Keep #1546 for configurable fallback targets and the switching/handoff contract. Coordinate bounded transient recovery with #584, refusal outcomes with #1972, and leave proactive subscription-usage routing with #583. These overlap without making the whole request a duplicate.
Recommend an initial opt-in, startup-only fallback with independently validated target settings, preserved attempt traces, bounded attempts, interruption handling and existing review/Delivery requirements. Decide the scope through the questionnaire before producing an Agent Brief or implementation Tickets.
Questionnaire
For the Day shift: #1546 requests configurable fallback after capacity errors, expired authentication and cybersecurity refusals. The repository currently switches Harnesses only for an eligible Security-review startup failure.