- code-shaped fixture set: writer + validator template kinds over one composed partial, no-op escaper, strict mode, all public API - ADR-004 mappings in builder Rust (kind->call names, struct name, string-kind flag, source-quoted literals); templates stay dumb - document order (not sort/hash/reverse) drives rendered order; reordered arrays render in the array's new order - determinism: byte-identical across repeated renders, registry rebuilds, differing registration orders, fresh contexts, and both sinks (render vs render_to_write) - banner stays an emit-layer obligation; no banner assertions in the proof (gap recorded in task Notes, honestly) Verification: cargo test (38 passed), cargo clippy --all-targets -- -D warnings, cargo fmt --check, taskgraph validate
10 lines
270 B
JSON
10 lines
270 B
JSON
{
|
|
"name": "packet_header",
|
|
"fields": [
|
|
{ "name": "zeta", "kind": "string", "default": "v<1>&\"raw\"" },
|
|
{ "name": "magic", "kind": "u64" },
|
|
{ "name": "alpha", "kind": "bool" },
|
|
{ "name": "length", "kind": "string", "default": "a "b <i>" }
|
|
]
|
|
}
|