Thing/crates/thing-contract
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens f2ab72d84d thing-contract: each field's type owns its domain (Seq, Version, Count, Segment), injective record keys, domain refusal cases, per-field privacy doctests
Seq, Version, Count and Segment check their domain in new, and their Deserialize calls new, so the constructors and every decode door hold one rule. Record keys take Segment so they split at the last dot; the asset key prefix is thing:asset_catalog:. result-missing-slot is dropped (CultLib's rule). Goldens are re-blessed in the next commit; this commit's goldens_match fails until then.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-12 07:21:52 +02:00
..
src thing-contract: each field's type owns its domain (Seq, Version, Count, Segment), injective record keys, domain refusal cases, per-field privacy doctests 2026-10-12 07:21:52 +02:00
tests thing-contract: each field's type owns its domain (Seq, Version, Count, Segment), injective record keys, domain refusal cases, per-field privacy doctests 2026-10-12 07:21:52 +02:00
Cargo.toml thing-contract: depend on serde_bytes (the CultSlots bytes slot expands to it); goldens are never text-converted 2026-10-12 04:12:42 +02:00