Cookbook
Create and complete a bug WU
Section titled “Create and complete a bug WU”Work in parallel
Section titled “Work in parallel”Parallelize independent WUs across lanes or disjoint paths permitted by the configured WIP limit:
Phase numbers do not impose execution order. Use blocked_by relationships when one WU must wait
for another.
Block, release, and resume
Section titled “Block, release, and resume”If a worktree is missing while its active lane branch remains intact, restore it without resetting the WU:
Rebase a long-running WU
Section titled “Rebase a long-running WU”Use the governed command. It refreshes the changed-file baseline after a successful rebase so unrelated files landed by other WUs do not contaminate completion gates.
Do not force-push a lane branch or hand-edit baseline_main_sha.
Diagnose gates
Section titled “Diagnose gates”Only a specifically named, configured skippable gate with matching main-branch evidence can be skipped:
Capture an unrelated discovery
Section titled “Capture an unrelated discovery”Workers capture discoveries for triage; they do not create an unreviewed WU from inside the active worker session:
Preserve context
Section titled “Preserve context”Configure lanes and gates
Section titled “Configure lanes and gates”Do not copy a legacy flat workspace.yaml block. Use managed commands and fully qualified pack
keys:
See Workspace Spec for the distinction between kernel lanes and Software Delivery lane definitions.
Clean abandoned work safely
Section titled “Clean abandoned work safely”Cleanup is lease-aware and records recoverable tracked removals. Raw git worktree prune is not
the WU lifecycle authority.
Quick reference
Section titled “Quick reference”| Task | Command |
|---|---|
| Discover commands | pnpm lumenflow:commands |
| Check WU | pnpm wu:status --id WU-XXX |
| Prepare completion | pnpm wu:prep --id WU-XXX |
| Complete from main | pnpm wu:done --id WU-XXX |
| Verify completion | pnpm wu:verify --id WU-XXX |
| Inspect lane | pnpm lane:list --json |
| Save context | pnpm mem:checkpoint --wu WU-XXX |
Next steps
Section titled “Next steps”- Work Units — authoring contract
- Troubleshooting — detailed recovery
- CLI Reference — generated command options