mirror of
https://github.com/bmad-code-org/BMAD-METHOD.git
synced 2026-01-30 04:32:02 +00:00
fix: optimize agent compiler and complete handler cleanup
- Add deployment-aware handler generation (filters web-only/ide-only commands) - Remove unused run-workflow handler type (ghost handler cleanup) - Implement missing validate-workflow and data handler generation - Update schema validation to support exactly 6 active handler types - Clean up activation templates and web bundler logic - Prevent generation of unused handler instructions for better performance - All 62 tests pass with backward compatibility maintained
This commit is contained in:
@@ -116,7 +116,7 @@ Tests required menu structure:
|
||||
|
||||
Tests menu item command targets:
|
||||
|
||||
- ✅ Valid: All 7 command types (`workflow`, `validate-workflow`, `exec`, `action`, `tmpl`, `data`, `run-workflow`)
|
||||
- ✅ Valid: All 6 command types (`workflow`, `validate-workflow`, `exec`, `action`, `tmpl`, `data`)
|
||||
- ✅ Valid: Multiple command targets in one menu item
|
||||
- ❌ Invalid: No command target fields
|
||||
- ❌ Invalid: Empty string command targets
|
||||
|
||||
@@ -34,6 +34,4 @@ agent:
|
||||
- trigger: data-test
|
||||
description: Test data command
|
||||
data: path/to/data
|
||||
- trigger: run-workflow-test
|
||||
description: Test run-workflow command
|
||||
run-workflow: path/to/workflow
|
||||
|
||||
Reference in New Issue
Block a user