Thing 2.0 cut 4: bind (the Binder binds resolved trees to provider state by name) #13

Merged
eureka merged 7 commits from hands/thing2-bind into main 2026-11-28 03:15:14 +00:00
Owner

The Binder binds resolve()'s tree to provider state through the state port, by member name, holding one interest ledger. Every value kind against every site kind refuses a wrong kind with a typed BindTypeMismatch, never a coercion or a partial bind; a name step into a nested record is BindTypeMismatch (thing2:ruling:nested-members-positional-for-now); missing names and other schemas are typed errors; a refused change reaches its site and marks it dirty; dropped sites and Repeats mark dirty. thing-contract's own is_timestamp_text replaces a CultLib re-export. thing-core's normal deps stay thing-contract and stacker; core never awaits. Bind goldens f01 and f04.

Spec thing2:cut_spec:cut-bind.r1; reports h1-h3; Soul s1-s3 (s3 holds, 0 survivors). 167 tests. Rust-only: evidence is the Yggdrasil runs.

🤖 Generated with Claude Code

The Binder binds resolve()'s tree to provider state through the state port, by member name, holding one interest ledger. Every value kind against every site kind refuses a wrong kind with a typed BindTypeMismatch, never a coercion or a partial bind; a name step into a nested record is BindTypeMismatch (`thing2:ruling:nested-members-positional-for-now`); missing names and other schemas are typed errors; a refused change reaches its site and marks it dirty; dropped sites and Repeats mark dirty. thing-contract's own `is_timestamp_text` replaces a CultLib re-export. thing-core's normal deps stay thing-contract and stacker; core never awaits. Bind goldens f01 and f04. Spec `thing2:cut_spec:cut-bind.r1`; reports h1-h3; Soul s1-s3 (s3 holds, 0 survivors). 167 tests. Rust-only: evidence is the Yggdrasil runs. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Closes thing2:finding:cut-state-port.s2.schema-id-fallback-untested.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The first test wrote through put_envelope, which always stores a schema id, so the unwrap_or_default mutant survived. A legacy array with no schemaId reaches the fallback and kills it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Soul s1: the Mixed testkit record (int, bool, nil, nested, list, stamp) and the tests that kill its 14 survivors.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Thing 2.0 cut 4: no value kind is read as another (text that parses, bytes, floats, ints at option and key sites), and a port that lists a record of another schema
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Successful in 3m0s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Successful in 3m38s
0ba85530ea
MemState::put_value serves a decoded value a typed record cannot hold. Soul s2.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
eureka merged commit d9b09ee5f4 into main 2026-11-28 03:15:14 +00:00
eureka deleted branch hands/thing2-bind 2026-11-28 03:15:14 +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!13
No description provided.