Depends on the config resolver (backend ticket).
Problem
The account circuit breaker (250M tokens / $50 charged per 24h) is invisible until it fires — the number only appears in the refusal message after work is already blocked. The console Usage page shows consumption from the ai_usage ledger but never the ceiling or how close you are. There is no field anywhere to change the limit.
Scope
- Usage/Budget panel (console, account owner): for each ceiling show current rolling-24h consumption, the ceiling, and distance-to-limit (a gauge), plus per-tree defaults and Loop iteration cap. Editable where policy allows (clamped to the max from the backend).
- Admin portal: platform-default ceilings + per-account overrides (the operator view), living beside the existing
/admin/settings surface.
- Wire both to the new get/set endpoints from the backend + MCP tickets. No new source of truth in the client.
Notes
Folds in the earlier “breaker is invisible” gap. Admin portal is at /admin (host worker), role-gated; see #108 re: the Cloudflare Access perimeter.
Depends on the config resolver (backend ticket).
Problem
The account circuit breaker (250M tokens / $50 charged per 24h) is invisible until it fires — the number only appears in the refusal message after work is already blocked. The console Usage page shows consumption from the
ai_usageledger but never the ceiling or how close you are. There is no field anywhere to change the limit.Scope
/admin/settingssurface.Notes
Folds in the earlier “breaker is invisible” gap. Admin portal is at
/admin(host worker), role-gated; see #108 re: the Cloudflare Access perimeter.