BMAD-METHOD/tools
Paul Preibisch 77209a8572 fix: Address bmadcode review - preserve variables and move TTS logic to injection
Fixes requested changes from PR review:

1. Preserve {bmad_folder} variable placeholder
   - Changed: {project_root}/.bmad/core/tasks/workflow.xml
   - To: {project_root}/{bmad_folder}/core/tasks/workflow.xml
   - Allows users to choose custom BMAD folder names during installation

2. Move TTS-specific hook guidance to injection system
   - Removed hardcoded hook enforcement from source files
   - Added hook guidance to processTTSInjectionPoints() in installer.js
   - Now only appears when AgentVibes is installed (via TTS_INJECTION)

3. Maintain TTS-agnostic source architecture
   - Source files remain clean of TTS-specific instructions
   - TTS details injected at install-time only when needed
   - Preserves provider-agnostic design principle

Changes made:
- src/core/workflows/party-mode/instructions.md
  - Reverted .bmad to {bmad_folder} variable
  - Replaced hardcoded hook guidance with <!-- TTS_INJECTION:party-mode -->
  - Removed <note> about play-tts.sh hook location

- tools/cli/installers/lib/core/installer.js
  - Added hook enforcement to party-mode injection replacement
  - Guidance now injected only when enableAgentVibes is true

Addresses review comments from bmadcode:
- "needs to remain the variable. it will get set in the file at the install destination."
- "items like this we will need to inject if user is using claude and TTS"

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-20 19:55:48 -07:00
..
cli fix: Address bmadcode review - preserve variables and move TTS logic to injection 2025-11-20 19:55:48 -07:00
flattener feat: v6.0.0-alpha.0 - the future is now 2025-09-28 23:17:07 -05:00
schema feat: Add ide-only and web-only menu item filtering for platform-specific commands 2025-11-15 19:39:53 -06: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 Add Opencode IDE installer (#820) 2025-10-26 11:16:57 -05: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