wu:done
wu:done
Section titled “wu:done”Complete WU (merge, stamp, cleanup) from main
Landing modes: the default is a direct, atomic fast-forward merge of the lane branch to main.
Pass --create-pr (alias --pr-mode) to land through a pull request instead: the lane branch
is pushed, a PR is opened with gh, and the direct merge is never attempted. After the PR
merges, finalize the record with pnpm wu:done --id WU-XXX --already-merged.
--already-merged never skips verification. It proves content against the tracking ref
(origin/main): every declared code_path must be present there (already-landed, otherwise
never-implemented refuses), and any lane commits not yet on the tracking ref may touch only
lifecycle metadata for this WU (event ledger, backlog, status, the WU spec) or paths whose
content is already identical. A real source delta is refused with the WU-2896 directive error;
there is no flag that bypasses the proof.
Options:
| Flag | Description | Required |
|---|---|---|
--handoff-receipt <receipt> | Consume a durable wu:brief lifecycle handoff receipt for cross-session authority | No |