Bind Modeling admission to repository Body

This commit is contained in:
Meta Vens 2026-07-15 22:06:06 +01:00
commit f67bad1eb0
17 changed files with 824 additions and 71 deletions

View file

@ -797,17 +797,27 @@ The bind rite also writes one immutable runtime-side
locator and hashes the exact Body binding while repeating runtime, swarm, and
workspace identity. Every read reopens the Body store and validates that chain.
One runtime cannot silently switch between Body stores; relocation or replacement
requires a future explicit migration receipt. This is routing authority only. It
does not claim that a Modeling launch, result, or admission is grounded yet.
requires a future explicit migration receipt.
Every coordinator-owned Modeling launch now obtains a typed
`RepositoryBodyObservationBasis` before the worker thinks. The immutable launch
binds runtime/swarm/workspace/scope, Body-binding hash, observation
generation/id/root, and scan interval. Modeling output contract v3 requires the
worker-authored exact echo; result ingress rejects missing or substituted basis.
Non-Modeling launches and results cannot carry it. Mind review v1 and admission
receipt v5 preserve the same basis. Admission validates exact
launch/result/review equality and the referenced immutable historical Body
artifacts before copying it into the CAS receipt. It does not resample current
Body. Direct Mind adoption and legacy migration remain explicitly ungrounded.
## Mind readiness join boundary (2026-07-15)
A truthful whole-repository readiness join does not yet exist. Mind must own a
A truthful whole-repository readiness join does not yet exist. Body-grounded
RepoModel admission now exists; Mind must own a
derived `RepositoryReadinessProjection`; Body observation, Modeling, retrieval,
semantic projection, schedulers, watchers, jobs, and UI are forbidden writers.
Its required inputs are a fresh validated Body observation, the canonical
RepoModel plus its exact Mind admission receipt, a RepoModel grounding receipt
bound to that Body manifest,
RepoModel plus its exact Mind admission receipt carrying its Body basis,
the authenticated Modeling semantic projection receipt for that admitted model,
and exact workspace-retrieval coverage bound to the same Body manifest and a
named inclusion policy. Derivation must retry if any participating head advances.

View file

@ -1655,16 +1655,29 @@ commit atomically. Gitlinks are nonrecursive; unrepresentable paths fail closed.
Bind now installs one immutable runtime-side Body-store route containing the
canonical external locator and exact Body-binding hash. Reads validate runtime,
swarm, workspace, path, and Body binding; a runtime cannot substitute a second
Body store. The route is the missing nerve needed by launch/admission, not proof
that any current RepoModel was grounded through it.
Body store. The route is the locator nerve used by the grounded chain below.
## Modeling thinks from an authenticated Body observation (2026-07-15)
Coordinator-owned Modeling launch observes the bound repository before worker
thought and seals a typed `RepositoryBodyObservationBasis` into the immutable
launch. Modeling output contract v3 requires an exact worker-authored echo.
Result ingress reloads the launch and refuses missing, swapped, or non-Modeling
basis cargo. Mind admission review v1 and receipt v5 carry the same basis; the
admission CAS validates launch/result/review equality and the referenced
historical Body artifacts before copying it into the receipt. It never samples
current Body as a substitute. A valid historical basis remains admissible after
the repository changes because it proves what Modeling saw, not timeless
freshness. Direct Mind adoption and legacy migration remain explicitly
ungrounded rather than manufacturing retroactive evidence.
## Readiness join remains deliberately impossible (2026-07-15)
Modeling audited the next ownership seam after the Body observer landed. Mind is
the only coherent owner for a derived repository-readiness projection, but the
inputs required to emit observed-ready-at do not exist yet: RepoModel admission
grounded to the exact current Body manifest and exact workspace-retrieval
coverage for that same manifest. The existing
remaining input required to emit observed-ready-at does not exist yet: exact
workspace-retrieval coverage for that same Body manifest. RepoModel admission
is now grounded to its exact pre-thought Body observation. The existing
semantic projector proves exact query eligibility for an admitted RepoModel
projection; the legacy workspace retrieval JSON manifest proves only path/size/
mtime/chunk cache agreement. Do not join its `Ready` label, empty dirty paths,
@ -1673,8 +1686,8 @@ readiness. Historical continuity was audited and rejected as another conceptual
substitution. The correct join observes Body root R1, validates every artifact,
observes R2, and emits only a time-bounded result when R1=R2. Watchers and Hands
receipts trigger recomputation; they never replace either observation. Build
order is exact Body-grounded RepoModel admission, typed Body-bound retrieval
coverage, the Mind-owned race-safe join, then deletion of local interpretations.
order is now typed Body-bound retrieval coverage, the Mind-owned race-safe join,
then deletion of local interpretations.
The deployment next action is unchanged and permission-bound. Do not reboot
without exact live operator approval. With that approval, run the real