mirror of
https://github.com/bmad-code-org/BMAD-METHOD.git
synced 2026-11-03 22:12:12 +08:00
* feat(render): serve initiative_folder instead of a resolve_config.py call
Rendered skills told the agent to run resolve_config.py for
core.active_initiative and to drop `/{active_initiative}` from every
path when it was unset. The renderer now serves `initiative_folder`:
the output folder, extended by the active initiative when one is set.
It is computed and keyed into the generation only where a template
reaches it, so a skill that never names it keeps its generation across
initiative switches.
The four rendered skills that used the two-token path now use the one
name, and the build skills branch at render time on whether an
initiative is active. The toolsmith shape names it, the validator's
TPL-01 treats it as a render-time expression, and the rule doc lists it
with the other template names. Non-rendered skills are unchanged.
* test(render): cover the build skills' active-initiative branch