Files
alkgen/tests/fixtures/code_proof/schema.json
T
glm-5.3-flash 3b0483e50f test(code-proof): wave-2 code-shape proof through the public API (posture A/C)
- 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
2026-11-06 20:34:42 +00:00

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 &quot;b <i>" }
]
}