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
Account failover: move work to the next account in a set order before one runs out #881
area:agentsOrchestration, slots, delegate, handoff, wake-ups, model policy, review rulessize:bigMulti-part feature, design, research or audit (usually has sub-issues)type:featureNew behaviour or capability
What: account failover. When an account is nearly out of usage, T3 moves work to the next account in a person-set order instead of letting sub-agents stop with "out of usage".
Why the owner wants it: sub-agents stop and wait for a person when one account runs out, and the owner gets "out of usage" noise. The owner said yes to moving work between accounts (#68) and gave the order to use.
Already built: usage readings and history (#24#42#294#502), the pacer and the pacing gate on delegate_task with reserve and "burn first" settings (#52#73#566 and fixes), usage per agent run (#588). Moving work to another account is not built.
Account order in Settings (replaces the single fallback); new drafts, delegated tasks and auto-resumes take the first account that is not spent; projects can override
Per-thread rule: follow the order (default), pin to this account, or pause instead of moving
Clean pause: hold the next tool call, then move the thread and resume with "paused before tool X; it did not run"
Never move a thread twice in one reset window; stale or unknown usage places no new work there
Sub-agents that hit a limit report once to the parent, not every turn
Done when: an orchestrator and its sub-agents keep working across an account running out, the owner sees one line saying what moved, and no tool runs twice because of a move.
Related:#860 (hard budgets), #877 (a handoff before the limit).
Working on "projects can override" the account order: a project's own accountOrder replaces the server's for that project's delegated tasks (contracts, the delegate_task read, Settings row for the project, docs). One fork PR.
Later item, from the #1231 review: pacing follows the project order. With usagePacingGate on, the pacing gate runs after the account order step, reads no order (neither the project's nor the server's), and can move a task to any account of the same provider with room, also past the order or out of a project's empty one. It should pick only from the order that applies to the task.
Working on "pacing follows the project order": with usagePacingGate on, the pacing gate's account move on delegate_task picks only from the account order that applies to the task (the project's own, else the server's), and never moves a task out of it. One fork PR.
Working on the account order for create_threads: a thread an agent creates naming no instance, on a spent account, starts on the first account in the order (the project's own, else the server's) that has room and can run the same model, options and runtime mode, as delegate_task does. One fork PR, in the fork's create_threads seat (no new upstream lines).
area:agentsOrchestration, slots, delegate, handoff, wake-ups, model policy, review rulessize:bigMulti-part feature, design, research or audit (usually has sub-issues)type:featureNew behaviour or capability
Activity
fork: account order, so delegated work leaves a spent account (#881)
fork: name server.accountOrder in FORK_CHANGES.md (#881)
fork: account order, so delegated work leaves a spent account (#881)
fork: name server.accountOrder in FORK_CHANGES.md (#881)
fork: account order, so delegated work leaves a spent account (#881) (#…
scuttletoby commentedon Nov 28, 2026
Working on "projects can override" the account order: a project's own
accountOrderreplaces the server's for that project's delegated tasks (contracts, thedelegate_taskread, Settings row for the project, docs). One fork PR.🤖 Generated with Claude Code
scuttletoby commentedon Nov 28, 2026
Later item, from the #1231 review: pacing follows the project order. With
usagePacingGateon, the pacing gate runs after the account order step, reads no order (neither the project's nor the server's), and can move a task to any account of the same provider with room, also past the order or out of a project's empty one. It should pick only from the order that applies to the task.🤖 Generated with Claude Code
Account order: a project may set its own order (#881) (#1231)
fork: account order, so delegated work leaves a spent account (#881) (#…
Account order: a project may set its own order (#881) (#1231)
scuttletoby commentedon Nov 28, 2026
Working on "pacing follows the project order": with
usagePacingGateon, the pacing gate's account move ondelegate_taskpicks only from the account order that applies to the task (the project's own, else the server's), and never moves a task out of it. One fork PR.🤖 Generated with Claude Code
scuttletoby commentedon Nov 29, 2026
Working on the account order for
create_threads: a thread an agent creates naming no instance, on a spent account, starts on the first account in the order (the project's own, else the server's) that has room and can run the same model, options and runtime mode, asdelegate_taskdoes. One fork PR, in the fork's create_threads seat (no new upstream lines).🤖 Generated with Claude Code
30 remaining items
Account order: a per-thread rule keeps a pinned or paused thread on i…
Account order resume: keep pinned, paused and delegated threads on up…
fork seams: move usageLimits.ts to a seam entry and announce the draf…
Clean pause: hold a spent Claude thread's tool call before it runs (#881
fork seams: announce the thread menu's account rule lines (#881) (#1449)
fork seams: re-announce two limit report lines without the issue numb…
Account order: t3_thread_launch moves an agent's launch off a spent a…
Account order: an unreadable project check moves nothing; README and …
Merge origin/main into fork/seams-announce-remote-settled-run
Account order: Settings lists and sets per-thread account rules (#881) (
Account order: create_threads moves a thread off a spent account (#881)…
Account order: a usage-limit resume moves to the next account with ro…
Work gate contract: list the account-order resume (#881)
Account order resume: keep pinned, paused and delegated threads on up…
Account order: a usage-limit resume moves to the next account with ro…