Resume a Parked Weft Workflow
When weft runs unattended (WEFT_UNATTENDED=1, e.g. via shim) and a step's on_fail: block gate
fires, the workflow parks in waiting and emits wf.needs_human instead of failing/hanging. The
detached session stops cleanly. This skill resumes it once you've resolved the gate.
Steps
- See what it's waiting on:
bashpython3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" status --json
Look for "status": "waiting". The most recent wf.needs_human event names the parked step and the
reason:
bashpython3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" query --type wf.needs_human --last 1
-
Resolve whatever the gate flagged (fix the code, answer the question, etc.).
-
Resume — flips the workflow back to
runningat the parked step:
bashpython3 "${CLAUDE_PLUGIN_ROOT}/core/cli.py" resume "<what you resolved>"
- Advance the (now running) step as normal with
/wf-step complete(or/wf-run-stepif it has an executor).
Notes
resumeonly works on awaitingworkflow; it errors otherwise.waitingis a valid stop state, so a parked workflow never blocks a session from ending.- It survives
weft rebuild(replayed fromwf.needs_human/wf.resumed).


