From 161121ef57a966ce1648a21856e289f63a832508 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Mon, 10 Aug 2026 03:01:50 +0100 Subject: [PATCH] Map remaining retention owners --- notes/epiphany-current-algorithmic-map.md | 75 +++++++++++++++++++++++ notes/fresh-workspace-handoff.md | 23 +++++++ state/map.yaml | 4 +- 3 files changed, 100 insertions(+), 2 deletions(-) diff --git a/notes/epiphany-current-algorithmic-map.md b/notes/epiphany-current-algorithmic-map.md index c59ff4d3..6b80238a 100644 --- a/notes/epiphany-current-algorithmic-map.md +++ b/notes/epiphany-current-algorithmic-map.md @@ -2552,3 +2552,78 @@ construction/inspection under `.epiphany-run/linux-package-16c4b19f`. Coordinator receipt retention is accepted. It does not pretend to solve runtime session/model/event/tool retention. + +## Remaining semantic and conversation retention owner map + +The remaining histories are not one family and must not share a generic age +deleter. + +### Semantic projection lifecycle + +- Owner: each canonical Mind or Modeling source store owns its semantic + obligations, scope claim, executor grants, attempts, recovery authorizations, + and index receipts. The semantic executor owns physical Qdrant epoch cleanup + only after canonical evidence proves an epoch is inactive. +- Live inputs: the authenticated current source head and its exact obligation; + the singleton scope claim; any running attempt; the grant or recovery + authorization named by that claim; and the exact succeeded attempt/receipt + admitted by the current query-readiness gate. +- Retirable inputs: older obligations whose source generation is no longer the + authenticated head, plus their terminal attempts, receipts, and consumed + grant/recovery documents, provided none is referenced by the current claim or + current readiness chain. +- Output: one typed per-scope retention head with cumulative type/status counts, + retired generation count, and chained digest, replacing the exact old + lifecycle envelopes under the source store's full-snapshot fence. It is + evidence only and cannot deserialize as obligation, claim, grant, attempt, + authorization, or receipt. +- Fail-closed cut: skip logical retirement while the current scope claim or its + attempt is running. Never retire the current obligation, scope claim, current + claim authority, or current readiness receipt. Unknown rows remain + byte-identical. +- Physical cut: after logical retirement proves an epoch inactive, Qdrant may + delete only points carrying that exact retired + `(obligation_id, claim_id, claim_epoch)` namespace. It cannot infer deletion + from age or collection membership, cannot touch the active receipt namespace, + and cannot decide query readiness. A missing backend leaves harmless garbage, + not incorrect canonical state. +- Negative proof: the retention head cannot make query readiness true, cannot + acquire/recover a claim, and cannot resurrect an obligation. Current semantic + query results remain identical; stale CAS refuses; unrelated canonical rows + and the active physical epoch remain byte-identical. + +Current source grounds this cut: readiness and execution authenticate the +current obligation and singleton scope claim, while attempts and receipts are +enumerated history filtered back to that chain. The executor grant and recovery +authorization are claim authorities and therefore enter the preservation set +through the claim rather than through recency. + +### Persona conversation lifecycle + +- Owner: Heartbeat owns whether the Persona turn is terminal and no longer + schedulable. Runtime owns the Projector/Persona/Interpreter stage receipts, + effect document, effect intents, delivery evidence, terminal model receipt, + and conversation execution receipt. Bifrost crossing stores own signed + request/receipt audit evidence. No one store can infer whole-chain closure + alone. +- Live inputs: a reserved/nonterminal `PersonaTurnRequest`, missing conversation + execution receipt, started effect intent, pending signed delivery, absent or + unverified crossing receipt, or terminal Heartbeat state still needed for + reconciliation. +- Retirable family: only a turn with exact model terminal, effect document and + stage receipts, terminal Heartbeat receipt, terminal conversation execution + receipt, every effect intent terminal, and any external consequence bound to + signed terminal delivery evidence. Failed/unknown delivery remains durable + non-retry evidence, not disposable failure noise. +- Required tombstone: exact turn/request/effect/stage/delivery identities and + terminal outcome must remain sufficient to reject replay after detailed rows + retire. Deleting runtime rows without this identity barrier would let + `execute_persona_model_turn` recreate a previously consequential turn. +- Shared cut: terminalization and later reconciliation must consult the same + archived-turn barrier. Runtime retention cannot delete Heartbeat or Bifrost + rows; their owners need corresponding bounded audit policies before the whole + conversation family is physically bounded. + +Persona conversation retention therefore follows semantic lifecycle retention. +It requires a cross-store preservation map and replay barrier; it is not a safe +extension of completed model-session archival. diff --git a/notes/fresh-workspace-handoff.md b/notes/fresh-workspace-handoff.md index 5a1e9afd..158ec66f 100644 --- a/notes/fresh-workspace-handoff.md +++ b/notes/fresh-workspace-handoff.md @@ -1640,3 +1640,26 @@ Next map semantic and conversation-wide history retention before editing. Name the producer, live-authority preservation set, closure predicate, retirement evidence, and negative non-resurrection proof for each family. Active c005 stays untouched and Yggdrasil never builds. + +## Next retention owners mapped — 2026-08-10 + +Semantic projection lifecycle and Persona conversation lifecycle are distinct +cuts. For semantic projection, the canonical source store owns logical history: +preserve the authenticated current obligation, singleton scope claim, current +claim authority, running attempt, and exact readiness chain; retire only older +source generations and their terminal/consumed lifecycle documents under a full +snapshot fence. A typed per-scope head is evidence only. Physical Qdrant epoch +garbage is a second semantic-executor action bound to exact retired epoch +identity; backend failure may leak space but cannot change readiness. + +Persona conversation retirement is cross-store and comes later. Heartbeat owns +terminal scheduling, runtime owns stage/effect/execution evidence, and Bifrost +owns signed delivery audit. A durable archived-turn identity barrier is required +before runtime details can retire, otherwise the model executor can recreate a +previously consequential turn. Failed/unknown delivery evidence must continue +to prevent automatic retry. + +Implement semantic logical lifecycle retention first. Refuse while the current +claim/attempt is running, preserve every current-chain reference explicitly, +replace only exact older terminal generations plus one typed head under a full +snapshot fence, and prove the head cannot open readiness or claim authority. diff --git a/state/map.yaml b/state/map.yaml index 2c85a6e1..97fd4ff4 100644 --- a/state/map.yaml +++ b/state/map.yaml @@ -38,7 +38,7 @@ current_status: summary: Epiphany is a supervised engineering alpha on Starfire, not deployment-ready. Exact b8138a6b active-child SIGTERM and restart, exact 9f369528 deterministic warm packaging, exact c930f505 cross-container ownership, exact ed15f83a resident lifecycle retention, exact 16c4b19f coordinator receipt and Heartbeat artifact retention, exact cce2b8ac narrow model-generation retention, and exact eea15e82 model-turn JSON ingress are proven. Gamecult-ops 059821f makes journald the sole Yggdrasil supervisor/projector stream-retention owner. Exact 16c4b19f genuine idle and exact a987d2f7 active cognition completed 900-pulse bounded plateaus. Runtime-owned typed fulfillment is accepted live under exact 6dd9b132. Stable Starfire firewall ownership and broader semantic/conversation retention remain open. Yggdrasil is the small public crossing body, never the release forge. latest_phase: Exact eea15e82 packaged warning-free with 24 binaries as release sha256-6a45bef43ef9f4ecbdc2ba69b8dfee9edf9bb085ce0d482c1ad1649b35464186 and witness sha256-088393f4eb9784819250f6a6b44d73bc92c9d889c4eaa2a0a13868c6c71f7cda. On copied live state, a published epiphany.model_request.v0 object completed in 5.9 seconds through direct Responses transport with pass verdict, two events, and zero tools; the exact request persisted and its session closed. The old positional CultCache array exited 1 at JSON parsing, created no request, and left runtime SHA-256 944494eeb6416e3123a2cb65e00e9e130c130f7c1ec8988f810bb48d55dc83da unchanged. A stale cached release worktree was removed with receipts after its vanished gitdir blocked packaging; the stable cache worktree is reconstructed. operational_state: - local_worktree: model_turn_json_boundary_packaged_live_proven_acceptance_refresh_uncommitted + local_worktree: semantic_and_conversation_retention_owners_mapped_uncommitted operator_wireguard: restored yggdrasil: canonical_small_public_crossing_body starfire: temporary_epiphany_cognition_body @@ -69,7 +69,7 @@ current_status: yggdrasil_epiphany_service_contract: repaired_in_gamecult_ops_812b427_not_installed resident_physiology: authenticated_9b8df0b4_c005_bound_to_eyes_tools_nervous_system_with_217dd_and_bd96305e_helpers_running unresolved_authority: Coordinator receipt, Heartbeat pulse-artifact, deployed supervisor/projector log retention, genuine-idle and active resource plateaus, exact-grant terminality, restart-persistent cooldown refusal, schedule/action issuance cardinality, runtime-owned typed fulfillment, narrow model-generation retention, and published model-turn JSON ingress are accepted. Semantic and conversation-wide runtime histories remain separate/unbounded. Repository Body observation still performs two authenticated full-tree Git index/manifest passes. Execute-mode workers require a persistent process body. Keyed storage has not earned live migration. One Discord consequence remains blocked by the absent Yggdrasil credential. - next_action: Map bounded retention for semantic and conversation-wide runtime histories before editing: name each producer, liveness authority, closure predicate, retention head/tombstone, exact deletion set, and non-resurrection proof. Then implement the smallest coherent owner cut and exercise it only on copied state. Preserve active c005. Yggdrasil never builds. + next_action: Implement semantic logical lifecycle retention first in the canonical source store. Refuse while the current scope claim/attempt is running; preserve the authenticated current obligation, singleton claim, its authority, and exact readiness chain; replace only older terminal generations with one typed per-scope evidence head under a full-snapshot fence. Prove stale-CAS refusal, unrelated-row identity, and that the head cannot open readiness or claim authority. Physical Qdrant epoch GC and cross-store Persona conversation retirement remain separate following cuts. Preserve active c005. Yggdrasil never builds. active_subgoals: - Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.