Thing 2.0 cut 3: resolve (pure expansion, closed diagnostics, thing.std stat and card) #10

Merged
eureka merged 23 commits from hands/thing2-resolve into main 2026-11-27 23:50:19 +00:00
Owner

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.std carries 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

`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.std` carries 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](https://claude.com/claude-code)
resolve: validate owns the depth rule; expand keeps a named stack bound with its own code; tests
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Successful in 3m18s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Successful in 1m18s
a914f79182
eureka merged commit edeeee2129 into main 2026-11-27 23:50:19 +00:00
eureka deleted branch hands/thing2-resolve 2026-11-27 23:50:19 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Thing!10
No description provided.