Separate cognitive and release runtime identity

This commit is contained in:
Meta Vens 2026-08-09 19:49:56 +01:00
commit e09104a7dd
4 changed files with 235 additions and 20 deletions

View file

@ -1304,7 +1304,29 @@ Typed pressure does not own a new coordinator thread. Imagination
consideration, admitted-model direction consideration, and autonomous proposal
Modeling requests each carry the implementation thread that owns their causal
state. Resident preparation reloads that exact request from the runtime store,
verifies its runtime identity, and binds its thread into the coordinator argv.
verifies its runtime identity against the immutable identity of that mounted
runtime store, and binds its thread into the coordinator argv. The release
publication runtime is a separate authority: it authenticates the packaged
binary body but does not decide which cognitive runtime owns a typed request.
This distinction matters in the live Starfire topology, where release runtime
`epiphany-starfire-linux` mounts the Eyes cognition store whose identity is
`epiphany-starfire-linux-eyes-tools`. Comparing a request to the release
runtime falsely rejects valid local cognition; comparing it to its own store
still refuses a request imported from a foreign runtime.
The live identity matrix is explicit:
- packaged-release witness runtime authenticates the binary publication;
- mounted runtime-store identity owns coordinator execution, request identity,
runtime mutation, and the coordinator's `--runtime-id`;
- local-Verse brake identity is the namespace read by the process using that
Verse store and must contain the canonical brake entry;
- Persona feedback target identity belongs to the feedback crossing contract
and is not silently rewritten when cognition mounts a narrower runtime.
Plain operator objectives also execute against the mounted cognitive runtime
and derive `resident-self-thread-{cognitive-runtime}`. They do not get a second
runtime truth merely because no typed domain request supplied one.
The prepared argv is then the single source for child launch and lease thread
identity. Only plain operator objectives use the resident runtime thread.
`epiphany-swarm` no longer reconstructs a fixed thread after preparation.

View file

@ -1114,6 +1114,45 @@ requeue. This cut is not packaged yet. Commit and publish it, package the exact
source with the persistent Starfire cache, authenticate all 24 binaries and
witness, then use only that release for active cognition endurance.
Commit `30a63d63` packaged after a failed-closed construction-cache repair.
The clone initially lacked declared submodules; after exact initialization the
constructor found the known stale
`source-fb4097c8f489c830678f32a39e818cf462bff5c1fe853bc12d106184c9bfd571`
worktree whose Git common-dir named a deleted clone. Only that verified 57 MiB
source directory was removed; Cargo home and target caches survived. The same
container then completed in 8m26s. Exact release is
`sha256-a1e8a0985573f7bacf5316c62080ed4bfb8b00c7214331e0baf775d24a7a50a4`;
witness is
`sha256-473482113ac16e6656e2cb02582ee5696818b3255a7184960e8839aa291bf3b9`.
Independent packaged inspection accepted exact source and all 24 Linux ELF
binaries with zero warnings.
The first real active-cognition attempt is preserved under
`.epiphany-run/active-cognition-30a63d63`. Packaged publication into the copied
Verse and both canonical brake releases succeeded. Heartbeat moved from
braked to `active-coordinator-turn`, but Self failed before preparation with
`resident typed request escaped its runtime or thread authority`; no worker or
external consequence launched. A quarantined read-only typed-state diagnostic
proved the request was valid, unresolved, and owned by runtime
`epiphany-starfire-linux-eyes-tools` on thread `linux-eyes-tools-c005`, while
the policy's `release_runtime_id` was `epiphany-starfire-linux`. The code had
collapsed binary-publication identity and cognitive-store identity. Both
brakes were re-engaged. Self exited 1; the manually stopped Heartbeat required
kill after its 15-second stop window and exited 137, so this run is failed
evidence, not endurance acceptance.
The source cut now loads the mounted runtime store's immutable
`EpiphanyRuntimeIdentity`; that one owner supplies typed request validation,
plain-work thread identity, and the coordinator's `--runtime-id`. Release
runtime identity remains binary-authentication authority only. Persona feedback
target identity remains crossing-owned rather than being mass-renamed. The
diagnostic error now names safe request/kind/runtime identities, a negative test
proves a request from a foreign runtime still fails closed, and differing-ID
tests require both typed and plain prepared argv to name the cognitive runtime.
Twenty-four resident and eight swarm binary tests pass. Commit, package,
authenticate, then rerun from a fresh copy of the accepted idle baseline; do
not reuse the failed active body.
Resident lifecycle retention is now implemented in source. Resident Self's
serve/once owner invokes a configurable `--retained-closed-lifecycles` bound
(default 256). Only Heartbeat-consumed terminal lifecycles whose pressure still