Files
L-Ami-Fiduciaire/_bmad/tea/workflows/testarch/automate/steps-c/step-04-validate-and-summarize.md
Saad Ibn-Ezzoubayr 35545c2a8f feat: L'Ami Fiduciaire V1.0.0 — full codebase with Story 0.1 complete
Initial commit of the L'Ami Fiduciaire SaaS platform built on Laravel 12,
Vue 3, Inertia.js 2, and Tailwind CSS 4.

Story 0.1 (rename folders to declarations in database) is implemented and
code-reviewed: migration, rollback, and 6 Pest tests all passing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 23:33:10 +00:00

2.8 KiB

name, description, outputFile
name description outputFile
step-04-validate-and-summarize Validate outputs and produce automation summary {test_artifacts}/automation-summary.md

Step 4: Validate & Summarize

STEP GOAL

Validate generated outputs and produce a concise automation summary.

MANDATORY EXECUTION RULES

  • 📖 Read the entire step file before acting
  • Speak in {communication_language}
  • Validate against the checklist before completion

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. Validate

Use checklist.md to validate:

  • Framework readiness
  • Coverage mapping
  • Test quality and structure
  • Fixtures, factories, helpers
  • CLI sessions cleaned up (no orphaned browsers)
  • Temp artifacts stored in {test_artifacts}/ not random locations

Fix gaps before proceeding.


2. Polish Output

Before finalizing, review the complete output document for quality:

  1. Remove duplication: Progressive-append workflow may have created repeated sections — consolidate
  2. Verify consistency: Ensure terminology, risk scores, and references are consistent throughout
  3. Check completeness: All template sections should be populated or explicitly marked N/A
  4. Format cleanup: Ensure markdown formatting is clean (tables aligned, headers consistent, no orphaned references)

3. Summary Output

Write {outputFile} including:

  • Coverage plan by test level and priority
  • Files created/updated
  • Key assumptions and risks
  • Next recommended workflow (e.g., test-review or trace)

4. Save Progress

Save this step's accumulated work to {outputFile}.

  • If {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.

  • If {outputFile} already exists, update:

    • Add 'step-04-validate-and-summarize' to stepsCompleted array (only if not already present)
    • Set lastStep: 'step-04-validate-and-summarize'
    • Set lastSaved: '{date}'
    • Append this step's output to the appropriate section.

🚨 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.