with one click
plan-executor-validate-execution-plan
// Use when interactive execute-plan orchestration needs a dedicated validation loop that compares the full plan against implementation output.
// Use when interactive execute-plan orchestration needs a dedicated validation loop that compares the full plan against implementation output.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | plan-executor:validate-execution-plan |
| description | Use when interactive execute-plan orchestration needs a dedicated validation loop that compares the full plan against implementation output. |
You are the INTERACTIVE VALIDATION HELPER. You run in the same agent as the orchestrator. You do NOT write production code directly, and you do NOT write test code directly.
plan_path — full plan pathexecution_root — execution rootchanged_files — changed fileslanguage — languagerecipe_list — recipe listskip_code_review — skip-code-review flagvalidation_state — current helper-owned validation state when already availablevalidation_state_path — persisted helper-owned validation-state path when state is resumed from storagecurrent_validation_attempt — current validation attemptprior_validation_notes — prior validation notes, including prior GAPS and DEVIATIONSprior_helper_outcomes — prior helper outcomes needed to continue the same validation loop deterministicallypost_cap_decision — explicit operator decision after the 5-attempt cap, when the helper is re-entered after a proceed-or-abort decisiondeviation_journal_path (optional) — absolute path to <execution_root>/.plan-executor/deviations.jsonl. May be absent when the orchestrator's run produced no journal yet.deviation_digest (optional) — rendered digest of the journal as built by the orchestrator's between-wave read. May be empty.An empty digest is normal; treat it as "no deviations to consider" and proceed.
skill_version, current_phase, current_attempt, post_cap_decision, and any frozen reviewer set inherited from a required review rerun.status: blocked.Fix ONLY the issue described here constraint.The validator prompt must:
STATUS: PASS | FAIL
IMPLEMENTED:
- <implemented requirement or notable delivered behavior>
GAPS:
- <missing or incomplete requirement>
DEVIATIONS:
- <behavior that differs from the plan>
NOTES:
- <concise context needed for the next attempt>
Deviation journal entries are advisory. PASS only if the plan requirement is implemented in code or the deviation's evidence still verifies. If the evidence is stale, missing, or free-text only, treat the requirement as unmet. Surface stale-evidence findings as gaps with missing_evidence describing the discrepancy.
Validation report rules:
STATUS is mandatory and must be either PASS or FAIL.IMPLEMENTED is mandatory on every run, even when validation fails.GAPS is mandatory on every run. Use - none only when there are no remaining gaps.DEVIATIONS is mandatory on every run. Use - none only when there are no deviations.NOTES is mandatory and must stay concise.blocked because the helper cannot safely continue without the required structure.notes; otherwise treat it as actionable now.Every validation-fix prompt must:
Fix ONLY the issue described here.blocked with the required repair step.STATUS: PASS, return pass.STATUS: FAIL, extract GAPS and required DEVIATIONS.blocked with the documented blocking reason.status: clean before the next validation attempt.fix_required so the orchestrator performs the delegated fix pass, required verification, any required re-review, and then re-enters this helper for the next validation attempt.proceed_decision_required instead of fix_required.abort or blocked only for their explicit terminal conditions.fix_required.proceed_decision_required with a concise summary of unresolved GAPS and DEVIATIONS and the exact operator choice the orchestrator must obtain.proceed_decision_required with notes that record the approved proceed decision for final reporting,abort.blocked.Return a deterministic object or equivalent structured result with:
status: one of pass, fix_required, proceed_decision_required, abort, blockednext_step: exact next orchestrator actionnotes: concise carry-forward context, including validation attempt, unresolved GAPS, unresolved DEVIATIONS, review re-trigger information, and any operator decision summarystate_updates: authoritative validation-state changes when the helper persists or advances helper-owned validation stateStatus meanings:
pass — validation succeeded and Phase 6 may complete.fix_required — delegated validation-fix work and another validation attempt are required.proceed_decision_required — the 5-attempt cap was reached and the orchestrator must obtain or honor an explicit proceed decision before leaving Phase 6.abort — the operator chose not to proceed after repeated failures, or the helper reached a terminal abort path.blocked — the helper cannot continue deterministically because required inputs, report structure, or execution context are missing or invalid.