Skip to content

wu:review

← Back to CLI Commands

Review a WU worktree, and inspect, configure or record its independent review

pnpm wu:review --id <wuId>

Options:

FlagDescriptionRequired
-i, --id &lt;wuId&gt;Work Unit ID (e.g., WU-123). If not provided, auto-generates next sequential ID.Yes
-w, --worktree &lt;path&gt;Set the local worktree path; claims verify its confined realpath and exact Git registrationNo
--name-onlyShow only changed file pathsNo
--statShow diffstat outputNo
--patchShow full patch outputNo
--contractInspect the resolved worker execution contract (independent-review mode, source, reasons, digest)No
--review-statusShow the typed independent-review state (ready, awaiting-review, changes-required, blocked, complete) and its next actionNo
--set-independent-review &lt;mode&gt;Configure the WU’s independent-review mode (auto | required | none). Recorded through the governed edit path; the effective policy is still resolved, so an explicit none cannot weaken an active required floor.No
--recordRecord an independent-review verdict against the current candidate (requires —verdict, —reviewer-session, —scope-key and —grant)No
--verdict &lt;verdict&gt;Reviewer verdict to record: approved or changes-requiredNo
--finding &lt;text&gt;A review finding. Repeat for each finding.No
--reviewer-session &lt;id&gt;The reviewer role session named in the external issuer’s signed grantNo
--scope-key &lt;key&gt;The reviewer role session’s registered ownership scope keyNo
--grant &lt;token&gt;The externally signed, single-use reviewer grant. Consumed exactly once when a verdict is recorded.No
-j, --jsonEmit the typed result as JSONNo

← Back to CLI Commands