BMAD-METHOD/tools/cli/installers/lib/ide/shared
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
..
agent-command-generator.js refactor(installer): remove legacy workflow, task, and agent IDE generators (#2078) 2026-03-20 15:18:47 -06:00
bmad-artifacts.js fix: agent-manifest.csv empty after install — type mismatch + scan path bug (#2115) 2026-03-24 00:18:29 -05:00
module-injections.js Fix glob pattern to use forward slashes (#1241) 2026-01-14 21:16:23 -06:00
path-utils.js fix: harden quick-dev-new-preview and fix standalone agent dash names (#1867) 2026-03-09 02:06:35 -06:00
skill-manifest.js refactor(installer): remove dead .agent.yaml/.xml fallback logic (#2084) 2026-03-21 01:52:39 -06:00