Entropyk/_bmad/bmb/workflows/agent/steps-v/v-01-load-review.md
Sepehr 1fdfefe631 Initial commit: BMAD framework + Story 1.1 Component Trait Definition
Features:
- BMAD (Build Modular AI-driven Development) framework setup
- BMM, BMB, CIS, Core modules configured
- Story 1.1: Component trait with error handling
- Workspace Cargo.toml with components crate
- 31 tests passing (19 unit + 12 doc tests)

Technical:
- Component trait with compute_residuals, jacobian_entries, n_equations
- ComponentError enum with thiserror
- JacobianBuilder for sparse matrix construction
- Object-safe trait supporting Box<dyn Component>
- Comprehensive documentation and examples
2026-02-14 13:54:04 +01:00

3.8 KiB

name description nextStepFile validationReport agentMetadata advancedElicitationTask partyModeWorkflow
v-01-load-review Load agent and initialize validation report ./v-02a-validate-metadata.md {bmb_creations_output_folder}/validation-report-{agent-name}.md ../data/agent-metadata.md {project-root}/_bmad/core/workflows/advanced-elicitation/workflow.xml {project-root}/_bmad/core/workflows/party-mode/workflow.md

Validate Step 1: Load Agent for Review

STEP GOAL:

Load the existing agent file and initialize a validation report to track all findings.

MANDATORY EXECUTION RULES:

  • 📖 CRITICAL: Read the complete step file before taking any action
  • YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config {communication_language}

Step-Specific Rules:

  • 🎯 Load the complete agent file
  • 📊 Create validation report tracking document
  • 🚫 FORBIDDEN to proceed without user confirming correct agent

EXECUTION PROTOCOLS:

  • 🎯 Load the complete agent YAML file
  • 📊 Parse and display agent summary
  • 💾 Create validation report document
  • 🚫 FORBIDDEN to proceed without user confirmation

MANDATORY SEQUENCE

CRITICAL: Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.

1. Load Agent File

Read the complete YAML from the agent file path provided by the user.

Check the metadata to determine agent configuration:

  • module: stand-alone or module code (bmm, cis, bmgd, etc.)
  • hasSidecar: true or false

2. Display Agent Summary

## Agent to Validate: {agent-name}

**Configuration:** Agent {WITH|WITHOUT} sidecar
**hasSidecar:** {true|false}
**module:** {module-value}
**File:** {agent-file-path}

### Current Structure:

**Persona:** {character count} characters
**Commands:** {count} commands
**Critical Actions:** {count} actions (if hasSidecar: true)
**Sidecar:** {present|not present}

3. Create Validation Report

Initialize the validation report:

---
agentName: '{agent-name}'
hasSidecar: {true|false}
module: '{module-value}'
agentFile: '{agent-file-path}'
validationDate: '{YYYY-MM-DD}'
stepsCompleted:
  - v-01-load-review.md
---

# Validation Report: {agent-name}

## Agent Overview

**Name:** {agent-name}
**hasSidecar:** {true|false}
**module:** {module-value}
**File:** {agent-file-path}

---

## Validation Findings

*This section will be populated by validation steps*

Write to {validationReport}.

4. Present MENU OPTIONS

Display: "Is this the correct agent to validate and is it identified as the proper configuration? [A] Advanced Elicitation [P] Party Mode [C] Yes, Begin Validation"

Menu Handling Logic:

  • IF A: Execute {advancedElicitationTask}, and when finished redisplay the menu
  • IF P: Execute {partyModeWorkflow}, and when finished redisplay the menu
  • IF C: Save to {validationReport}, then only then load, read entire file, then execute {nextStepFile}
  • IF Any other comments or queries: help user respond then Redisplay Menu Options

EXECUTION RULES:

  • ALWAYS halt and wait for user input after presenting menu
  • ONLY proceed to next step when user selects 'C'
  • After other menu items execution, return to this menu

CRITICAL STEP COMPLETION NOTE

ONLY WHEN [C continue option] is selected and [agent loaded and report created], will you then load and read fully {nextStepFile} to execute and begin validation.


🚨 SYSTEM SUCCESS/FAILURE METRICS

SUCCESS:

  • Agent file loaded successfully
  • Validation report created
  • User confirmed correct agent

SYSTEM FAILURE:

  • Failed to load agent file
  • Report not created
  • Proceeded without user confirmation

Master Rule: Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.