Thing 2.0 cut 3: resolve (pure expansion, closed diagnostics, thing.std stat and card) #10
Loading…
Reference in a new issue
No description provided.
Delete branch "hands/thing2-resolve"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
resolve()expands a surface document's compositions into one tree: pure and deterministic (no port, clock or IO), Slot arguments spliced where the body's Slot stands with caller-scope ids, a Slot anywhere else refused (UnboundParam outside a composition, CompositionInvalid outside a body child list), the node count owned by expansion (65,537, refused before building), the depth rule owned by validate on the finished tree, and a separate stack bound (TooDeepToResolve). Diagnostics are a closed, ordered set; reads are a sorted Vec.thing.stdcarries stat and card. f09's inner card is now placed (new resolve golden); no contract golden moved.Spec
thing2:cut_spec:cut-resolve.r1; reports h1-h3; Soul s1-s3 (s3 holds). 101 tests; mutation table 45/46 with one equivalent. Carried to the bind-pin cut: stacker for the stack bound on default threads, and two depth-counter test gaps.🤖 Generated with Claude Code