BMAD-METHOD/tools/cli/installers/lib/core
Alex Verkhovsky 81bd715251 refactor(agents): derive identity from directory name
Remove `name`, `canonicalId`, and `module` from agent sidecar manifests.
Both are now computed at build time: canonicalId = dirName,
name = dirName minus the `bmad-agent-` prefix.

- Remove agent exemption in manifest-generator collectSkills()
- Update manifest-generator collectAgents() to derive identity
- Update skill-manifest.js getCanonicalId() to return '' for agents
- Update bmad-artifacts.js to derive canonicalId from dir/filename
- Remove canonicalId-preferred branch from path-utils resolveSkillName()
- Update stale comments in _config-driven.js
- Strip name/canonicalId/module from 9 agent sidecar YAMLs
- Strip canonicalId from legacy multi-entry agent manifest
- Update test fixtures and assertions (216/216 pass)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 09:48:31 -06:00
..
config-collector.js fix: improve module config UX messaging and spacing (#1656) 2026-02-15 15:39:53 -06: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 refactor: Complete @clack/prompts Migration & Installer Output Consolidation (#1586) 2026-02-08 00:40:13 -06: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 fix(installer): simplify install summary (#1915) 2026-03-12 08:39:10 -06:00
manifest-generator.js refactor(agents): derive identity from directory name 2026-03-16 09:48:31 -06:00
manifest.js manifest generate will no longer fail when module has no agents and its first (#1998) 2026-03-15 01:46:16 -05:00