Files
Aura/docs/design
Brummel 20000ddeb3 audit: cycle 0034 (#55) — record structural-constant bind in the ledger; drift-clean otherwise
Architect drift review over 52e0214..HEAD. All hard invariants hold; the only
drift was a ledger-prose gap — the new .bind() structural-constant affordance had
no contract entry, so the code offered a capability the contracts did not name.

Contracts (all hold):
- C23: bind resolves a param name -> position at authoring time and stores the
  index; the compilat stays wired by raw index, the name never reaches it. The
  by-name authoring address space (0032 amendment) is exactly where bind sits.
- C19/C8: the shrink is schema.params.remove(pos) on the single source of truth
  that params()/schema()/collect_params/lower_items all read, so no desync is
  structurally possible; param_space() injectivity (0032) is untouched (bind only
  removes entries). The param-declared-once posture holds.
- C9/C10: a pure builder-level value op — no by-name runtime node lookup, no
  registry, no DSL-style dynamic resolution.
- C16: zero Cargo.toml / lockfile changes.
- Construction layer (collect_params/lower_items/param_space/compile_with_params)
  byte-unchanged — verified independently; the blueprint.rs diff is a test-only
  hunk at 1886, the sole production edit is bind in aura-core/src/node.rs.

Regression: none configured (profile regression: []) — no-op; architect is the gate.

Resolution -- fix (1 ledger note, added inline this commit):
- docs/design/INDEX.md C19 — added a cycle-0034 realization note recording
  PrimitiveBuilder::bind as the structural-constant path (knob REMOVED from
  param_space), distinct from the cycle-0016 value-pin (knob stays, fixed in the
  injected vector); the #55 deform-vs-tune discriminator; C23 unaffected; export of
  a named frozen strategy deferred to #60.

Cycle 0034 drift-clean after this note. Not a milestone close (no milestone
fieldtest run). Gates: doc-only edit, compile-inert; cargo build/clippy/test
--workspace verified green this session.
2026-06-12 16:30:43 +02:00
..