Map runtime receipt retention authority
This commit is contained in:
parent
0888491292
commit
7001940aeb
3 changed files with 79 additions and 1 deletions
|
|
@ -2148,3 +2148,65 @@ lifecycles/six exact envelopes into a revision-1 head with chain digest
|
|||
Two pending pressures survived, grants and acknowledgements remained empty,
|
||||
and replay did not advance the head. Resident lifecycle retention is accepted;
|
||||
the next retention owner must be mapped independently.
|
||||
|
||||
## Runtime and coordinator retention authority map
|
||||
|
||||
The copied c005 runtime store currently contains 22 coordinator run receipts,
|
||||
20 jobs/results, 7 sessions, 482 runtime events, 13 native plus 13 OpenAI model
|
||||
requests (about 2.9 MiB of duplicated prompt cargo), 72 model stream events, 13
|
||||
receipt pairs, 7 worker launches, and the accepted Mind/Modeling/Hands frontier.
|
||||
These are not one retention family merely because they share a file.
|
||||
|
||||
### Coordinator run receipts
|
||||
|
||||
- **Owner:** the runtime spine writes `EpiphanyCoordinatorRunReceipt`; the
|
||||
resident Self process is its only live authority consumer.
|
||||
- **Live input path:** after an active child exits zero, Self scans receipts for
|
||||
the exact `thread_id` plus `resident_launch_digest`, then validates the full
|
||||
launch contract before emitting its terminal acknowledgement. A receipt is
|
||||
not present while the child is still active; a valid terminal receipt is
|
||||
therefore the newest receipt at the completion boundary.
|
||||
- **Other references:** resident state records the latest receipt ID and
|
||||
terminal acknowledgements record their source ID. CultMesh Hands gates and
|
||||
role-review events also carry the ID, but source inspection finds no lookup
|
||||
from those mirrors back into the runtime receipt store; each mirror is a
|
||||
self-contained provenance projection.
|
||||
- **Derived state:** old coordinator receipts are historical evidence after
|
||||
resident terminal acknowledgement. Their artifact references do not own the
|
||||
referenced files and cannot be used as a file-retention decision.
|
||||
- **Output:** one runtime-owned typed accumulator head with cumulative terminal
|
||||
counts and a chained digest. It is never returned by
|
||||
`coordinator_run_receipts` and cannot satisfy resident completion.
|
||||
- **Preservation set:** retain a configurable newest global window (default
|
||||
256) plus any explicit IDs supplied by a cross-store caller. The newest
|
||||
receipt is always retained, even if the configured historical window is
|
||||
zero, because it may be crossing the child-exit/terminal-ack seam.
|
||||
- **Forbidden writers:** resident Self cannot directly delete runtime rows;
|
||||
CultMesh projection, artifact cleanup, and wall-clock age cannot decide
|
||||
receipt liveness.
|
||||
- **Deletion line:** exact old receipt envelopes and replacement of the one
|
||||
accumulator head must share a full-snapshot-fenced transaction. Unknown
|
||||
runtime rows remain byte-identical.
|
||||
- **Negative verification:** the accumulator alone must not appear in receipt
|
||||
enumeration, match a thread/launch digest, terminalize a lease, or change the
|
||||
accepted coordinator frontier.
|
||||
|
||||
### Session, job, event, model, and tool history
|
||||
|
||||
- **Owner:** runtime session closure owns the eventual archive boundary. Model
|
||||
transport owns request/event/receipt families only while a request can still
|
||||
receive stream events or construct a tool follow-up. Tool follow-up directly
|
||||
reloads the original native model request and its tool intent/receipt chain.
|
||||
- **Current authority:** open sessions/jobs, waiting review, accepted role
|
||||
results, pending tool intents, current Self/Mind requests, and the coordinator
|
||||
thread state remain live. `runtime_spine_status` and operator list commands
|
||||
currently enumerate complete history; those counts are observation, not a
|
||||
right to keep unbounded authority forever.
|
||||
- **Deletion line:** no broad runtime or semantic compaction until a typed
|
||||
archived-session summary owns the closed family and all cross-family IDs
|
||||
needed by the accepted frontier are explicitly preserved. Model requests
|
||||
must not be removed merely because a model receipt exists; tool follow-up and
|
||||
review/recovery readers must first be closed.
|
||||
|
||||
The next bounded implementation is coordinator receipt accumulation only. It
|
||||
must not pretend to solve runtime session/model/event retention.
|
||||
|
|
|
|||
|
|
@ -1078,3 +1078,19 @@ left the head unchanged. Active c005 remained running and untouched.
|
|||
|
||||
Resident lifecycle retention is accepted. Next map coordinator receipt and
|
||||
semantic/runtime history references before choosing the next compaction owner.
|
||||
|
||||
The next owner map is now source-grounded. c005's copied runtime store has 22
|
||||
coordinator receipts, 20 jobs/results, 7 sessions, 482 events, and roughly 2.9
|
||||
MiB of duplicated native/OpenAI model requests. Do not compact this as one
|
||||
family. Resident Self is the only live authority reader of coordinator run
|
||||
receipts: after child exit zero it requires exact thread plus launch digest and
|
||||
then validates the full launch contract. CultMesh Hands/review mirrors carry
|
||||
the receipt ID but do not resolve it back into runtime authority.
|
||||
|
||||
The bounded next slice is coordinator receipts only: runtime owns one digest
|
||||
accumulator, preserves a configurable newest window plus explicit cross-store
|
||||
IDs, and always preserves the newest receipt across the child-exit/ack seam.
|
||||
The accumulator must not enumerate as a receipt or satisfy resident completion.
|
||||
Session/job/event/model/tool retention remains forbidden until typed archived
|
||||
session ownership closes tool follow-up, review, recovery, and accepted-frontier
|
||||
references.
|
||||
|
|
|
|||
|
|
@ -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 run receipts and broader semantic/runtime histories remain unbounded and require owner-specific typed non-authority accumulators plus exact reference-aware deletion. Supervisor stdout/stderr are truncated only at launch and unbounded during a long-lived process; the fatal log is append-only. 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: Source-ground every coordinator receipt reference and semantic/runtime retention owner before editing, then implement the smallest reference-safe compaction slice. After that settle supervisor log ownership with the infrastructure runbook, run a packaged Heartbeat retention proof, and measure idle/active endurance.
|
||||
next_action: Implement runtime-owned coordinator receipt accumulation only: preserve the newest receipt plus a configurable historical window and explicit cross-store IDs; atomically replace one non-authority head while deleting exact old receipts; prove the head cannot satisfy resident completion. Do not compact session/model/event/tool history until typed archived-session ownership exists. Then settle supervisor log ownership, run packaged Heartbeat retention, and measure idle/active endurance.
|
||||
|
||||
active_subgoals:
|
||||
- Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.
|
||||
|
|
|
|||
Reference in a new issue