Commit Graph

4 Commits

Author SHA1 Message Date
Brian Madison 34b87bbd42 fix: harden resolve script type hint + improve inject prompt wording
- Add type: ignore[arg-type] to merge_menu call (Pylance narrowing limitation)
- Reword inject.before in workflows: "prepend to active instructions and follow it"
- Reword inject.after in workflows: "append to active instructions and follow it"
- Make additional_resources lazy: note list but don't eagerly load
2026-04-14 16:10:33 -05:00
Brian Madison da9ab6e119 fix: address review findings from code review
- Fix merge_menu KeyError crash when menu items missing 'code' key
- Fix _is_menu_array to check ALL elements, not just first
- Remove unused import os from resolve-customization.py
- Remove inject.after from agent activation (agents have no completion
  point; inject.after only makes sense for workflows)
2026-04-14 13:27:44 -05:00
Brian Madison 29f37255cf fix: address PR review feedback
- Narrow except Exception to (tomllib.TOMLDecodeError, OSError) in
  resolve-customization.py and all copies
- Re-add scripts/ exclusion to _config-driven.js IDE installer path
- Update draft-and-review.md to reference "enabled lenses" not "all three"
2026-04-14 12:04:18 -05:00
Brian Madison 9f936213a2 feat(skills): add TOML-based skill customization system
Replace YAML customization with a three-layer TOML override model (skill
defaults → team overrides → personal preferences). Each skill now ships a
customize.toml with its full customization surface and a
resolve-customization.py script that merges layers just-in-time during
activation. Personal .user.toml files are gitignored; team .toml files
are committed.

Updates all 7 agent skills and product-brief workflow with new activation
steps, customization defaults, and merge scripts. Rewrites the
customize-bmad how-to guide for the new system.
2026-04-14 10:20:28 -05:00