Bind workspace coverage to Repository Body

This commit is contained in:
Meta Vens 2026-07-15 22:46:30 +01:00
commit e46800e398
7 changed files with 772 additions and 1 deletions

View file

@ -853,5 +853,23 @@ live bytes against Body hashes, builds a Body-root/policy/index-epoch isolated
Qdrant projection, observes its deterministic point set, and only then publishes
an immutable CultCache coverage receipt. Qdrant remains disposable.
## Body-bound workspace coverage substrate (2026-07-15)
`workspace_retrieval_coverage.rs` now defines the truthful contract boundary
without pretending the projector exists. Obligation derivation reloads the exact
historical Body manifest through the authenticated runtime Body-store route;
callers cannot hand it a manifest-shaped claim. One versioned policy classifies
every ordered Body entry and seals the complete classification set into the
obligation. A separate projection plan seals chunker, projection, embedding, and
expected point-set identity, while deriving its physical Qdrant collection from
the Body-bound authority instead of accepting a caller-selected namespace.
Receipts validate only when an exact Qdrant scroll observation matches that
sealed plan, and heads join one workspace, obligation, plan, and receipt. This
module has no store writer, Qdrant actuator, query gate, or readiness writer.
The next organ must own CAS persistence and execution: verify eligible bytes
against the historical Body hashes, project, scroll-observe, then atomically
publish the receipt/head. Until then coverage remains absent.
This map must change when ownership changes. Historical scars belong in git,
evidence, or an explicitly archived note—not in the machine's Modeling state.

View file

@ -1705,6 +1705,23 @@ project into a Body-root/policy/epoch isolated collection, observe the exact
expected point set, and publish an immutable CultCache coverage receipt. Do not
resurrect the JSON manifest as a compatibility source.
## Body-bound coverage contracts landed (2026-07-15)
The native coverage substrate now admits only an authenticated historical Body
manifest, exhaustively classifies its entries under a versioned policy, and
seals Body/policy/classification identity into an immutable obligation. A typed
projection plan binds the exact expected point set and derives an epoch-isolated
Qdrant collection from Body plus projection/embedding authority; the caller has
no collection-name lever. Receipt/head validators require an exact scroll-
observed point set and exact obligation/plan join.
This is contract substrate, not operational coverage. There is deliberately no
persistence writer, projector, Qdrant call, query eligibility path, or readiness
join. Next action: build the single CAS-owned projector/store path that verifies
eligible live bytes against the selected Body manifest, executes the sealed
plan, scroll-observes the physical point set, and only then publishes the
receipt and head.
The deployment next action is unchanged and permission-bound. Do not reboot
without exact live operator approval. With that approval, run the real
reboot/logon recovery proof already specified above.