feat(budget): operator budget signal — operations-center.sh budget (audit D1) - #461
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: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__inusage_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