mirror of
https://github.com/bmad-code-org/BMAD-METHOD.git
synced 2026-09-19 08:11:52 +08:00
d7d4cfffbb
Add repeatable --set key=value arguments and an --overrides <file.toml> file to render_skill.py. Shipped defaults, project TOML, user TOML, the invocation file, and command-line assignments resolve into one effective customization using the existing structural merge; persistent files are never written. Two --set paths that are equal or nested halt as a caller error. The renderer keeps no separate schema of customization keys: a --set path must exist in customize.toml, and any invocation override that reaches no token or condition halts. Values are validated where consumed. Standalone [[bmad-if:path == literal]] / [[bmad-else]] / [[bmad-endif]] lines select sections before token and link resolution. A secondary file that filters to nothing is omitted from the snapshot; workflow.md filtering to nothing is an error. Condition inputs join the generation identity so identical output from different inputs still yields distinct snapshots. Document both interfaces, ignore the per-machine skills-lock.json, and cover precedence, equivalent forms, isolation, conflicts, unused overrides, malformed input, nested conditions, and snapshot reuse.
1.2 KiB
1.2 KiB