BMAD-METHOD/tools/cli/installers
Alex Verkhovsky f2f72fd476 fix: recompile agents during module update to get latest source changes
The update() and updateCore() methods were only syncing files without
recompiling agents. Since compiled .md agent files are always newer
than their source .agent.yaml files, mtime-based skip logic prevented
agent updates.

Now both methods call compileModuleAgents() after syncing, ensuring
agents are rebuilt from fresh source YAML. User customizations remain
safe in separate .customize.yaml files.

Fixed in two places:
- ModuleManager.update() for module agents (bmm, bmb, etc.)
- Installer.updateCore() for core agents (bmad-master)

Fixes: https://github.com/bmad-code-org/BMAD-METHOD/issues/1133

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-13 09:45:45 -07:00
..
lib fix: recompile agents during module update to get latest source changes 2025-12-13 09:45:45 -07:00