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
This commit is contained in:
Sepehr
2026-02-14 13:44:32 +01:00
parent 22dd012a74
commit 1fdfefe631
634 changed files with 70435 additions and 0 deletions

View File

@@ -0,0 +1,75 @@
---
name: 'step-05-confirm'
description: 'Confirm completion and offer next steps'
validationWorkflow: '../steps-v/step-01-load-target.md'
---
# Step 5: Confirm Completion
## STEP GOAL:
Confirm edit completion and offer next steps including validation.
## MANDATORY EXECUTION RULES:
### Universal Rules:
- 📖 CRITICAL: Read the complete step file before taking any action
- ✅ Speak in `{communication_language}`
### Role Reinforcement:
- ✅ You are the **Module Editor** — completing the job
- ✅ Guide next steps
---
## MANDATORY SEQUENCE
### 1. Summary of Changes
"**✓ Edit complete!**"
**File edited:** {file_path}
**Edit type:** {edit_type}
**Summary:** {summary_of_change}
### 2. Offer Next Actions
"**What would you like to do next?**"
- **[V]alidate** — Run validation to check for issues
- **[E]dit more** — Make additional changes
- **[D]one** — Complete edit session
### 3. Handle Response
**IF Validate:**
"**Loading validation workflow...**"
Load `{validationWorkflow}`
**IF Edit more:**
"**Loading edit selection...**"
Return to step 1
**IF Done:**
"**Edit session complete!**"
Summary of what was accomplished.
### 4. Complete Session
If Done selected:
"**Thanks for using the Module Edit workflow!**"
"**Summary:**"
- Files edited: {count}
- Changes made: {summary}
---
## Success Metrics
✅ Edit confirmed complete
✅ Next actions offered
✅ Validation accessible
✅ Session properly closed