BMAD-METHOD/tools
Paul Preibisch 555e77016c fix(compiler): Preserve TTS data in agent frontmatter
**Problem:**
Agent compiler was stripping TTS data (intro and voices) when converting
.agent.yaml files to .md files. This caused all agents to use fallback
voice (en_US-lessac-medium) and generic intros in party mode.

**Root Cause:**
buildFrontmatter() only included name and description fields, omitting
the tts section from source YAML.

**Fix:**
- Modified buildFrontmatter() to accept and include TTS data
- Updated compileToXml() to extract TTS from parsed YAML
- TTS data now preserved in compiled .md frontmatter

**Impact:**
- Each agent now gets unique voice (ryan-high, kristin-medium, etc.)
- Personalized intros ("Hi! I'm John..." instead of "Hi! I'm Pm...")
- Party mode agents now distinguishable by voice

**Testing:**
 Tested with pm.agent.yaml → correct voice: en_US-ryan-high
 Tested with analyst.agent.yaml → correct voice: en_US-kristin-medium
 Verified TTS frontmatter structure matches manifest-generator expectations

**Related:**
- Fixes voice assignment issue in PR #987
- Enables proper multi-agent party mode experience
- Manifest generator already handles TTS correctly (no changes needed)

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

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-17 18:18:59 -07:00
..
cli fix(compiler): Preserve TTS data in agent frontmatter 2025-12-17 18:18:59 -07:00
flattener feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
maintainer feat: add Raven's Verdict PR review tool (#1054) 2025-12-07 14:13:33 -06:00
schema Merge main into fix/agentvibes-npm-env-inheritance 2025-12-07 15:14:34 -07:00
bmad-npx-wrapper.js fix: preserve user's cwd when running via npx 2025-10-29 09:31:38 -05:00
format-workflow-md.js check alignment 2025-10-22 12:36:39 -05:00
platform-codes.yaml feat: Adding support for Rovo Dev (#975) 2025-11-26 09:05:04 -06:00
validate-agent-schema.js feat: add agent schema validation with comprehensive testing (#774) 2025-10-20 07:14:50 -05:00
validate-bundles.js feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
validate-svg-changes.sh fix(bmm): remove stale validate-prd references (fixes #1030) (#1038) 2025-12-05 21:35:46 -06:00