Make semantic projection admission causal

This commit is contained in:
Meta Vens 2026-07-15 04:55:09 +01:00
commit bb0dc639b7
13 changed files with 1112 additions and 48 deletions

View file

@ -1089,3 +1089,23 @@ admission does not yet atomically emit obligations, indexing does not yet claim
and discharge them, queries do not yet require the newest exact success, and
CultMesh/Idunn wiring deliberately remains absent. The next cut is canonical
admission ownership, not a polling loop.
## Atomic semantic admission (2026-07-15)
The causal cut is now implemented. Runtime-spine is immutably bound to the
canonical agent-Mind swarm identity. All three RepoModel writers atomically
companion canonical admission with one exact Modeling projection obligation;
the live legacy runtime was explicitly migrated without rewriting its model or
migration receipt. Mind self-patch and lifecycle admission now use a fixed-role
generation CAS that writes canonical rows, generation witness, persisted Mind
admission receipt, and Mind obligation together. Every extension re-hashes the
canonical rows and authenticates the prior witness. Bootstrap/import/repair/raw
replacement/trait seeding cannot write after a generation exists.
Core proof after fixture repair: 342 tests passed, 0 failed, 1 intentional
ignore; focused legacy migration and hostile concurrent Mind CAS tests pass;
all binaries compile. The current `state/agents.msgpack` predates the generation
witness and still needs one explicit legacy Mind-generation migration before
query gating can regard its Qdrant projection as ready. Next implement
restart-safe projector claim/attempt/terminal receipt execution and exact query
eligibility, then CultMesh/Idunn physiology.

View file

@ -248,3 +248,34 @@ the command from a timer would make elapsed time a substitute for causality.
then add the Idunn-hosted consumer and CultMesh health projection. Do not add
polling flags, file-mtime inference, or a reconciliation cache around the
current unwitnessed writes.
## Atomic Admission Landed (2026-07-15)
- Runtime-spine now carries one immutable binding to the canonical Mind-store
swarm identity. Runtime id, graph id, paths, metadata, and CLI labels cannot
substitute for it.
- RepoModel bootstrap, generic Modeling admission, and frontier-plan Adopt each
commit their canonical model witness and one deterministically derived
Modeling projection obligation in the same CAS. Exact retries require the
obligation; missing or colliding companions fail closed.
- A one-time legacy runtime migration preserves the unchanged bootstrap model,
migration receipt, and swarm binding envelopes while adding only the missing
obligation. The live runtime store passed this migration under
`gamecult.epiphany.main`.
- Reviewed Mind self-patches and lifecycle operations now commit the complete
canonical role generation, immutable/latest generation witness, persisted
Mind admission receipt, and exact Mind projection obligation in one CAS.
The canonical source hash is recomputed in fixed role order on every
admission and must authenticate the previous witness.
- JSON import, legacy repair, raw migration replacement, and canonical trait
seeding are explicitly bootstrap-only and structurally refuse after the
first admitted generation. SoA remains derived and cannot advance Mind.
- Empty canonical partitions still produce obligations. Empty is a demand to
remove stale scoped points, not permission to preserve a previous
projection.
Remaining: migrate the current legacy Mind rows into generation zero pressure;
add projector claims/attempt terminal CAS and bind index receipts to exact
obligations; make queries require the newest exact success before Qdrant
ranking; then publish derived health through provider-owned CultMesh state and
attach Idunn process survival.