Reference/Command reference
saphan review
Gate a STOP-2 return structurally and parameterize the Review prompt
saphan review
Gate a STOP-2 return structurally and parameterize the Review prompt
Validate that a stream's STOP-2 return is structurally complete (§5.2): the actual diff and output are attached and the CLOSE-OK close signal is well-formed and matches the stream's registry row (reconciled on invocation, §2.4). A complete return yields the ready-to-paste Review prompt rendered from the library's review-template (§5.1); an incomplete one bounces with exit 2 and a STOP list. Structural ≠ correct — correctness is the Review tab's job, and spawning it stays a human action.
Options
| Option | Type | Default | Description |
|---|---|---|---|
--anchor | stringArray | [] | reference anchor for the Review prompt (repeatable) |
--lib | string | unset | library tree holding the review-template manifest [required] |
--stop2 | string | unset | file holding the executor's STOP-2 return [required] |
--task-md | string | unset | the task MD the executor ran against [required] |
--template | string | unset | review-template name (default: the library's only one) |