BMAD-METHOD/docs/how-to
Brian Madison 80ba89eb52 docs(skills): clarify that keyed-merge requires a single identifier key per array
Review feedback (PR #2284) flagged that the merge-rules wording was
ambiguous: "every item has a `code` or `id` field" could reasonably
be read as "each item individually has at least one of the two",
allowing arrays to mix `code` and `id` across items.

The resolver has always required all items share the *same* identifier
key (all `code`, or all `id`). Mixed arrays fall through to append —
intentional, because mixing identifier keys within one array is a
schema smell and any guess about which key should merge creates a
worse trap than the append-fallback.

Clarified in three places:
- Merge-rules table in customize-bmad.md: "every item shares the
  **same** identifier field"
- `code`/`id` convention paragraph: "pick **one** convention ... and
  stick with it across the whole array"
- Resolver docstring and `_detect_keyed_merge_field` docstring:
  explicit note that mixed arrays fall through with rationale

No behavior change.
2026-04-19 14:36:30 -05:00
..
customize-bmad.md docs(skills): clarify that keyed-merge requires a single identifier key per array 2026-04-19 14:36:30 -05:00
established-projects.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00
extend-bmad-for-your-org.md docs(skills): encourage CLAUDE.md/AGENTS.md reinforcement of critical rules 2026-04-19 14:31:58 -05:00
get-answers-about-bmad.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00
install-bmad.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00
install-custom-modules.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00
non-interactive-installation.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00
project-context.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00
quick-fixes.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00
shard-large-documents.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00
upgrade-to-v6.md feat(installer): universal source support for custom module installs (#2233) 2026-04-09 18:44:40 -05:00