Orchestrator-Worker implementation using Codex CLI in isolated worktree with Docker support
/implement <feature-name>
Prerequisites:
/review-plan <feature-name> completed with SHIP verdictVerify prerequisites:
.dev/specs/{feature-name}/plan.md exists.dev/specs/{feature-name}/reviews/plan-review.md exists with SHIP verdictgit worktree list)If worktree missing, create it:
git worktree add ../{feature-name}-wt -b feat/{feature-name}
Extract ordered task list from plan.md. Build execution sequence respecting dependencies.
Load docs/coding-principles.md — include its key rules as context when delegating to workers.
For each task in order:
Option A — Docker isolated (preferred):
docker run --rm --network none \
-v "{worktree}:/workspace" \
-w /workspace {base-image} \
codex exec -m gpt-5.3-codex -c model_reasoning_effort=xhigh "{task-prompt}"
Option B — Direct execution (fallback): If Docker unavailable, execute in worktree directly:
After each task:
cd {worktree} && git add -A && git commit -m "feat({feature}): {task title}"
.dev/state.jsonAfter all tasks:
git push -u origin feat/{feature-name}.dev/state.json with completion statusscripts/notify.sh