Marks / Operations and verification / Result checks
opencode · Result checks
Built-in /goal judge re-prompts with stated caps (50 rounds, 3 stalls) and pauses; the caps are constants, not configurable per check
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
Tool inputs are decoded against their schema (error asks the model to retry) and outputs against declared output schemas. Only tool.execute.before hooks can reject. Built-in /goal LLM judge (≤50 rounds, 3 stalls). Schema-checked Code Mode agent() exists only behind a flag that is off in releases. No LSP or test gate. O88O89O90O92O93O95
Pinned evidence
Cited by the mark
- O90
Goal plugin limits: MAX_ROUNDS 50, MAX_STALLS 3, WAIT_LIMIT 30 min; armed goal from earlier process comes back paused
- O91
GoalPlugin registered as built-in plugin
anomalyco/opencode packages/core/src/plugin/internal.ts L222
- O88
Tool input decoded against schema (error tells model to retry); output encoded against declared output schema, error on mismatch
anomalyco/opencode packages/core/src/tool/runtime.ts L84-L140
Also cited by the review finding
- O89
Only
tool.execute.beforemay fail (reject the call)anomalyco/opencode packages/core/src/plugin/hooks.ts L23-L30
- O92
Flags on in local/dev builds, off in releases;
codemode_agents= schema-checked agent()/llm() in Code Modeanomalyco/opencode packages/schema/src/config/flag.ts L6-L19
- O93
Gated on
codemode_agents; structured-output tool validates child resultanomalyco/opencode packages/core/src/tool/plugin/codemode-agents.ts L38-L75
- O95
LSP diagnostics after edit still a TODO
anomalyco/opencode packages/core/src/tool/plugin/edit.ts L254
Two independent graders
- Grader A
- 3 / 3
- Grader B
- 3 / 3
- Final
- 3 / 3