BMAD-METHOD/tools/cli/installers/lib
Brian a04635efe0
fix: agent-manifest.csv empty after install — type mismatch + scan path bug (#2115)
Two bugs combined to produce an empty agent-manifest.csv:

1. collectAgents() only scanned {module}/agents/ directories, but agents
   live at various paths (bmm/1-analysis/bmad-agent-analyst/,
   cis/skills/bmad-cis-agent-*, etc.). Now walks the full module tree.

2. All 9 BMM agent manifests declared type: skill instead of type: agent.
   The manifest generator requires type: agent to include a directory in
   agent-manifest.csv. CIS, GDS, TEA, and WDS already had the correct type.

Changes:
- Fix 9 BMM bmad-skill-manifest.yaml files: type: skill → type: agent
- Replace collectAgents/getAgentsFromDir with full-tree recursive scan
- Module field from manifest file always takes precedence over directory
- Remove dead skillManifest load (legacy .md agent support removed)
- Add TODO in bmad-artifacts.js documenting legacy agent pipeline as dead code
- Add 10 regression tests covering BMM, CIS, and GDS directory layouts
2026-03-24 00:18:29 -05:00
..
core fix: agent-manifest.csv empty after install — type mismatch + scan path bug (#2115) 2026-03-24 00:18:29 -05:00
custom refactor(installer): remove dead agent compilation pipeline (#2080) 2026-03-20 22:52:02 -06:00
ide fix: agent-manifest.csv empty after install — type mismatch + scan path bug (#2115) 2026-03-24 00:18:29 -05:00
modules refactor(installer): remove dead agent compilation pipeline (#2080) 2026-03-20 22:52:02 -06:00
message-loader.js refactor: Complete @clack/prompts Migration & Installer Output Consolidation (#1586) 2026-02-08 00:40:13 -06:00