- Nx 22.7 monorepo (pnpm 11.1, TypeScript 5.9, Node 24) - apps/api: NestJS 11 (CJS conforme CODING-RULES.md PGD-DB-004) - apps/web: React 19 + Vite 8 (ESM) - libs/shared/api-interface: Zod contract base - Docker Compose dev: Postgres 18, Valkey 8, MinIO, Mailpit - WDS artifacts: - design-artifacts/A-Product-Brief/ (5 docs canônicos + 16 dialogs) - design-artifacts/B-Trigger-Map/ (hub + 4 personas + feature impact) - Stack canon: STACK.md v2.2 + CODING-RULES.md v2.0 + brand.md - AGENTS.md + README.md como entrada para devs/agentes Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
76 lines
1.8 KiB
Markdown
76 lines
1.8 KiB
Markdown
---
|
|
name: 'step-01-validate'
|
|
description: 'Validate workflow outputs against checklist'
|
|
outputFile: '{test_artifacts}/framework-validation-report.md'
|
|
validationChecklist: '{skill-root}/checklist.md'
|
|
---
|
|
|
|
# Step 1: Validate Outputs
|
|
|
|
## STEP GOAL:
|
|
|
|
Validate outputs using the workflow checklist and record findings.
|
|
|
|
## MANDATORY EXECUTION RULES (READ FIRST):
|
|
|
|
### Universal Rules:
|
|
|
|
- 📖 Read the complete step file before taking any action
|
|
- ✅ Speak in `{communication_language}`
|
|
|
|
### Role Reinforcement:
|
|
|
|
- ✅ You are the Master Test Architect
|
|
|
|
### Step-Specific Rules:
|
|
|
|
- 🎯 Validate against `{validationChecklist}`
|
|
- 🚫 Do not skip checks
|
|
|
|
## EXECUTION PROTOCOLS:
|
|
|
|
- 🎯 Follow the MANDATORY SEQUENCE exactly
|
|
- 💾 Write findings to `{outputFile}`
|
|
|
|
## CONTEXT BOUNDARIES:
|
|
|
|
- Available context: workflow outputs and checklist
|
|
- Focus: validation only
|
|
- Limits: do not modify outputs in this step
|
|
|
|
## MANDATORY SEQUENCE
|
|
|
|
**CRITICAL:** Follow this sequence exactly.
|
|
|
|
### 1. Load Checklist
|
|
|
|
Read `{validationChecklist}` and list all criteria.
|
|
|
|
### 2. Validate Outputs
|
|
|
|
Evaluate outputs against each checklist item.
|
|
|
|
### 3. Write Report
|
|
|
|
Write a validation report to `{outputFile}` with PASS/WARN/FAIL per section.
|
|
|
|
## 🚨 SYSTEM SUCCESS/FAILURE METRICS:
|
|
|
|
### ✅ SUCCESS:
|
|
|
|
- Validation report written
|
|
- All checklist items evaluated
|
|
|
|
### ❌ SYSTEM FAILURE:
|
|
|
|
- Skipped checklist items
|
|
- No report produced
|
|
|
|
## On Complete
|
|
|
|
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.
|