Map workspace coverage storage cut
This commit is contained in:
parent
261c7bc801
commit
7559419f14
3 changed files with 112 additions and 12 deletions
|
|
@ -905,23 +905,72 @@ publish the receipt/head. Until then coverage remains absent.
|
|||
|
||||
### Projector authority map
|
||||
|
||||
Coverage state belongs in the Repository Body CultCache store. That is the only
|
||||
existing lock domain able to CAS the exact Body head and its immutable evidence
|
||||
with coverage obligation, plan, claim, attempt, receipt, and head. The runtime
|
||||
store remains only the immutable route to that Body store. Qdrant mutation stays
|
||||
outside the transaction; a lost terminal CAS leaves disposable orphan vectors,
|
||||
not counterfeit readiness.
|
||||
Repository Body owns observed substrate only: its binding, immutable
|
||||
observations/manifests, and current Body head. Projection activity must not
|
||||
rewrite `body.cc`. Live Yggdrasil candidate `c94fa580` falsified the old shared-
|
||||
store ownership by attributably rewriting `body.cc` while projection ran; it
|
||||
remains rejected.
|
||||
|
||||
The sealed execution path is acquire against the exact current Body chain,
|
||||
Commit `261c7bc8` adds the pinned transactional store foundation. The runtime
|
||||
record `epiphany.runtime.workspace_coverage_store_binding.v0` selects one
|
||||
canonical store path and file identity while sealing the exact repository Body
|
||||
route/envelope and Body-binding hash. The store-local
|
||||
`gamecult.epiphany.workspace_coverage_store_binding.v0` repeats runtime, swarm,
|
||||
workspace, file identity, Body-binding hash, repository source identity,
|
||||
projection scope, and backend. `open_workspace_coverage_authority` validates
|
||||
both bindings and returns the owned transactional store together with exact
|
||||
read-only Body authority. A naked path is never sufficient.
|
||||
|
||||
The workspace-coverage store owns obligation, plan, immutable claim/attempt and
|
||||
recovery history, current-claim authority, checkpoint events/head, progress
|
||||
events/latest, terminal receipt, coverage head, and retirement history. Qdrant
|
||||
is disposable derived state. This ownership is the target, not yet the live
|
||||
implementation: commit `261c7bc8` provides bindings and transactional keyed
|
||||
storage, but existing projector writers still persist projection records in
|
||||
Body or local Verse.
|
||||
|
||||
Inputs are the exact pinned Body route/binding and current observation basis,
|
||||
sealed policy/plan/model identity, authenticated managed launch and provider
|
||||
incarnation, exact Idunn recovery evidence, and waited Qdrant readback. Outputs
|
||||
are the typed lifecycle/proof records above. Current claim, progress, coverage,
|
||||
warming, active, readiness, and query eligibility are derived joins; none may
|
||||
be manufactured by a path, heartbeat, Qdrant count, or stale head.
|
||||
|
||||
Forbidden writers are explicit: Body observer/bootstrap never writes projection
|
||||
state; projector/checkpoint/recovery never writes Body; local Verse retains
|
||||
managed process lifecycle but not coverage progress; Idunn, deploy scripts,
|
||||
health, heartbeat, Qdrant, Eve, and swarm overview cannot advance coverage
|
||||
authority.
|
||||
|
||||
The shared execution path resolves the runtime coverage binding, opens exact
|
||||
Body read authority, then acquires against the exact current Body chain,
|
||||
verify every included live file against its historical length and SHA-256,
|
||||
derive deterministic chunks and UUIDv5 point descriptors, embed and write into
|
||||
a claim/epoch-fenced plan collection, scroll the whole collection with typed
|
||||
payloads, then terminal-CAS success against the still-current Body head. Plans
|
||||
payloads, then terminal-CAS success in the coverage store after reopening and
|
||||
reauthenticating the still-current Body head. Plans
|
||||
must seal an ID-to-payload binding root; equal counts or equal IDs do not prove
|
||||
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.
|
||||
|
||||
Each waited batch/readback must transactionally admit its checkpoint event/head
|
||||
and derived progress event/latest together in the coverage store. Cross-store
|
||||
atomicity is not invented: Body is authenticated before the coverage CAS and
|
||||
reopened afterward; if it moved, the projection evidence remains historical and
|
||||
cannot become current. Claim authority is scoped to Body generation so an old
|
||||
running claim cannot block new Body work. Same-Body abandoned-owner recovery
|
||||
remains possible only through exact Idunn predecessor termination and
|
||||
replacement authority.
|
||||
|
||||
Migration/cut line: quiesce projection, create and bind the coverage store,
|
||||
copy projection envelopes from Body and progress envelopes from Verse while
|
||||
preserving exact envelopes/digests, validate every chain, activate the runtime
|
||||
binding as the single authority switch, then CAS-remove legacy records. After
|
||||
activation legacy residue is inert. Missing binding, divergent sources, or
|
||||
partial migration fail closed. No dual-read or fallback path survives. Every
|
||||
bootstrap/deploy path must create the bound store before service start.
|
||||
|
||||
The execution path is reachable only through the reserved packaged workspace-
|
||||
coverage projector managed by Idunn. It validates plan-sealed text hashes and vector
|
||||
dimensions, creates or authenticates one exact managed claim/epoch Qdrant
|
||||
|
|
|
|||
|
|
@ -1,5 +1,56 @@
|
|||
# Fresh Workspace Handoff
|
||||
|
||||
## Workspace coverage storage cut is founded, not migrated — 2026-07-17
|
||||
|
||||
Live Yggdrasil evidence rejects `c94fa580` as a deployment candidate. During
|
||||
that candidate, `body.cc` was rewritten by workspace-projection activity rather
|
||||
than repository observation. The rewrite is attributable to the surviving
|
||||
coverage writers sharing the Body store; it is not evidence that the Body
|
||||
observer changed repository substrate. Body owns observed substrate only:
|
||||
binding, immutable observations/manifests, and the current Body head.
|
||||
|
||||
Commit `261c7bc8` lands the replacement foundation. A runtime-side immutable
|
||||
`epiphany.runtime.workspace_coverage_store_binding.v0` route and store-local
|
||||
`gamecult.epiphany.workspace_coverage_store_binding.v0` bind a separate
|
||||
transactional `workspace-coverage` store to runtime, swarm, workspace,
|
||||
canonical path and file identity, exact repository Body route/envelope,
|
||||
Body-binding hash, and repository source identity. Transactional keyed
|
||||
CultCache admission is pinned beneath it. This is routing and storage
|
||||
foundation, not completion: obligation, plan, claim, attempt, recovery,
|
||||
checkpoint, progress, terminal receipt, coverage head, and retirement writers
|
||||
have not yet been migrated from Body/local Verse.
|
||||
|
||||
Authority map:
|
||||
|
||||
- Owner: the workspace-coverage store owns projection lifecycle and proof;
|
||||
repository Body owns observations only.
|
||||
- Inputs: the exact pinned Body route/binding and current observation basis,
|
||||
sealed inclusion/projection/model plan, authenticated launch/provider
|
||||
incarnation, Idunn recovery authority, and waited Qdrant readback.
|
||||
- Outputs: immutable obligation/plan and claim/attempt/recovery history,
|
||||
checkpoint/progress events and heads, terminal receipt/coverage head, and
|
||||
retirement history.
|
||||
- Derived state: current claim, progress, coverage, warming, active, and query
|
||||
eligibility are joins over those records plus freshly revalidated Body and
|
||||
Qdrant; no store path or old head is truth by itself.
|
||||
- Forbidden writers: Body observer/bootstrap cannot write projection state;
|
||||
projector/checkpoint/recovery cannot write Body; local Verse, Idunn,
|
||||
heartbeat, health, deploy scripts, Qdrant, and presentation cannot advance
|
||||
coverage heads.
|
||||
- Shared path: prepare, acquire, each waited batch/readback, resume/recovery,
|
||||
final whole-scroll, health, and readiness resolve the same runtime binding,
|
||||
reopen exact Body read authority, and transact only through the pinned
|
||||
coverage store. Checkpoint and progress must admit atomically.
|
||||
- Cut line: migrate every projection envelope and bootstrap the binding, switch
|
||||
authority once, then remove Body/Verse writers and readers. Preserve exact
|
||||
signed envelope identities where predecessor digests depend on them. There
|
||||
is no dual-read or missing-binding fallback.
|
||||
|
||||
Next: perform that writer/bootstrap migration, prove Body bytes remain unchanged
|
||||
through projection, and only then build a new live Yggdrasil candidate. Keep
|
||||
`c94fa580` rejected; do not lengthen a timeout or reinterpret its rewrite as an
|
||||
observer fault.
|
||||
|
||||
## Signed Yggdrasil deployment admission cut complete locally — 2026-07-17
|
||||
|
||||
The failed GPU pressure run was a pipeline-contract failure, not a CUDA
|
||||
|
|
|
|||
Reference in a new issue