Skip to content

wu:recover

← Back to CLI Commands

Recover WU state, including restoring missing active worktrees

pnpm wu:recover --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
-a, --action &lt;action&gt;Recovery action: resume, restore, reset, nuke, cleanup, reconcile (non-destructively unstage a proven rolled-back completion tuple)No
-f, --forceRequired for destructive actions (reset, nuke)No
--discard-changesAllow reset to proceed even if worktree has uncommitted changesNo
-j, --jsonOutput as JSONNo
--override-ownerOverride ownership check (requires —reason)No
-r, --reason &lt;reason&gt;Reason for action (required with —skip-gate, —override-owner)No
--handoff-receipt &lt;receipt&gt;Consume a durable wu:brief handoff receipt for cross-session recoveryNo

← Back to CLI Commands