Move acceptance proof policy into core

This commit is contained in:
Meta Vens 2026-07-11 19:40:04 +01:00
commit 88cb165747
7 changed files with 132 additions and 49 deletions

View file

@ -710,6 +710,15 @@ tests and all eight bridge tests pass. Resume receipt persistence/proof
enforcement extraction through the acceptance organ; do not add policy back to
the facade.
Pure receipt-proof policy is now native: acceptance launch-contract lookup,
claimed effects, enforceable receipt families, and proof-profile evaluation
live in `coordinator_acceptance.rs`; bridge helpers delegate. Do not move the
remaining persistence sequence unchanged. It writes thread state before the
Mind state-commit receipt in another store, so a final receipt failure can
leave unwitnessed accepted state. The transaction/recovery law is specified in
`notes/native-coordinator-liberation-map.md` and must be solved before final
acceptance persistence moves.
Bridge identity correction from 2026-06-22: Epiphany owns swarm execution,
repo Body work, branch-local lanes, memory, evidence, and Persona cognition.
Bifrost owns GameCult identity, governed crossings into GitHub/Discord/Reddit

View file

@ -154,6 +154,22 @@ Each organ owns one invariant and must be testable against injected paths and
typed inputs without starting Codex. A source guard should fail if the façade
regrows policy bodies or if any native organ imports app-server protocol types.
## Acceptance Transaction Wound
The compatibility bridge currently persists prerequisite receipts, writes
thread state, then writes the Mind state-commit receipt in a separate
runtime-spine store. If the final write fails, accepted durable state survives
without its promised commit witness. Moving that sequence into core unchanged
is forbidden.
Before final acceptance persistence moves, define one typed transaction law:
either co-locate state admission and its commit witness in one CultCache
transaction boundary, or persist a prepared acceptance transaction whose
recovery protocol can deterministically finish or refuse admission after
interruption. Best-effort rollback across two files is not atomicity. A negative
smoke must inject failure after prerequisite receipts and after state write and
prove no unwitnessed accepted state becomes authoritative.
## Invariants
- There is one durable thread-state owner and one runtime lifecycle owner.