From c939673aa70f72ecdfa433e426a0b2e562ecae1e Mon Sep 17 00:00:00 2001 From: Brummel Date: Sat, 13 Jun 2026 23:25:48 +0200 Subject: [PATCH] =?UTF-8?q?audit:=20cycle=200037=20=E2=80=94=20drift-clean?= =?UTF-8?q?=20(bound=20params=20in=20the=20graph=20model=20+=20viewer)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Close-audit for cycle 0037 (commit range d069484..47e0e60). Architect drift review against the design ledger + CLAUDE.md domain invariants: no contract drift, no debt. No regression scripts are configured (the architect is the gate); build + test + clippy verified green independently by the orchestrator. cycle 0037 (clean): - C23 preserved: bind still resolves the slot name to a fixed position and re-splices the value in the build closure; BoundParam/"bound" is recorded purely beside that capture, a render/debug symbol dropped at lowering — bootstrap and the run loop never read bound_params() (only the model serializer does). The compilat stays index-wired. A genuine twin of the cycle-0035 instance-name thread. - C14 preserved: the inline no-bind model_golden (sample_root) is byte-unchanged; the "bound" field is conditional (mirrors "name"), so unbound nodes are byte-identical, and only the sample fixture's blend node gained the field. scalar_str is total over all four Scalar variants and deterministic (f64 via {:?} keeps a decimal point so a bound f64 never reads as an i64). - C12/C19 preserved: the tunable surface is untouched — bind still removes the slot from schema.params; the eight-param sweep pins stay byte-identical with weights[2] absent. The render annotation reads from a separate bound vec, not param_space(). Test coverage: the original-position unit test (trailing + reverse-chained), the prim_record conditional-field unit test (i64 + f64), and a headless render guard pinning slot-order faithfulness for both a trailing and a middle bind (the middle case catches an append-only regression). Resolution: carry-on. Next iteration: pick the next backlog item.