name: ‘step-04-validate-and-summarize’ description: ‘Validate outputs and produce automation summary’
Validate generated outputs and produce a concise automation summary.
{communication_language}CRITICAL: Follow this sequence exactly. Do not skip, reorder, or improvise.
Use checklist.md to validate:
{test_artifacts}/ not random locationsFix gaps before proceeding.
Before finalizing, review the complete output document for quality:
Write {outputFile} including:
test-review or trace)Save this step’s accumulated work to {outputFile}.
{outputFile} does not exist (first save), create it with YAML frontmatter: ---
stepsCompleted: ['step-04-validate-and-summarize']
lastStep: 'step-04-validate-and-summarize'
lastSaved: '{date}'
---
Then write this step’s output below the frontmatter.
{outputFile} already exists, update:
'step-04-validate-and-summarize' to stepsCompleted array (only if not already present)lastStep: 'step-04-validate-and-summarize'lastSaved: '{date}'Run: python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete
If the resolver succeeds and returns a non-empty workflow.on_complete, execute that value as the final terminal instruction before exiting.
If the resolver fails, returns no output, or resolves an empty value, skip the hook and exit normally.