Prompt file imported from AlekseiChirkovVention/vention-ai-challenge (
.windsurf/workflows/pav-check.md). Copyright stays with the author.
Invocation: /pav-check <path-to-atomic-description>
Called by: /phase-atomic-validation as Step 1.
Atomic task directory = parent directory of the provided description.md.
Parent task directory = one level above.
Guard
- Read parent
state.md. Locate the## Subtask Progressblock for this T-XX. - If block has
atomic-validation: complete→ stop: "Atomic validation already complete. Re-running will overwrite the parent block. Confirm to proceed? (yes/no)" Wait for explicit confirmation. - If
atomic-executionis notcompletein the block → stop: "Atomic execution must be completed first. Run /phase-atomic-execution ." - Otherwise → continue.
Instructions
- Read
T-XX/description.md— extract## Goal,## Acceptance Criteria. - Read parent
state.md— extract## Solution Design → Decision,### Off-limits,### Invariants. - Read parent
state.md → ## Subtask Progressblock for this T-XX — extractlast_action,notesfor context on what was implemented. - Read the files that were changed (derived from
last_action/notes; if unclear — ask the user) with focus on behavior.
Check completeness:
- Each Acceptance Criterion from
T-XX/description.md: met / not met / partial. Mark[INCOMPLETE]if not fully met.
Find bugs in changed files:
- Edge cases: null values, empty collections, repeated calls.
- Error handling: all error paths explicitly handled, no silent swallowing.
- Interface contracts: public interfaces in changed files respected.
- Approach consistency: implementation matches parent
## Solution Design → Decision. - Invariants: none violated.
For each bug: file, description, reproducible scenario, severity ([CRITICAL] / [MAJOR] / [MINOR]).
Verdict:
- DONE: all criteria met, no
[CRITICAL]or[MAJOR]bugs. - NEEDS WORK: has
[INCOMPLETE],[CRITICAL], or[MAJOR]bugs.
Record the verdict in the parent state.md → ## Subtask Progress block for this T-XX:
- On DONE: do NOT mark
atomic-validation: completeyet (that happens in/pav-close). Updatelast_action: pav-check DONEand preservenotes. - On NEEDS WORK: set
atomic-validation: failed, and innotes:list the specific Acceptance Criteria that were not met, plus[CRITICAL]/[MAJOR]bug summary. Do NOT create fix-tasks automatically — surface findings to the user first.
If NEEDS WORK → present the list of unmet criteria and bugs to the user. Stop. Do not proceed to Step 2.
Report: "Step 1 (Final Check) complete. Verdict: DONE / NEEDS WORK."