PureYAML/scripts
Mihaela M 47960a85c8 feat(validation): enforce tagged mapping-key uniqueness
The coverage manifest claimed Tagged.Mapping and Tagged.Node validate key
uniqueness, but the tagged validator's only default check was the built-in
tag check: the claim was false. Tagged.Mapping keeps every parsed pair, so a
duplicate key survives into the tree and is as invalid as in the plain model.

Add Tagged.BuiltinCheck.mappingKeysAreUnique, a Check<Mapping, Node> on the
one validation framework, to the tagged validator's defaults; the traversal
now offers each mapping to the checks. It reports each duplicate at its key
path, with failing, near-miss, and nested fixtures, and the two default
tagged checks are pinned by description.

Correct the Model.Value coverage reason: merges and aliases resolve at parse
time, so they are not a validation-phase invariant. Every validated manifest
entry now names an invariant a check actually enforces. 403 tests pass.
2026-06-28 17:03:20 +02:00
..
check-all.sh build: enforce validation coverage over every public type 2026-06-28 05:00:54 +02:00
check-changelog-touched.sh
check-corpus.sh feat(parser): harden diagnostics and streaming 2026-06-06 07:57:48 +02:00
check-forbidden-patterns.sh Harden parser against real YAML fixtures 2026-06-05 19:34:30 +02:00
check-json-compatibility.sh feat(parser): harden diagnostics and streaming 2026-06-06 07:57:48 +02:00
check-linux.sh ci: run optimized build gates 2026-06-05 22:36:28 +02:00
check-namespacing.sh refactor(code-style): one top-level type per source file 2026-06-26 06:14:21 +02:00
check-performance-phases.sh feat(parser): harden diagnostics and streaming 2026-06-06 07:57:48 +02:00
check-roadmap.sh
check-style.sh chore(rules): vendor the rules-swift canon into docs/rules-swift 2026-06-26 05:36:12 +02:00
check-throughput.sh feat(parser): harden diagnostics and streaming 2026-06-06 07:57:48 +02:00
check-validation-coverage.sh build: enforce validation coverage over every public type 2026-06-28 05:00:54 +02:00
check-wasm.sh ci: run optimized build gates 2026-06-05 22:36:28 +02:00
check-windows.ps1 ci: run optimized build gates 2026-06-05 22:36:28 +02:00
check-yams-diagnostics.sh feat(parser): harden diagnostics and streaming 2026-06-06 07:57:48 +02:00
check-yams-differential.sh feat(parser): harden diagnostics and streaming 2026-06-06 07:57:48 +02:00
check-yams-validation.sh feat(parser): harden diagnostics and streaming 2026-06-06 07:57:48 +02:00
fetch-yaml-test-suite.sh test: measure conformance against the official YAML test-suite 2026-06-26 17:43:19 +02:00
validation-coverage.tsv feat(validation): enforce tagged mapping-key uniqueness 2026-06-28 17:03:20 +02:00