FAQ / Troubleshooting
aynig run does nothing
Common causes:
- There is no
dwp-state:trailer inHEAD. - The runner is scanning branches that have no actionable state.
- Your command for the state does not exist.
Checks:
aynig statusConfirm:
dwp-stateis presentcommand: exists
”command missing”
Your state foo must have an executable file:
.dwp/command/fooMake it executable:
chmod +x .dwp/command/foo“permission denied” running a command
- Make sure the command is executable.
- Ensure the script has a valid shebang:
#!/usr/bin/env bashWorktrees keep accumulating
- The default worktree directory is
.worktrees/. - It is meant to be ephemeral and is ignored by default.
If you see leftovers after crashes, clean them:
rm -rf .worktrees/Then run again.
”working” commits appear in history
This is the lease mechanism. The runner uses dwp-state: working to claim a branch.
See: Run and Operate → Leases and Liveness.
My workflow is stuck in working
A runner may have crashed. If the lease is expired, another runner can take over.
- Inspect the latest commit trailers (
dwp-run-id,dwp-lease-seconds). - Decide whether to continue or mark it stalled.
See: Guides → Ops Workflow Pack (stalled recovery).