Files
L-Ami-Fiduciaire/_bmad/tea/workflows/testarch/nfr-assess/steps-c/step-03-gather-evidence.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

3.1 KiB

name, description, nextStepFile, outputFile
name description nextStepFile outputFile
step-03-gather-evidence Collect evidence for each NFR category ./step-04-evaluate-and-score.md {test_artifacts}/nfr-assessment.md

Step 3: Gather Evidence

STEP GOAL

Collect measurable evidence to evaluate each NFR category.

MANDATORY EXECUTION RULES

  • 📖 Read the entire step file before acting
  • Speak in {communication_language}

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. Evidence Sources

Collect evidence for:

  • Performance: load tests, metrics, response time data
  • Security: scans, auth tests, vuln reports
  • Reliability: error rates, burn-in runs, failover tests
  • Maintainability: test quality, code health signals
  • Other categories: logs, monitoring, DR drills, deployability checks

2. Browser-Based Evidence Collection (if tea_browser_automation is cli or auto)

Fallback: If CLI is not installed, fall back to MCP (if available) or skip browser-based evidence collection.

For performance and security categories, CLI can gather live evidence:

Performance evidence (page load, response times):

  1. playwright-cli -s=tea-nfr open <target_url>
  2. playwright-cli -s=tea-nfr network → capture response times and payload sizes
  3. playwright-cli -s=tea-nfr screenshot --filename={test_artifacts}/nfr/perf-<page>.png
  4. playwright-cli -s=tea-nfr close

Session Hygiene: Always close sessions using playwright-cli -s=tea-nfr close. Do NOT use close-all — it kills every session on the machine and breaks parallel execution.

Store artifacts under {test_artifacts}/nfr/


3. Evidence Gaps

If evidence is missing for a category, mark that category as CONCERNS.


4. Save Progress

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

  • If {outputFile} does not exist (first save), create it using the workflow template (if available) with YAML frontmatter:

    ---
    stepsCompleted: ['step-03-gather-evidence']
    lastStep: 'step-03-gather-evidence'
    lastSaved: '{date}'
    ---
    

    Then write this step's output below the frontmatter.

  • If {outputFile} already exists, update:

    • Add 'step-03-gather-evidence' to stepsCompleted array (only if not already present)
    • Set lastStep: 'step-03-gather-evidence'
    • Set lastSaved: '{date}'
    • Append this step's output to the appropriate section of the document.

Load next step: {nextStepFile}

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