Ghostlight/crates/ghostlight/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens f178684391 Bind a grammar to a world at creation and refuse what it lacks
CreateWorld gains an optional GrammarBinding (schema id, revision, content
digest derived from the kind-sorted verbs, never caller-supplied). Genesis
installs it on the empty state, so resolve_patch checks the genesis patch and
every later AdmitPatch against it: an affordance kind the grammar lacks is
AffordanceKindNotInGrammar, a differing role signature (name, referent kind,
order) is AffordanceRolesDisagreeWithGrammar, and the kernel speak entry is
held to the same check. WorldSnapshot reports the grammar's identity and each
AffordanceSnapshot derives its render path from it. Worlds with no grammar
are unchanged: the field is absent from state and command bytes, pinned by a
journal written at base 367e2eb.

Builds: not verified on Yggdrasil yet at this commit (cargo check clean locally).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 06:43:49 +02:00
..
fixtures Bind a grammar to a world at creation and refuse what it lacks 2026-10-10 06:43:49 +02:00
external_admission.rs Add the play authority, Ruled facts and Mint (kernel), schema consumer.v6 (play agent Cut 3, PA-Q5/PA-Q15) 2026-09-22 03:11:37 +02:00