7.0 KiB
Ultra-Deep Analysis: BMAD File Reference Integrity Review
Task Breakdown and Analysis Approach
Primary Objectives:
- Identify orphaned files not referenced in the BMAD method
- Find incorrect filenames and naming inconsistencies
- Locate missing references (files mentioned but don't exist)
- Discover ambiguous references and path resolution issues
Analysis Methodology:
- Phase 1: Complete file inventory mapping
- Phase 2: Reference extraction from all documentation
- Phase 3: Cross-validation and pattern analysis
- Phase 4: Multi-angle verification
- Phase 5: Final synthesis and recommendations
Critical Findings
1. Severe Configuration-File Mismatches
Naming Convention Conflicts:
The ide-bmad-orchestrator.cfg.md has systematic naming mismatches:
- Config says:
quality_enforcer_complete.md→ Actual file:quality_enforcer.md - Config says:
anti-pattern-detection.md→ Actual file:anti_pattern_detection.md - Config says:
quality-gate-validation.md→ Actual file:quality_gate_validation.md - Config says:
brotherhood-review.md→ Actual file:brotherhood_review.md
Pattern: Config uses hyphens, actual files use underscores.
Missing Task Files:
The following tasks are referenced in config but DO NOT EXIST:
technical-standards-enforcement.mdultra-deep-thinking-mode.mdarchitecture-udtm-analysis.mdtechnical-decision-validation.mdintegration-pattern-validation.mdrequirements-udtm-analysis.mdmarket-validation-protocol.mdevidence-based-decision-making.mdstory-quality-validation.mdsprint-quality-management.mdbrotherhood-review-coordination.md
2. Orphaned Files
Files that exist but are not referenced in primary configuration:
Personas:
bmad.md- Exists but not in orchestrator configsm.md- Config usessm.ide.mdinsteaddev-ide-memory-enhanced.md- Not referenced anywheresm-ide-memory-enhanced.md- Not referenced anywhere
Tasks:
workflow-guidance-task.md- No references foundudtm_task.md- Exists but config references different UDTM task names
Other:
performance-settings.yml- No clear integration pointstandard-workflows.txt- Referenced in config but usage unclear
3. Path Resolution Ambiguities
Checklist Mapping Issues:
checklist-mappings.yml references:
docs/checklists/architect-checklist.mddocs/checklists/frontend-architecture-checklist.md
But actual files are in:
bmad-agent/checklists/architect-checklist.mdbmad-agent/checklists/frontend-architecture-checklist.md
This suggests checklists should be copied to project docs/ directory, but this is not documented.
Duplicate Files:
memory-orchestration-task.mdappears in BOTH:bmad-agent/memory/bmad-agent/tasks/
4. Missing Directory Structure
Config references directories that don't exist:
quality-tasks: (agent-root)/quality-tasksquality-checklists: (agent-root)/quality-checklistsquality-templates: (agent-root)/quality-templatesquality-metrics: (agent-root)/quality-metrics
5. Web vs IDE Orchestrator Confusion
Two parallel systems without clear relationship:
ide-bmad-orchestrator.cfg.mdandide-bmad-orchestrator.mdweb-bmad-orchestrator-agent.cfg.mdandweb-bmad-orchestrator-agent.md
No documentation explains when to use which or how they relate.
6. Memory Enhancement Variants
Unclear relationship between:
dev.ide.mdvsdev-ide-memory-enhanced.mdsm.ide.mdvssm-ide-memory-enhanced.md
Are these replacements? Alternatives? The documentation doesn't clarify.
Recommendations for Improvement
1. Immediate Critical Fixes
-
Fix Configuration File References:
- Update all task references to match actual filenames
- Decide on hyphen vs underscore convention and apply consistently
- Remove references to non-existent files or create the missing files
-
Create Missing Quality Tasks:
- Either create the 11 missing task files
- Or update the configuration to remove these references
- Document which approach is taken
2. File Organization Improvements
-
Establish Clear Naming Convention:
- Document and enforce either hyphens OR underscores (not both)
- Apply convention to ALL files consistently
- Update all references accordingly
-
Resolve Duplicate Files:
- Decide which
memory-orchestration-task.mdis canonical - Delete or clearly differentiate the duplicate
- Update references
- Decide which
-
Create Missing Directories:
- Either create quality-tasks/, quality-checklists/, etc.
- Or remove these from configuration
- Document the decision
3. Documentation Enhancements
-
Path Resolution Documentation:
- Clearly document how paths are resolved
- Explain when paths are relative to bmad-agent/ vs project root
- Document the checklist copying process
-
Variant Documentation:
- Explain memory-enhanced vs standard personas
- Document when to use each variant
- Clarify if they're replacements or alternatives
-
Orchestrator Clarification:
- Document the relationship between web and IDE orchestrators
- Explain when to use each
- Provide migration path if needed
4. Reference Integrity Improvements
-
Create Reference Map:
- Build automated tool to verify all file references
- Regular validation of configuration files
- CI/CD check for reference integrity
-
Consolidate Orphaned Files:
- Integrate
bmad.mdpersona into configuration - Either use or remove orphaned personas
- Document or remove unused tasks
- Integrate
-
Standardize Task Integration:
- Ensure all personas have their referenced tasks
- Create "In Memory" placeholder for missing tasks
- Or create the actual task files
5. Quality Assurance Process
-
Implement File Validation:
- Automated script to check file references
- Naming convention enforcement
- Path resolution verification
-
Documentation Standards:
- Every file should have clear purpose documentation
- Relationships between files must be documented
- Integration points must be explicit
Summary of Required Actions
- Fix 15+ incorrect file references in orchestrator config
- Create or remove references to 11 missing task files
- Resolve naming convention inconsistency (hyphens vs underscores)
- Address 4 orphaned persona files
- Clarify path resolution for checklist-mappings.yml
- Resolve duplicate memory-orchestration-task.md
- Create or remove 4 missing directories
- Document web vs IDE orchestrator relationship
- Clarify memory-enhanced persona variants
- Establish and document file naming conventions
This analysis reveals significant structural issues that impact the usability and maintainability of the BMAD system. Addressing these issues systematically will greatly improve the robustness and clarity of the framework.