Awaken the Body coverage projector service

This commit is contained in:
Meta Vens 2026-07-16 00:36:28 +01:00
commit 3be68ea0d4
14 changed files with 2618 additions and 107 deletions

View file

@ -911,5 +911,33 @@ not abandonment authority. If Body advanced, recovery terminalizes the stale
claim and lets normal acquisition derive a new plan; it never resurrects stale
work.
### Dedicated service and exact semantic proof
The dedicated service is now a real reserved managed body, not a generic job.
Its policy fixes the packaged sibling executable and exact runtime/Verse/
Qdrant/Ollama arguments. Startup authenticates the policy-bound launch receipt,
PID, executable hash, runtime identity, immutable Body-store route, and one
host-wide singleton. Claims and attempts bind that executor incarnation and
startup receipt.
Each pulse reloads only the persisted current Body basis, resolves the mutable
Ollama tag to its installed artifact digest, and probes dimensions. An exact
head/obligation/plan/receipt fast path returns Current without reading worktree
files. Needed work opens one authenticated Body read session, verifies every
eligible file and chunk, embeds only after claim acquisition, and observes both
typed payloads and exact stored vectors. Receipt identity includes the vector-
binding set; wrong, missing, nonfinite, or wrong-dimensional vectors cannot mint
success. Body history derives retirement candidates for terminal non-current
claim collections; current and running collections are preserved, and Qdrant
deletion requires exact managed metadata.
Recovery is deliberately not present. A newer launch and ready heartbeat prove
a successor exists, not that the old writer died. Honest recovery first needs a
supervisor-owned termination observation bound to host+boot incarnation,
process-instance identity, exact old launch/PID/executable/policy, and the old
launch-correlated heartbeat/provider incarnation. The existing process observer
collapses access failure/PID reuse too aggressively and cannot issue that proof.
Timeouts remain inadmissible.
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

@ -1763,6 +1763,39 @@ 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.
## Dedicated workspace coverage service proof (2026-07-16)
The dedicated service, binary, reserved supervisor policy, and specialized
CultMesh launch contract now exist. Generic policy and caller-selected command,
workspace, Body store, collection, or dimensions are rejected. Launch receipt,
PID, executable hash, runtime identity, immutable Body route, and host singleton
are authenticated before projection.
The service resolves the configured Ollama tag to its installed immutable
artifact digest on every pulse, probes its dimensions, and uses an exact Current
fast path that reads no repository files. Needed projection uses one
authenticated Body read session, verifies source bytes/chunks, embeds only after
claim acquisition, whole-scrolls Qdrant payloads plus vectors, and binds exact
point/payload/vector observations into the receipt before terminal CAS. Body
history owns retirement of terminal non-current claim collections; deletion is
metadata-gated and idempotent. Raw backend/filesystem errors no longer leak into
the operator-safe pulse projection.
Proof: 424 library tests passed, one ignored; core and OpenAI runtime all-target
checks passed. The ignored live smoke then passed against local Qdrant 1.17.1
and Ollama `qwen3-embedding:0.6b` (artifact digest
`ac6da0dfba84a81fdbfbaf330198c33cd77c4cdfc53e8bc50eb581914a15621d`,
1024 dimensions), proved exact vector observation and Current classification,
deleted its GUID-scoped collection, verified no coverage collection remained,
and restored the preflight-stopped Qdrant container state.
Recovery remains absent on purpose. A newer launch plus ready heartbeat is not
death evidence. Next build: strengthen native process observation with host+
boot and process-instance identity, then let the supervisor publish one
immutable termination observation bound to the exact old launch/PID/executable/
policy/heartbeat/provider. Only that proof plus a current replacement launch may
authorize one Body-store recovery CAS. Do not add timeout recovery.
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.