YAML / Config merge

YAML Mapping Merge

This page has a stable URL for review, documentation, and implementation comparison. The fixture tabs show merge inputs and output; the contract tabs show JSON and compact ruleset renderings with stable IDs and deterministic ownership.

Basic .yml mergeyamlline_bound_statementsstable_pathnative_read_portable_writenormalize_tracked_layout_mergehash_commentyaml_mappings_and_sequences

Fixture sources

JSON fixture: structuredmerge-fixtures/yaml/slice-99-merge/mapping-merge.json

Compact ruleset: structuredmerge-fixtures/rulesets/yaml/slice-99-merge/mapping-merge.smrules

Fixture view
title: Structured Merge
package:
  name: structuredmerge
  tags:
    - template
  version: 0.1.0
  meta:
    enabled: false
Contract view
{
  "contract_id": "yaml-mapping-merge",
  "format": "yaml",
  "owners": "line_bound_statements",
  "match": "stable_path",
  "read": "native_read_portable_write",
  "attach": "normalize_tracked_layout_merge",
  "comment_style": "hash_comment",
  "render": "yaml_mappings_and_sequences",
  "capabilities": {
    "nested_mapping_merge": true
  }
}