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
Resume a thread when the provider quota resets #462
Claude Code 2.1.234: sessions continue automatically when a claude.ai usage limit resets. Toggle in /config ("Continue automatically at usage limit").
T3 Code #7314 (17 Aug): after a usage-limit recovery, subagent status stays red and never updates while running. They have the resume path; the UI lies about it.
Solenta today
#286 is our hard budget cap — we kill dispatch when Solenta's own meter is empty. Provider-side 429 / "usage limit reached, resets at 15:00" is different: the turn is not failed, it is waiting on a clock we can read. Today that surfaces as a failed or zombie Working thread. There is no "hold this turn until 15:00, then send the same prompt."
Why it matters
Afternoon Max-plan users live on this. Killing the thread and making them re-prompt after lunch is how they go back to the raw CLI, which now just waits. Auto-resume is also how unattended overnight runs survive a mid-run quota wall without losing the worktree.
Scope suggestion
Parse the provider's reset timestamp from the error (Claude already emits one; Codex and others have equivalents). Park the thread in an explicit quota-wait state with the wake time on the card. Wake once. Do not loop. Honor a per-thread / global opt-out, same as Claude's /config row. Distinct from #286 (our cap) and from #294 (model failover — that is a different provider, not a later clock).
Round 21: Kimi Code 0.30.0 — fail fast when account quota or balance is exhausted instead of silently retrying for ~3 minutes.
Quota-wait (#462) is for a reset clock. Exhausted balance with no reset is a hard fail. Do not retry-storm either case. Parse the error: reset-at → park; no reset → fail the turn once and say why.
Round 25 demand validation: "Continue when the session limit reached" is a top Claude Code request (anthropics/claude-code#13354, 80 comments), and Codex users ask to make the temporary removal of the 5-hour limit permanent (openai/codex#34035). Quota walls are a top-of-mind daily frustration; a thread that parks itself and resumes at reset is a direct answer.
Status check: this was fully implemented in merge 688e5a9 (electron/quotaWait.js, src/quotaWait.ts, IPC, UI, tests) but a later same-day merge 8bf223b (Read-only Ask mode) deleted all of it during conflict resolution — .solenta/review-itinerary.json records 'quota-wait props/handlers dropped (removed upstream)'. Current tree has no working trace: quotaWaitUntil is only ever reset to null, fromQuotaWait is dead plumbing in runner.js, no reset-timestamp parsing exists. Keeping this open — the feature needs resurrecting from 688e5a9's diff, plus cleanup of the dangling references.
Ready for review on worktree branch coder/fork-we-have-a-lot-of-in-progress-on-the-475d59 (commit b3ac399, thread 475d59d2). The feature deleted by the Ask-mode merge is resurrected: electron/quotaWait.js + src/quotaWait.ts are back, re-merged around the Ask-mode code so both features coexist; dead fromQuotaWait plumbing cleaned up. Verified in the worktree: 55/55 electron tests pass across quota-wait AND ask suites (quota-wait, quota-wait-runner, ask, ask-mode, ask-runner, ask-ipc), 34/34 renderer tests pass (quotaWait, askCard, settingsModal).
Round 31 sentiment mining from the 705-comment Claude Code weekly-limits thread (HN). The quotes that should shape this feature:
"NOTHING breaks flow better than 'Woops! Times up!'; it's worse than credit quotas, at least then I can make a conscious decision to spend more money." The pain is the involuntary interruption, not the cost. A thread that visibly parks ("quota resets in 47m, will resume automatically") converts a flow-breaking wall into a scheduled continuation.
"Advanced usage patterns like running Claude 24/7 in the background" is what vendors blame for limits. Unattended fleets are exactly what break flat-rate pricing, so quota pressure will keep increasing, not decrease. This feature is durable, not temporary.
Activity
currentbits commentedon Aug 18, 2026
Round 21: Kimi Code 0.30.0 — fail fast when account quota or balance is exhausted instead of silently retrying for ~3 minutes.
Quota-wait (#462) is for a reset clock. Exhausted balance with no reset is a hard fail. Do not retry-storm either case. Parse the error: reset-at → park; no reset → fail the turn once and say why.
currentbits commentedon Aug 18, 2026
Round 25 demand validation: "Continue when the session limit reached" is a top Claude Code request (anthropics/claude-code#13354, 80 comments), and Codex users ask to make the temporary removal of the 5-hour limit permanent (openai/codex#34035). Quota walls are a top-of-mind daily frustration; a thread that parks itself and resumes at reset is a direct answer.
currentbits commentedon Aug 18, 2026
Status check: this was fully implemented in merge 688e5a9 (electron/quotaWait.js, src/quotaWait.ts, IPC, UI, tests) but a later same-day merge 8bf223b (Read-only Ask mode) deleted all of it during conflict resolution —
.solenta/review-itinerary.jsonrecords 'quota-wait props/handlers dropped (removed upstream)'. Current tree has no working trace:quotaWaitUntilis only ever reset to null,fromQuotaWaitis dead plumbing in runner.js, no reset-timestamp parsing exists. Keeping this open — the feature needs resurrecting from 688e5a9's diff, plus cleanup of the dangling references.currentbits commentedon Aug 18, 2026
Ready for review on worktree branch
coder/fork-we-have-a-lot-of-in-progress-on-the-475d59(commit b3ac399, thread 475d59d2). The feature deleted by the Ask-mode merge is resurrected:electron/quotaWait.js+src/quotaWait.tsare back, re-merged around the Ask-mode code so both features coexist; deadfromQuotaWaitplumbing cleaned up. Verified in the worktree: 55/55 electron tests pass across quota-wait AND ask suites (quota-wait, quota-wait-runner, ask, ask-mode, ask-runner, ask-ipc), 34/34 renderer tests pass (quotaWait, askCard, settingsModal).Merge origin/main into #462 branch (combine review itineraries)
currentbits commentedon Aug 18, 2026
Round 31 sentiment mining from the 705-comment Claude Code weekly-limits thread (HN). The quotes that should shape this feature:
Merge origin/main into #402 branch (combine review itineraries)