Skip to content

feat(budget): operator budget signal — operations-center.sh budget (audit D1) - #461

Merged
ProtocolWarden merged 1 commit into
mainfrom
feat/operator-budget-signal
Jul 14, 2026
Merged

feat(budget): operator budget signal — operations-center.sh budget (audit D1)#461
ProtocolWarden merged 1 commit into
mainfrom
feat/operator-budget-signal

Conversation

@ProtocolWarden

Copy link
Copy Markdown
Owner

The voluntary operator budget signal (audit D1, operator decision: fleet is throttled, operator gets a signal — no hard gate on a human session).

operations-center.sh budget (read-only, skips the janitor) prints one line:

claude budget: ok — 89% of reserve threshold used | 3.5M weighted before the fleet throttles | 14.0M before the hard 5h limit | window 20:35Z->01:37Z | cap 42.0M

State is ok / THROTTLING — fleet diverts to codex / parks reviews / DISABLED. It answers the operator's real question at a glance: how much room before the fleet throttles, and before the hard 5h limit stops everything.

Backed by a small testable format_status_line(BudgetStatus) + a __main__ in usage_budget.py. 1 test; ruff + ty clean; custodian audit clean.

This is D1 part 3. Remaining D1: the reviewer backend ladder + codex fallback (backend-agnostic harness — designed next) and the standalone budget writer (F3).

🤖 Generated with Claude Code

…udit D1)

A human session can't be hard-gated, so the fleet is throttled and the operator
gets a voluntary SIGNAL. New `operations-center.sh budget` (read-only) prints a
one-line readout via `python -m operations_center.execution.usage_budget`:
state + % of reserve used + weighted headroom to the fleet-throttle line and to
the hard 5h limit. Adds testable format_status_line + __main__.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@ProtocolWarden
ProtocolWarden merged commit 3cecd17 into main Jul 14, 2026
25 checks passed
@ProtocolWarden
ProtocolWarden deleted the feat/operator-budget-signal branch July 14, 2026 01:50
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