Construction layer

New Issue

Blueprint -> compilat: the construction phase that turns hand-written raw-index wiring into named graph-as-data, compiled to the flat instance the run loop runs.

Design settled (commit ff1dce5; ledger contract C23 + refinements to C9/C19): the bootstrap is a COMPILATION. A param-generic, named blueprint (the authoring source) is lowered to a flat, type-erased compilat wired by raw index; a COMPOSITE is a blueprint fragment compiled away by INLINING -- not a runtime sub-engine Node. Names are non-load-bearing debug symbols; the wiring resolves by index.

Scope of THIS milestone (the representation, not the optimiser):

  • a Blueprint graph-as-data + a compile() lowering it to the (nodes, sources, edges) the existing Harness::bootstrap already consumes -- run loop UNCHANGED;
  • a Composite as a nestable fragment that inlines at compile (index offset, edge rewrite, recursive); SMA-cross as the end-to-end demonstrator, bit-identical to the hand-wired graph (C1);
  • aura graph rendering that blueprint as an ASCII DAG (#13 useful cut).

Issues: #12 (anchor -- blueprint repr + composite inlining), #13 (graph render).

Deferred to later milestones (named in C23 / the ledger open threads, NOT here):

  • behaviour-preserving optimisation passes: intra-compilat CSE/DCE and sweep-invariant prefix hoisting (C23);
  • the ergonomic named-handle wiring + experiment-builder API (structural axes, sweep combinators; C20). #21 (SimBroker slot-order footgun) belongs to this layer and is therefore NOT in this milestone.
No due date
100% Completed