Usage:
/dwp-execute [plan] [trust]
dwp-execute
Execute an existing Deep Work Plan task by task.
/dwp-execute - Plan
- Task → validate → commit
- Completed, committed work
What it does
dwp-execute runs an existing plan task by task through the deterministic record layer. It resolves the target plan, evaluates dependencies, executes each task in declared order, runs validation gates, and records immutable progress.
Usage
/dwp-execute # execute latest plan
/dwp-execute [plan] # by exact folder, id, or slug
/dwp-execute [plan] trust # unattended execution without per-task prompts
Modes
- Guided (default): prompts for confirmation between tasks, allowing you to review evidence and decisions at every task boundary.
- Trust (
auto): appendingtrustruns eligible tasks sequentially to completion without pausing for routine confirmation, stopping only when genuinely blocked (escalation classes C1–C7).
Behavior
- Plan resolution: resolves by exact folder name, numeric ID, unique slug, or
latest(the plan with highest numeric ID). - Ledger loop: runs
ledger.py readyto evaluate dependency DAG and invariants,ledger.py startto verify prerequisites, andledger.py gateto execute validation commands and mintobservedevidence. - Guarded completion:
ledger.py completeenforces zero-test controls, fresh evaluation of invariants, and task-local skills and documentation decisions. - Intra-plan delegation: tasks marked
parallel_safein v7 contracts can delegate to subagents via headless (ak runin a worktree) or interactive (herdrpane) transports. Results remainasserteduntil observed by the plan’s gate runner. - Capacity checks: evaluates remaining account headroom at task boundaries before dispatch.
- Final Review: terminates in a mandatory five-part closing task (security pass with required local review, final-state validation, skills reconciliation, documentation reconciliation, completion).
Aliases
dwp:execute