Thing 2.0 cut 12a: RecordStore in thing-state; MemState becomes its test front #28
Loading…
Reference in a new issue
No description provided.
Delete branch "hands/thing2-mesh-store"
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?
Cut
thing2:cut_spec:cut-thing-mesh-store.r1. The records, refusals, interests and change queue of a StatePort implementation move fromMemStateintothing_state::RecordStore(admit_contract with anaccepthook, admit_state, admit_value, refuse, remove, purge, keys, interests, andimpl StatePort), so thing-mesh can use the same store without depending on thing-testkit.MemStatekeeps its public surface and delegates;putnow encodes then admits through the one door.StatePort::listnow states the one-provider-and-schema, refusals-included, key-order rule (absorbsthing2:follow_up:state-port-list-contract-on-trait).No behaviour change: the existing thing-core, thing-testkit and thing-tui tests and goldens are unedited and pass (457 workspace tests green). Mutants over the range: 68 tested, 57 caught, 11 unviable, 0 survived.
🤖 Generated with Claude Code