Marks / Operations and verification / Result checks
pi · Result checks
Extension hooks can block or force another turn, with no stated cap; arguments are validated structurally
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
met - 3
Owner-defined checks where failure either blocks release with an error or re-prompts with a stated cap and records the outcome
- 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
- O105
validateToolArgumentsbeforebeforeToolCallhookearendil-works/pi packages/agent/src/agent-loop.ts L734-L746
- O108
turn_end/agent_before_settleBoundaryResult can append entries and force another requestearendil-works/pi packages/coding-agent/src/core/extensions/types.ts L1051-L1058
Also cited by the review finding
- O106
Validation errors / blocked calls returned as
isError: true, never thrownearendil-works/pi packages/agent/src/agent-loop.ts L806-L816
- O107
structuredContent"matching the tool's outputSchema" for programmatic callers; not sent to model
Two independent graders
- Grader A
- 2 / 2
- Grader B
- 2 / 2
- Final
- 2 / 2