two-account failover: active account goes STICKY — B stays primary after failover until it fails over back (supersedes #510 AC-4 decay) #865
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Matou/idss#865
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ben's ruling 2026-08-26 (follows the five 2026-08-25 token-limited reporter parks on #722): the active Claude account is sticky — it should fail over to token B, and B should then BE the primary until it fails over back to A. Supersedes #510 AC-4's freshness fallback, whose hourly decay re-probed a hard-7d-exhausted A (guaranteed refusal per caller) and re-parked the whole host whenever that refusal met transient pressure on B.
Live probe evidence (2026-08-26 ~02:00Z): primary org
1ec8db777d-utilization 1.0, rejected until Thu 27 Aug 06:00 NZST; standby orgab3a93d3allowed at 0.91. The failover pair itself is healthy — the decay was the defect.Change:
claude_active_accountreads the marker letter, sticky, no TTL; recovery needs no timer because the resting account's window reset is picked up at the active account's NEXT limit refusal. Tests: superseded AC-4 block in.sandcastle/tests/limit-lib-test.shrewritten to pin sticky-both-directions.Landed as
6620f7ca—claude_active_accountsticky both directions, superseded AC-4 test block rewritten (15 groups + 5 auth-guard scenarios green). Deploying to both drive hosts' checkouts now; the workstation's marker already says B, which sticky semantics keep until B itself fails over.