wu:review
wu:review
Section titled “wu:review”Review a WU worktree, and inspect, configure or record its independent review
Options:
| Flag | Description | Required |
|---|---|---|
-i, --id <wuId> | Work Unit ID. Required except on wu:create, which auto-generates the next sequential ID when omitted. | Yes |
-w, --worktree <path> | Set the local worktree path; claims verify its confined realpath and exact Git registration | No |
--name-only | Show only changed file paths | No |
--stat | Show diffstat output | No |
--patch | Show full patch output | No |
--contract | Inspect the resolved worker execution contract (independent-review mode, source, reasons, digest) from the effective spec, including pending wu:edit changes | No |
--review-status | Show 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 changes | No |
--set-independent-review <mode> | 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 |
--record | Record an independent-review verdict against the current candidate (requires —verdict, —reviewer-session, —scope-key and —grant) | No |
--verdict <verdict> | Reviewer verdict to record: approved or changes-required | No |
--finding <text> | A review finding. Repeat for each finding. | No |
--reviewer-session <id> | The reviewer role session named in the operator’s signed lfdg2 grant | No |
--scope-key <key> | The reviewer role session’s registered ownership scope key | No |
--grant <token> | 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, --json | Emit the typed result as JSON | No |