Record retained decision audit cut

This commit is contained in:
Meta Vens 2026-08-18 08:08:11 +02:00
commit 55fb4cf841
5 changed files with 48 additions and 9 deletions

View file

@ -98,9 +98,12 @@ Structured decisions are authoritative; token streams and assistant deltas are
optional retention. A model-backed failure is also a typed terminal decision
record. Generic diagnostic model runs cannot produce Mind-admissible decisions.
Current migration seam: the typed basis/context foundation, concrete Body,
Current migration boundary: the typed basis/context foundation, concrete Body,
frontier, Research, Verification, Planning, Reorientation, and Persona paths,
plus worker/session/Persona archive reachability are landed. Exact `f7948795`
plus worker/session/Persona archive reachability are landed. Exact `f8412b69`
adds one read-only context-ID audit projection and deletes the digest-only
worker archive: the typed role and generic terminal result family now survives
retention, and runtime schema v2 refuses the earlier writable shape. Exact `f7948795`
deletes `MindGatewayReview`, `MindStateCommitReceipt` v0, the generic Mind
interpreter prompt, and their false CultNet mutation mouths. Exact `e0e75a30`
deletes the residual aggregate-shaped role patch, its parser, and its
@ -108,8 +111,8 @@ family-policy tribunals. Research now authors one closed typed decision whose
admission owner derives keyed Mind writes; the unowned generic Imagination
planning patch is gone. Exact `1c9aafd8` seals one decision context before model-backed
frontier-Planning failure terminalization and binds both the typed faculty
failure and generic job result to it. Governed tool-observation coverage still
needs the full store-backed refusal matrix.
failure and generic job result to it. Shared runtime validators own the
store-backed model/tool refusal matrix used by both execution and sealing.
## Concurrent Mind mutation
@ -222,10 +225,13 @@ receipts, and their direct context links.
Runtime retention may remove SSE frames, deltas, intermediate requests,
provider events, and tool scaffolding only after the terminal context is sealed
and the retained decision can still reach its basis/context without them.
The v1 worker-attempt archive embeds the exact typed role result and its
context-bound generic result family. The read-only decision audit consumes the
same durable records before and after archival.
## Verification and open gates
Accepted through `d3300bba`:
Accepted through `f8412b69`:
- every Epiphany core target compiles;
- core library `493/493`;
@ -239,6 +245,11 @@ Accepted through `d3300bba`:
decision chain;
- reopened current-work projection is identical and byte-for-byte read-only at
Launch, Wait, completed, and post-Research boundaries.
- `epiphany-model-runtime audit-decision` reconstructs an exact terminal pass
from typed durable records only; the query is byte-for-byte read-only and
remains complete after live worker result retirement.
- runtime schema v2 refuses the prior digest-only worker archive epoch without
mutation.
Open before Model Atlas Gate 1 resumes:

View file

@ -217,6 +217,13 @@ Persona+Hands concurrency, sealed Persona ingress, and deterministic read-only
restart/re-entry are accepted. The remaining gate is the fresh exact-package
capstone.
Exact `f8412b69` closes the last known retention wound before that capstone:
the packaged model runtime can reconstruct a decision by context ID from its
sealed basis, exact terminal requests, tool observations, structured terminal
records, and Mind commit receipts. Worker attempt archival retains the typed
result family instead of reducing it to IDs and a digest. Runtime schema v2
refuses the superseded writable archive shape; there is no reader or migrator.
Cut in this order:
1. **Landed at `79346523`:** replace the aggregate-shaped role reasoning input with one sealed typed

View file

@ -82,6 +82,14 @@ The global thread-state authority is gone.
Body, repository, or model read when that input and terminal decision already
exist. Current-work reconstruction is identical and byte-for-byte read-only
at Launch, Wait, completed, and post-Research boundaries.
- `f8412b69` makes decision audit an operator capability rather than a test
claim. `reasoning_context::audit_decision_context` reconstructs the sealed
basis, decoded typed projection, exact terminal native/provider requests,
governed tool observations, structured terminal records, and exact Mind
commit receipts without consulting streams, events, or current Mind state.
Worker archival now retains the complete typed role/generic result family;
the digest-only archive shape is deleted. Runtime schema v2 refuses the
prior writable archive epoch.
There is no compatibility aggregate, dual reader, bootstrap thread, or
migrator. Thread identifiers may survive only as immutable pass-creation
@ -159,15 +167,26 @@ Retention must preserve direct reachability: worker attempt or Persona terminal
to decision context to reasoning basis. No raw stream event, request family, or
transcript may be required for that query after archival.
The packaged `epiphany-model-runtime audit-decision` command exposes that
read-only projection by exact context ID. Its JSON is an operator/xenos
rendering only; it never writes Mind or reconstructs prompts from live state.
Fresh source tests prove the retained chain, concurrent keyed commits,
old-epoch refusal, deterministic current-work re-entry, and Persona replay
without input reformulation or inference. This is source acceptance, not yet a
package/live claim.
An exact clean `d26a99d5` Linux baseline package completed successfully with 27
binaries and release witness
`sha256-55346d97207d5a847317e654256f91378f5d5ee7cac62093539c70413f9d57a3`.
That proves the isolated package machinery and warmed cache, not the final
capstone: the exact final package must be rebuilt from `f8412b69` or its
document-only successor.
## Immediate next action
1. Build one exact clean-source package without adding a shipped proof-only
binary.
1. Build one exact clean-source package from `f8412b69` or its document-only
successor without adding a shipped proof-only binary.
2. Run the fresh-store Decision-Auditable Concurrent Mind capstone against that
package: concurrent Persona/repository work, Body -> Modeling -> Mind,
explicit Eyes evidence where required, Hands -> Verification -> Mind,