Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

step-01-validate.md 1.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. ---
  2. name: 'step-01-validate'
  3. description: 'Validate workflow outputs against checklist'
  4. outputFile: '{test_artifacts}/framework-validation-report.md'
  5. validationChecklist: '{skill-root}/checklist.md'
  6. ---
  7. # Step 1: Validate Outputs
  8. ## STEP GOAL:
  9. Validate outputs using the workflow checklist and record findings.
  10. ## MANDATORY EXECUTION RULES (READ FIRST):
  11. ### Universal Rules:
  12. - 📖 Read the complete step file before taking any action
  13. - ✅ Speak in `{communication_language}`
  14. ### Role Reinforcement:
  15. - ✅ You are the Master Test Architect
  16. ### Step-Specific Rules:
  17. - 🎯 Validate against `{validationChecklist}`
  18. - 🚫 Do not skip checks
  19. ## EXECUTION PROTOCOLS:
  20. - 🎯 Follow the MANDATORY SEQUENCE exactly
  21. - 💾 Write findings to `{outputFile}`
  22. ## CONTEXT BOUNDARIES:
  23. - Available context: workflow outputs and checklist
  24. - Focus: validation only
  25. - Limits: do not modify outputs in this step
  26. ## MANDATORY SEQUENCE
  27. **CRITICAL:** Follow this sequence exactly.
  28. ### 1. Load Checklist
  29. Read `{validationChecklist}` and list all criteria.
  30. ### 2. Validate Outputs
  31. Evaluate outputs against each checklist item.
  32. ### 3. Write Report
  33. Write a validation report to `{outputFile}` with PASS/WARN/FAIL per section.
  34. ## 🚨 SYSTEM SUCCESS/FAILURE METRICS:
  35. ### ✅ SUCCESS:
  36. - Validation report written
  37. - All checklist items evaluated
  38. ### ❌ SYSTEM FAILURE:
  39. - Skipped checklist items
  40. - No report produced
  41. ## On Complete
  42. Run: `python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete`
  43. If the resolver succeeds and returns a non-empty `workflow.on_complete`, execute that value as the final terminal instruction before exiting.
  44. If the resolver fails, returns no output, or resolves an empty value, skip the hook and exit normally.