Thing 2.0: state port values (StateValue, Record::State) and thing-state's by-name decode #12
Loading…
Reference in a new issue
No description provided.
Delete branch "hands/thing2-state-port"
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?
thing-core gains StateValue (a closed named value tree), member() and Record::State { schema, value }; its normal deps stay exactly thing-contract and stacker, with no MessagePack reading in core (
thing2:ruling:provider-state-named-value). The new crate thing-state owns the one decode of a provider record by its catalog member names (nested records positional perthing2:ruling:nested-members-positional-for-now; a members-[] store refuses with NoMembers). A provider's record type must equal its schema id; put_state refuses otherwise. MemState holds provider state.Spec
thing2:cut_spec:cut-state-port.r1; reports h1, h2; Soul s1, s2 (s2 holds). 176 tests; 22/23 mutants, one equivalent. Rust-only: Thing CI runs TS packages; evidence is the Yggdrasil runs.🤖 Generated with Claude Code