Marks / Operations and verification / Result checks
goose · Result checks
Recipe retry.checks retry up to max_retries, then emit an error (fails closed). No default verifier, so not level 4
Level
Criteria for this column
- 0
No result checks
- 1
Structural checks only (schema on tool args/output, or structured final output), with no hook for result checks
- 2
Owner-defined checks available (Stop/finalize hooks, check scripts), but on failure the answer is released after a cap or fails open
- 3
Owner-defined checks where failure either blocks release with an error or re-prompts with a stated cap and records the outcome
met - 4
Level 3, plus checks available by default (a built-in verifier or default check) and retry/release policy configurable per check
What the source review found
Pinned evidence
Cited by the mark
- O21
Recipe success checks:
sh -ccommands, non-zero exit = failure; nocurrent_dirset (runs in goose process cwd) - O23
Checks pass → finish; fail → on_failure + reset/retry; at
max_retriesan error message "Maximum retry attempts … exceeded" is emittedaaif-goose/goose crates/goose/src/agents/state_machine/ops_retry.rs L255-L313
- O25
Block cap from
GOOSE_STOP_HOOK_BLOCK_CAP, defaultDEFAULT_BLOCK_CAP= 8 (ops_stop_hook.rs:16)aaif-goose/goose crates/goose/src/agents/services.rs L157-L159
Also cited by the review finding
- O19
FinalOutputTool: jsonschema-validated
final_outputtool for recipe/delegateresponse.json_schemaaaif-goose/goose crates/oi-kit-agent/src/final_output.rs L22-L57
- O24
Stop hook Deny injects hidden user message and continues; above block cap, yields with a warning (answer released)
aaif-goose/goose crates/goose/src/agents/state_machine/ops_stop_hook.rs L77-L110
Two independent graders
- Grader A
- 3 / 3
- Grader B
- 3 / 3
- Final
- 3 / 3