Marks / Execution controls / Budget enforcement
goose · Budget enforcement
Default 1000-turn ceiling is coarse (L1); a practical turn cap via the named setting is a level-2 work limit (R3)
Level
Criteria for this column
- 0
No limits of any unit, and no usage reporting
- 1
Usage or cost reported only, or only coarse safety caps (retry counts, iteration ceilings ≥1000, wall-clock timeouts ≥ hours)
default - 2
An enforced work limit (turns/steps/iterations at a practical default) or a $/token limit checked after each step, per run
best - 3
A $ or token limit checked before the model call (admission) for a run, or a post-step $ limit covering descendants
- 4
Pre-call admission across the whole delegation tree, with stated settlement of in-flight calls
What the source review found
Turn count only: GOOSE_MAX_TURNS defaults to 1000 assistant turns per user turn, checked after each turn; children have separate caps. Per-call tokens and $ are written to a usage ledger (provider price, then user config, then bundled registry) for reporting only. No $/token admission check, no cumulative or descendant cap. X29X30X31X32
Pinned evidence
Cited by the mark
- X29
MaxTurns: ResourceExhausted once assistant turn count >= max_turns; checked after turn
aaif-goose/goose crates/oi-kit-agent/src/max_turns.rs L16-L77
- X30
GOOSE_MAX_TURNS default 1000
aaif-goose/goose crates/goose/src/config/base.rs L1373-L1375
- X31
per-call usage enriched with cost and recorded (reporting)
aaif-goose/goose crates/goose/src/agents/state_machine/usage.rs L34-L71
Also cited by the review finding
- X32
price precedence provider, user config, bundled registry
aaif-goose/goose crates/goose/src/providers/canonical_cost.rs L1-L22
Two independent graders
- Grader A
- 1 / 1
- Grader B
- 1 / 1
- Final
- 1 / 2
Adjudicated · R3 (agreed cell changed from 1/1)
Default 1000-turn ceiling is coarse (L1); a practical turn cap via the named setting is a level-2 work limit (R3)