Help us improve
Share bugs, ideas, or general feedback.
From clavain
Execute a written implementation plan in a separate session with review checkpoints.
npx claudepluginhub mistakeknot/interagency-marketplace --plugin clavainHow this skill is triggered — by the user, by Claude, or both
Slash command
/clavain:executing-plansThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
<!-- compact: SKILL-compact.md — if it exists in this directory, load it instead of following the full instructions below. The compact version contains the same batch execution and interserve dispatch protocol. -->
Guides technical evaluation of code review feedback: read fully, restate for understanding, verify against codebase, respond with reasoning or pushback before implementing.
Share bugs, ideas, or general feedback.
Load plan, review critically, execute tasks in batches, report for review between batches. Batch execution with checkpoints for architect review.
Announce at start: "I'm using the executing-plans skill to implement this plan."
Check for .exec.yaml manifest (replace plan's .md extension). If found → Step 2C (priority).
Check interserve flag: [ -f "$(pwd)/.claude/clodex-toggle.flag" ] && echo INTERSERVE_ACTIVE || echo DIRECT_MODE
Fallback chain:
Dispatch tasks to Codex agents for parallelization.
clavain:interserve:
/tmp/codex-task-<name>.md (goal, files, build/test commands, verdict suffix).verdict file first (7 lines) — STATUS pass → trust and move on; warn/fail → read full output.verdict → fall back to full outputDefault: first 3 tasks per batch. Per task: mark in_progress → follow steps exactly → run verifications → mark completed.
ORCHESTRATE=$(find ~/.claude/plugins/cache -path '*/clavain/*/scripts/orchestrate.py' 2>/dev/null | head -1)
[ -z "$ORCHESTRATE" ] && ORCHESTRATE=$(find ~/projects -name orchestrate.py -path '*/clavain/scripts/*' 2>/dev/null | head -1)
python3 "$ORCHESTRATE" --validate "$MANIFEST" — on failure, report errors, fall back to 2A/2Bpython3 "$ORCHESTRATE" --dry-run "$MANIFEST" — present wave breakdown (parallelism, cross-stage deps, tasks missing files)python3 "$ORCHESTRATE" "$MANIFEST" --plan "$PLAN_PATH" --project-dir "$(pwd)" with timeout: 600000pass → trust; warn → read output, assess; fail/error → offer retry/manual/skip; skipped → report dep failureAfter each task (any mode): parse <verify>...</verify> block for run:/expect: pairs.
expect: exit 0 — must exit 0; expect: contains "string" — output must include stringVetting signal write — when all per-task verifications pass for a plan that is part of a tracked bead, persist vetting state so the auto-proceed authz gate can evaluate at ship time (see docs/canon/policy-merge.md):
if [[ -n "${CLAVAIN_BEAD_ID:-}" ]]; then
bd set-state "$CLAVAIN_BEAD_ID" vetted_at="$(date +%s)" --reason "executing-plans task verified" 2>/dev/null || true
bd set-state "$CLAVAIN_BEAD_ID" vetted_sha="$(git rev-parse HEAD)" --reason "executing-plans task verified" 2>/dev/null || true
bd set-state "$CLAVAIN_BEAD_ID" tests_passed="true" --reason "executing-plans task verified" 2>/dev/null || true
bd set-state "$CLAVAIN_BEAD_ID" sprint_or_work_flow="true" --reason "executing-plans task verified" 2>/dev/null || true
fi
Per batch: what was implemented | verify results (pass/fail) | deviations (Rules 1-3) | deferred items | "Ready for feedback."
Apply feedback → next batch → repeat until complete.
After all tasks, check for ## Must-Haves in plan header:
Report results:
Must-Have Validation:
Truths: 3/3 verified
Artifacts: 2/2 exist with exports
Key Links: 1/2 — Registration endpoint missing validate_email call
Failures are advisory — user decides. No Must-Haves section → skip silently.
Announce: "I'm using the landing-a-change skill to complete this work." → clavain:landing-a-change (required).
Track all deviations for batch report.
Priority: Rule 4 → STOP | Rules 1-3 → fix automatically | Unsure → treat as Rule 4.
Scope: Only auto-fix issues caused by the current task's changes. Pre-existing warnings/failures in unrelated files → log to deferred-items.md, do NOT fix.
Fix attempt limit: 3 attempts per task. After 3, document in "Deferred Issues" and continue.
Analysis paralysis guard: 5+ consecutive Read/Grep/Glob without Edit/Write/Bash → STOP. State why in one sentence, then write code or report "blocked" with specific missing info.
Stop immediately and ask when: mid-batch blocker | critical plan gaps | unclear instruction | repeated verification failure. Never start on main/master without explicit user consent.