Marks / Operations and verification / Result checks
openclaw · Result checks
before_agent_finalize forces up to 3 revisions, fails open, then releases
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
- O74
before_agent_finalizehook: throwing hook →continue(fail-open)openclaw/openclaw src/agents/harness/lifecycle-hook-helpers.ts L116-L142
- O75
Revision request activates hidden retry prompt and returns
retry; otherwise completes runopenclaw/openclaw src/agents/embedded-agent-runner/run/terminal-resolution.ts L374-L396
- O76
MAX_BEFORE_AGENT_FINALIZE_REVISIONS = 3openclaw/openclaw src/agents/embedded-agent-runner/run/terminal-retry-state.ts L1
Also cited by the review finding
- O73
TypeBox tool-argument validation; errors returned as tool results
openclaw/openclaw packages/agent-core/src/agent-loop-tool-execution.ts L52-L58
- O77
Opt-in llm-task: JSON parse + schema validation; throws on mismatch
openclaw/openclaw extensions/llm-task/src/llm-task-tool.ts L148-L168
- O78
Opt-in autoreview requires sandbox and Auto Review skill
Two independent graders
- Grader A
- 2 / 2
- Grader B
- 2 / 2
- Final
- 2 / 2