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. Required except on wu:create, which auto-generates the next sequential ID when omitted.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) from the effective spec, including pending wu:edit changesNo
--review-statusShow the typed independent-review state (ready, awaiting-review, changes-required, blocked, complete) and its next action, judged on the effective spec including pending wu:edit changesNo
--set-independent-review &lt;mode&gt;Configure the WU’s independent-review mode (auto | required | none). Recorded through the governed edit path on the effective spec, so other pending wu:edit changes are kept; 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 operator’s signed lfdg2 grantNo
--scope-key &lt;key&gt;The reviewer role session’s registered ownership scope keyNo
--grant &lt;token&gt;The operator-issued, single-use lfdg2 reviewer grant, signed with an Ed25519 private key held outside every agent session and verified against the system trust anchor installed on the host (a per-user trust file never satisfies a required review). Consumed exactly once when a verdict is recorded.No
-j, --jsonEmit the typed result as JSONNo

← Back to CLI Commands