Get Fix Budget Status
Changed onThe machine-issue fixer's daily dollar budget and what it has spent (2026-11-09, Frederick: "stop the bleeding").
WHO MAY READ IT (corrected 2026-11-14, FIX-BUDGET-GRANT-1): a holder of issues:read (the Settings page's reader) OR of rooster:today:direction, the grant the drain's own principal holds for every other drain route in this file (DIRECTION_WRITE). Until this day the route asked for issues:read alone, which the drain's principal (rooster-pipeline@pigeon.ly) does not hold in production (read 2026-11-14: its grants are rooster:build:claim:code and rooster:today:direction). The drain's read answered 403, and because the read fails closed the machine fixer would have stayed shut even after the owner set a budget.
Read by the rooster drain before it claims a machine-filed issue and before each run (the decision is app.modules.issues.fix_budget.decide), and by the Settings page. budget_usd is the owner's number (settings_service.FIX_LANE_DAILY_BUDGET_USD, default 0 = no paid fixer call). Spend is the Pacific floor day's priced fixer calls from model_calls; fixes_landed counts code-lane fixes that went live that day or in the seven days. Rule: docs/00_business_rules/FIX_LANE_DAILY_BUDGET.md. Ruling: docs/01_decisions/rulings/2026-11-09-the-fixer-has-a-daily-dollar-budget.md.
Request
- Base URLhttps://api.pigeonly.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Response
Successful Response
Changes
- info
endpoint added
- info