Skip to content

Owner question: what should agents do when weekly usage is ahead of pace? #893

Done

Description

@scuttletoby

Recommendation: A for now. Accept or reject by replying "Owner decision: A / B / C".

The question: when the weekly usage of an account is ahead of pace (it uses up the week faster than the days go by), what should agents do?

Right now usage pacing only advises (usagePacingGate: "advise"): each new agent gets a note "ahead of pace", and the task still runs. The orchestrator then chooses by hand, and lately it has left one writer slot empty while ahead of pace.

Options

  • A. Keep "advise", and write the rule down. While an account is ahead of pace, the orchestrator keeps one writer slot free. It still starts reviews, merge-path fixes, and anything that unblocks a merge. Nothing is held automatically. Cost: none. Risk: it depends on the orchestrator following the rule (the rule is not enforced).
  • B. Switch to "enforce". New agents on an account that is ahead of pace are held until the pace clears. Today that would be about 13:00 UTC. Safe and simple, but it also holds reviews and small fixes, so merges stop overnight, and the weekly usage is not used at all while held.
  • C. Enforce for new writers only. Reviews, merge-path fixes and resumed agents still run. This needs a small fork change: the gate gets a "writers only" mode, about one writer for half a day. This is the best end state if A turns out to waste usage.

Why A first: B stops merges too, and C costs work before we know whether A is enough. The weekly waste report (#871) will show whether A holds. If it doesn't, we move to C.

Turning a feature that holds work on or off is the kind of switch I leave for you to decide, so it is written here rather than done.

🤖 Generated with Claude Code

Activity

  1. scuttletoby commented on Nov 22, 2026

    @scuttletoby
    OwnerAuthor

    Owner decision (in chat, 2026-11-22): A (advise), with one addition: when an account needs to catch up on its weekly pace, the number of agents running at once is lowered, so the weekly pacing catches up naturally over time (instead of holding everything).

    How it is applied: while the weekly-paced account is ahead of pace, the orchestrator runs fewer agents at once (finish reviews, fixes and merges first; start new writers only when one finishes and the gap is shrinking), and goes back to full use once usage is back on pace. If this turns out not to be enough, option C (a "writers only" hold) is the next step.

    Posted by the orchestrator from the owner's chat answer.

    🤖 Generated with Claude Code

  2. scuttletoby commented on Nov 22, 2026

    @scuttletoby
    OwnerAuthor

    Owner addition (in chat, 2026-11-22): the number of agents on the weekly-paced (main) account should be calculated, so usage runs a little under pace and ends the week near the 2% reserve, instead of just "fewer agents". Remote machines (like the Windows PC) count, because they use the same account.

    How the number is worked out

    • Usage we may still spend per hour = (98% − used now) ÷ hours until the weekly reset.
    • Agents we can run = that rate ÷ what one busy agent uses per hour, measured from T3's own usage numbers. The orchestrator counts as one.
    • It is worked out again every few hours. If usage runs ahead, the number drops; if it falls behind, it rises.

    Numbers today (2026-11-22 16:30 UTC)

    • Main account: 55% used, reset 2026-11-27 19:00 UTC, so 122 h left. We may spend 43% in that time, about 0.35% per hour.
    • Rough measure from today: one busy agent on the main account uses about 0.6–0.8% per hour. So for now the main account can run about one agent at a time, the orchestrator included, until the measurement is better.
    • The second account has 10% of its week left, so it will soon run out. After that, all work runs on the main account at this calculated rate.

    Next steps

    • A usage log every 10 minutes (orchestrator state, not in the repo) gives a better per-agent number.
    • When the measured number is clear, the calculation becomes part of the usage pacing (the usagePacingNote gives the number of agents allowed), rather than being worked out by hand.

    🤖 Generated with Claude Code

  3. scuttletoby commented on Nov 22, 2026

    @scuttletoby
    OwnerAuthor

    Owner addition (in chat, 2026-11-22): while the agent count is held down for pacing, the hours should not be wasted. Fill them with work that uses machines but not Claude usage: CI, builds, test runs.

    How it is applied

    1. Agents never wait on machines. A writer pushes and stops. It does not sit waiting for CI. The orchestrator watches the PR with T3's own PR watch, which wakes it when checks finish. Then it starts the next step: a lens, a fix or a merge. A writer today often spends 15–30 minutes waiting on CI; that time is now free for another agent. Lenses do the same.
    2. Merges run as scripts. The serial merge chain (update branch, wait for CI, merge, next) already uses no agent. It keeps running through paced hours.
    3. Scripted checks between agents. A script watches main's own CI after each merge and starts an agent only when a run turns red, with the failing output in its brief. Slow tests that CI cannot run (for example ones that need a systemd user manager) run by script on a free machine through heavy.
    4. Prepare before the agent starts. For the next queued writer, a script makes the worktree, merges main, installs dependencies and runs the baseline tests. The agent's time then goes to thinking, not to setup.
    5. Spread across machines. Compute jobs go to whichever linked machine is idle. The paced agent count limits only the agents.

    What it does not change: the calculated agent count from the comment above, the serial merge rule and the capacity checks (t3-capacity, heavy).

    Later, in the fork (general, not project-specific): steps 1, 3 and 4 become part of the fork's PR queue and delegate tools, so any orchestrator gets them. That is tracked in #991.

    Posted by the orchestrator from the owner's chat message.

    🤖 Generated with Claude Code

  4. scuttletoby commented on Nov 27, 2026

    @scuttletoby
    OwnerAuthor

    Decided: A with a calculated agent count; the follow-ups are #991 and #871.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions