Marks / Operations and verification / Result checks
letta-code · Result checks
Hooks: exit 2 blocks, but errors and timeouts fail open; Stop-hook re-prompts have no stated cap
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
- O47
Hook exit mapping: 0 allow, 2 block, other/timeout/null = error
- O48
Aggregation: BLOCK stops; ERROR only appends feedback (fail-open); PreToolUse
updatedInput - O50
Only Stop-hook call site (TUI): block re-enters conversation with system-reminder; no cap visible here
letta-ai/letta-code src/cli/app/use-conversation-loop.ts L1342-L1381
Also cited by the review finding
- O51
Workflow worker:
schemareturns SDK structuredOutput;jsonmode parse failure →failed: trueletta-ai/letta-code src/tools/workflow/sdk-spawner.ts L630-L653
- O53
Pre-commit validator blocks invalid memory commits
Two independent graders
- Grader A
- 2 / 2
- Grader B
- 2 / 2
- Final
- 2 / 2