[6.11.0] render_skill.py: short config tokens HALT as ambiguous in multi-module installs — bmad-build/bmad-build-auto cannot render at all

Author: thkennedyCreated Aug 12, 2026Updated Sep 28, 2026

Severity: blocker for any install with more than one module defining the same config key (e.g. bmm + gds) Version: bmad-method 6.11.0 (paths below are as installed by npx [email protected] install) Environment: Windows 11, Python 3.11 via uv (reproduced on macOS/Linux-equivalent logic paths too — the failure is platform-independent)

Summary

_bmad/scripts/render_skill.py resolves short config tokens ({{.key}}) by recursively searching the entire merged central config and raising a fatal error when the key is found at more than one path (line ~148):

raise RenderError(f"ambiguous config value `{key}` found at: {paths}")

The stock config that 6.11.0's own installer writes defines planning_artifacts and implementation_artifacts under both [modules.bmm] and [modules.gds] when both modules are installed. The bmad-build and bmad-build-auto sources use {{.implementation_artifacts}} (29 occurrences) and {{.planning_artifacts}} (6 occurrences), so every activation of both skills HALTs at SKILL.md step 0 on a bmm+gds install. Because the v6 shims forward bmad-quick-dev → bmad-build and bmad-dev-auto → bmad-build-auto, the legacy IDs are equally dead — the primary dev workflow cannot start at all.

Repro

  1. npx [email protected] install with module set including bmm and gds (game-dev-studio v0.6.0).
  2. uv run _bmad/scripts/render_skill.py --project-root . --skill .claude/skills/bmad-build

Observed:

HALT: ambiguous config value `implementation_artifacts` found at: modules.bmm.implementation_artifacts, modules.gds.implementation_artifacts

Exit 1. bmad-build-auto fails identically on planning_artifacts. Both SKILL.md files mandate "On failure, report the command output and HALT. Do not run any workflow source directly," so there is no fallback.

Why no workaround exists

  • The short-token regex (\{\{\.([A-Za-z0-9_]+)\}\}) excludes dots, so no module-qualified short form exists.
  • The full form {{config.modules.bmm.implementation_artifacts}} exists in the grammar, but the vendored skill sources don't use it, and editing installer-managed sources means forking.
  • Config layers cannot delete keys — structural_merge only adds/overrides — so no _bmad/custom/config.toml overlay can remove one of the two definitions.

Suggested fix

Resolve short tokens with module scoping before falling back to the global search: prefer the key under the module that owns the skill being rendered (modules.<skill-module>.<key>), then core.<key>, and only then treat a multi-hit global search as ambiguous. Alternatively (or additionally) admit a module-qualified token form so skill sources can disambiguate without forking.

Source: bmad-code-org/BMAD-METHOD