Thing 2.0 cut 2: thing-core state port and thing-testkit (testkit-ports) #7

Merged
eureka merged 10 commits from hands/thing2-testkit-ports into main 2026-11-27 20:29:51 +00:00

2026-11-27

Meta Vens
thing-testkit: each fixture open has its own temp directory; the read-only test restores permissions on drop
All checks were successful
Portable Eve contracts and browser lowering / ubuntu-latest eve-browser-lowering (pull_request) Successful in 3m45s
Portable Eve contracts and browser lowering / ubuntu-latest eve-contracts (pull_request) Successful in 2m47s
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 21:18:25 +01:00
Meta Vens
thing-testkit tests: restore assert_eq
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 21:03:41 +01:00
Meta Vens
thing-testkit tests: compare stored payloads from the snapshot
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 21:03:07 +01:00
Meta Vens
thing-testkit: Fixture::open reads a copy so the fixtures directory stays unwritten
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 21:02:15 +01:00
Meta Vens
thing2 cut 2 fix batch: fixture load never writes, bless writer tested, MemState edges pinned
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 21:01:21 +01:00
Meta Vens
thing-testkit: bless fixtures f01, f09, f10 (thing2 cut 2)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:40:29 +01:00
Meta Vens
thing-testkit: fixtures README (thing2 cut 2)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:40:02 +01:00
Meta Vens
thing-core StatePort and thing-testkit MemState, fixture builders (thing2 cut 2)
StatePort reads, lists, subscribes and drains queued changes and has no
writer; a refusal is Lookup::Refused / Change::Refused, never absence.
MemState is the CultCache-backed fake with a call log; the Fixture enum builds
f01, f09 and f10 and loads their frozen stores.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:38:17 +01:00
Meta Vens
thing-testkit: builders, bless door and pinned store move out of the contract tests (thing2 cut 2)
The contract tests' builders (tests/common), golden_bytes/blessing and the
pinned-clock store helpers become thing_testkit::{build, golden, store}; the
contract tests link them as a dev-dependency. No golden byte changes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-27 20:33:41 +01:00