BMAD-METHOD/tools/cli/installers/lib/core
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
..
config-collector.js fix: issue 55 config paths (#2113) 2026-03-23 15:55:19 -05:00
custom-module-cache.js fix: installer fixes and non-interactive mode improvements (#1612) 2026-02-09 19:32:38 -06:00
dependency-resolver.js fix: update src/core and src/bmm path references to match renamed directories (#2053) 2026-03-18 19:29:16 -05:00
detector.js v4 detection cleanup 2025-12-27 20:31:12 +08:00
ide-config-manager.js fix: installer fixes and non-interactive mode improvements (#1612) 2026-02-09 19:32:38 -06:00
installer.js refactor(installer): remove dead task/tool/workflow manifest code (#2083) 2026-03-21 00:12:40 -06:00
manifest-generator.js fix: agent-manifest.csv empty after install — type mismatch + scan path bug (#2115) 2026-03-24 00:18:29 -05:00
manifest.js fix: update src/core and src/bmm path references to match renamed directories (#2053) 2026-03-18 19:29:16 -05:00