Expand description
Deterministic verification: the verify tool + the pure render/parse of its
machine-greppable VERIFY_RESULT: sentinel.
Format (the LAST line of the whole output is always the overall verdict, so it survives in the goal judge’s transcript tail):
$ cargo test --workspace
exit_code=0
--- output (tail, 3000 of 8123 bytes) ---
<tail of combined stdout+stderr>
VERIFY_RESULT: PASS exit_code=0 command=cargo test --workspaceStructs§
- Verify
Command Tool - The
verifytool: runs the harness-configured verification command(s) in the workspace and reports a structured, gate-able PASS/FAIL. Its two reasons to exist over rawbash: (1) the command is configured by the harness (the agent never guesses what “passing” means), and (2) the result is a machine-greppableVERIFY_SENTINELthe goal judge / a deterministic gate can key on. Commands run sequentially and fail-fast (stop at the first non-zero exit), so the final sentinel is the overall verdict. - Verify
Outcome - The parsed verdict of one verification command.
passed == (exit_code == 0)(borrowed from claw-code’sTestCommandProvenance::passed, but wired).
Constants§
- VERIFY_
SENTINEL - The machine-greppable sentinel prefix. A deterministic completion gate (or the goal judge) keys on the LAST occurrence of this in the transcript.
Functions§
- parse_
latest_ verify - Find the LAST canonical
VERIFY_RESULT:sentinel intranscriptand parse it. ReturnsNoneif none is present. This is the deterministic-gate seam. - render_
verify_ result - Render one verify command’s result block, ending with the sentinel line.