mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-16 11:49:18 +02:00
2.9 KiB
2.9 KiB
name, description, outputFile, progressFile
| name | description | outputFile | progressFile |
|---|---|---|---|
| step-05-generate-output | Generate output documents and validate against checklist | {test_artifacts}/test-design-epic-{epic_num}.md | {test_artifacts}/test-design-progress.md |
Step 5: Generate Outputs & Validate
STEP GOAL
Write the final test-design document(s) using the correct template(s), then validate against the checklist.
MANDATORY EXECUTION RULES
- 📖 Read the entire step file before acting
- ✅ Speak in
{communication_language} - ✅ Use the provided templates and output paths
EXECUTION PROTOCOLS:
- 🎯 Follow the MANDATORY SEQUENCE exactly
- 💾 Record outputs before proceeding
- 📖 Load the next step only when instructed
CONTEXT BOUNDARIES:
- Available context: config, loaded artifacts, and knowledge fragments
- Focus: this step's goal only
- Limits: do not execute future steps
- Dependencies: prior steps' outputs (if any)
MANDATORY SEQUENCE
CRITICAL: Follow this sequence exactly. Do not skip, reorder, or improvise.
1. Select Output Template(s)
System-Level Mode (Phase 3)
Generate two documents:
{test_artifacts}/test-design-architecture.mdusingtest-design-architecture-template.md{test_artifacts}/test-design-qa.mdusingtest-design-qa-template.md
Epic-Level Mode (Phase 4)
Generate one document:
{outputFile}usingtest-design-template.md- If
epic_numis unclear, ask the user
2. Populate Templates
Ensure the outputs include:
- Risk assessment matrix
- Coverage matrix and priorities
- Execution strategy
- Resource estimates (ranges)
- Quality gate criteria
- Any mode-specific sections required by the template
3. Validation
Validate the output(s) against:
checklist.mdin this workflow folder- CLI sessions cleaned up (no orphaned browsers)
- Temp artifacts stored in
{test_artifacts}/not random locations
If any checklist criteria are missing, fix before completion.
4. Completion Report
Summarize:
- Mode used
- Output file paths
- Key risks and gate thresholds
- Any open assumptions
5. Save Progress
Save this step's accumulated work to {progressFile}.
-
If
{progressFile}does not exist (first save), create it with YAML frontmatter:--- stepsCompleted: ['step-05-generate-output'] lastStep: 'step-05-generate-output' lastSaved: '{date}' ---Then write this step's output below the frontmatter.
-
If
{progressFile}already exists, update:- Add
'step-05-generate-output'tostepsCompletedarray (only if not already present) - Set
lastStep: 'step-05-generate-output' - Set
lastSaved: '{date}' - Append this step's output to the appropriate section of the document.
- Add
🚨 SYSTEM SUCCESS/FAILURE METRICS:
✅ SUCCESS:
- Step completed in full with required outputs
❌ SYSTEM FAILURE:
- Skipped sequence steps or missing outputs Master Rule: Skipping steps is FORBIDDEN.