PureYAML/scripts
Mihaela M 85663682a2 build: enforce validation coverage over every public type
Adopt the validation-rules discipline that every public type is either
validated or excluded, enforced mechanically rather than by review. A new
gate enumerates the public surface from the compiler symbol graph and
fails the build, naming the type, if any public type is missing from the
coverage manifest or any manifest entry is no longer public.

scripts/validation-coverage.tsv classifies all 58 public types: the value
models with the mapping-key-uniqueness runtime invariant are validated,
and the namespaces, closed sum types, data-transfer values, error types,
and engine machinery are excluded with a one-line reason each. The gate
runs in check-all.sh and CI; a planted unclassified type was confirmed to
fail it.

This is the coverage-first phase of moving the validation layer to the
type-directed Validation idiom; the framework backing the validated
entries, the de-duplication of the Tagged validator machinery, and the
exhaustive tests follow.
2026-06-28 05:00:54 +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 ci(gates): add full local verification script 2026-06-05 10:24:04 +02:00
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 docs(roadmap): collapse completed epic diagrams 2026-06-05 10:50:13 +02:00
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 build: enforce validation coverage over every public type 2026-06-28 05:00:54 +02:00