Execute sealed workspace coverage projections

This commit is contained in:
Meta Vens 2026-07-15 23:45:22 +01:00
commit aa6b3efe4c
6 changed files with 787 additions and 20 deletions

View file

@ -890,20 +890,26 @@ the indexed content. Receipt/head constructors and writers remain projector-
private. Live query eligibility re-observes Qdrant; a stored receipt proves only
that one exact observation completed.
The crate-private acquisition/failure foundation now exists but is deliberately
not production-reachable. Acquisition rechecks the exact current Body chain,
verifies historical bytes, excludes empty/oversize/non-UTF-8 files, derives the
named UTF-8-safe 96-line/8-line-overlap chunks, and CAS-installs immutable
obligation/plan plus a running claim/attempt in the Body store. Failure can
terminalize the exact attempt after Body advance and cannot publish a receipt or
head. There is no Qdrant actuator, terminal-success path, recovery path, service
pulse, query gate, or readiness claim yet.
The crate-private execution path now exists but remains deliberately
production-unreachable. It validates plan-sealed text hashes and vector
dimensions, creates or authenticates one exact managed claim/epoch Qdrant
collection, writes no empty upsert, whole-scrolls typed payloads, rejects cyclic
pagination plus duplicate/extra/missing/substituted points, and terminal-CASes
the receipt/head against the exact current Body authority, immutable plan,
running claim/attempt, and prior coverage head acquired at start. A CAS loser
cannot mint a receipt; failure can terminalize after Body advance.
The service shell remains an explicit design fork. Reusing the reserved memory
semantic-projector process minimizes process machinery but risks mixing
Mind/Modeling projection authority with repository Body coverage. A dedicated
workspace-coverage projector preserves ownership more visibly. Do not wire a
convenient CLI or generic job while this is unresolved.
The service fork is resolved in favor of a dedicated workspace-coverage
projector. Before it becomes reachable, claims must bind an executor
incarnation and startup lifecycle receipt authenticated by the reserved managed
service. The pulse needs an exact `Current` result to avoid endless reprojection
and a sealed text-rematerialization path rather than caller-supplied workspace
bytes. Abandoned-claim recovery may use only a newer latest managed launch and
its correlated ready heartbeat to fence the old incarnation in one Body-store
CAS. Time, Qdrant state, generic policy, process guesses, and caller strings are
not abandonment authority. If Body advanced, recovery terminalizes the stale
claim and lets normal acquisition derive a new plan; it never resurrects stale
work.
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

@ -1742,6 +1742,27 @@ terminal-success CAS, and abandoned-claim recovery before choosing either a
dedicated coverage service (preferred for ownership clarity) or a strictly
separated lane in the reserved memory semantic-projector process. No CLI shim.
## Exact coverage execution port (2026-07-15)
The crate-private projector now executes a sealed plan through the shared typed
Qdrant boundary. It validates text hashes and vector dimensions, authenticates
exact collection metadata, skips empty upserts, observes the whole typed
collection, rejects cyclic page offsets and duplicate/extra/missing/substituted
point payloads, and publishes receipt/head only through an exact terminal CAS
over Body authority, obligation, plan, claim, attempt, and the prior coverage
head seen at acquisition. Body advance and stale-head competitors cannot mint
success; ordinary failures terminalize the exact running attempt.
This is still sealed foundation, not operational coverage. The dedicated
workspace-coverage service is now the chosen owner, but claims first need an
authenticated executor incarnation/startup receipt. Its pulse also needs an
exact already-current classification and sealed chunk-text rematerialization.
Recovery must consume a newer latest reserved-service launch plus its correlated
ready heartbeat and fence the old claim in one Body-store CAS. Timeouts, generic
managed policy, Qdrant contents, and process guesses are forbidden recovery
authority. If Body advanced, terminalize the obsolete claim and acquire a fresh
plan; never resurrect it.
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.