Compile attempts are now the primary per-trajectory budget: they map to
the real compute cost, unlike turns or tokens, and make the stop reason
obvious. stagerun refuses a 4th 05-compile with COMPILE_BUDGET_EXHAUSTED
before inline calibration or slot acquisition.
- Counted from the stages ledger (05-compile rows that got a slot), so
resume/recovery cannot reset it; a compile that timed out in the queue
is free; recompiles after an accuracy miss count.
- Board/eval/review of the last artifact still run after the cap.
- Turn/token/wall budgets, per-phase deadlines, cleanup and API quota
protection are unchanged as backstops.
- e2e prompt drops "no retry limit"; SYSTEM.md names compiles as the
primary budget; agent/VERSION 12 -> 13.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>