oz_shutdown
Wind down a project and keep it resumable: broadcast stop, stash every uncommitted change across worktrees, and record each stash by feature. Use force to release open claims when killing processes.
Instructions
Wind the project down and leave it resumable. Broadcasts stop, then stashes every uncommitted change in every worktree — untracked files included — and records where, tying each stash to the feature it belongs to. Does NOT wait for workers: waiting on one that may not poll again turns a wind-down into a vigil, and anything written afterwards is caught by the next run. Use force:true to also release every open claim, which is the 'kill it' form — deliberate, because releasing a live worker's claim invites two workers onto one feature.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Directory identifying the project and the tree. Defaults to this session's working directory, which in a git worktree is that worktree. | |
| note | No | Why, recorded on the directive. | |
| actor | No | ||
| force | No | Also release every open claim. For when processes are being killed rather than asked to stop. |