Skip to content

Fix Claude subscription fallback to Codex with explicit model settings - #28

Merged
JOsacky merged 1 commit into
mainfrom
codex/runner-subscription-fallback
Oct 13, 2026
Merged

JOsacky merged 1 commit into
mainfrom
codex/runner-subscription-fallback

Conversation

@JOsacky

@JOsacky JOsacky commented Oct 13, 2026

Copy link
Copy Markdown
Member

Claude Code now reports subscription exhaustion as a synthetic assistant API error: You've hit your session limit. Skillhook classified this as unknown and counted it as agent work, so the configured fallback could not run.

Recognise session/weekly limits and exhausted credits, exclude synthetic API notices from the activity guard, and count real assistant/tool activity so an agent that started work is never repeated. Fallback runner entries now also accept { runner, model, effort }, allowing Claude to fall back to Codex with gpt-6.1-sol and medium instead of inheriting opus. Stop revisiting runners to prevent cycles when every account is exhausted. Existing string entries remain compatible.

Includes generated schemas, documentation, regression coverage and the 0.10.1 release bump so the runner can install the fix.

Validation: npm run check passed (typecheck, all tests, build, schema and release consistency); release consistency rechecked after the version bump.

@JOsacky
JOsacky enabled auto-merge (squash) October 13, 2026 19:08
@JOsacky
JOsacky merged commit 0882bbc into main Oct 13, 2026
6 checks passed
@JOsacky
JOsacky deleted the codex/runner-subscription-fallback branch October 13, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant