Map Continuity retention authorities
This commit is contained in:
parent
fdb64423c8
commit
e8707b524e
3 changed files with 118 additions and 4 deletions
|
|
@ -2046,3 +2046,89 @@ release `sha256-30caab9e...a1aec` and witness `sha256-89c2ad60...fdecf` in
|
|||
0.82s, and reproduced both identifiers. Independent inspection accepted both.
|
||||
The packaged full publisher accepted the narrow tool's witness and advanced the
|
||||
resident release Verse hash from `b160c610...3909` to `83ed430f...ae81`.
|
||||
|
||||
## Continuity retention authority map
|
||||
|
||||
Retention is not a janitor allowed to erase old-looking rows. Each store owner
|
||||
may retire only authority that its live readers can no longer interpret as
|
||||
work.
|
||||
|
||||
### Heartbeat artifacts
|
||||
|
||||
- **Owner:** Heartbeat owns pulse artifact retirement and its typed
|
||||
plan/receipt chain.
|
||||
- **Inputs:** exact pulse directories outside the newest configured window.
|
||||
- **Outputs:** a CAS-published plan and receipt naming the exact members.
|
||||
- **Derived state:** pulse history is diagnostic evidence; the in-store history
|
||||
projection is independently capped at 128 entries.
|
||||
- **Forbidden writers:** filesystem cleanup outside Heartbeat must not decide
|
||||
pulse liveness or manufacture retention receipts.
|
||||
- **Deletion line:** only plan members that still match their witnessed type,
|
||||
path, and digest may be removed. Symlinks, non-directories, drift, and unknown
|
||||
members fail closed.
|
||||
- **Verification layer:** existing tests prove boundedness, idempotence,
|
||||
exact-member refusal, and typed receipts. The remaining live audit must use
|
||||
the packaged path, not invent a second cleaner.
|
||||
|
||||
### Resident Self lifecycle rows
|
||||
|
||||
- **Owner:** resident Self owns pressures, Heartbeat grants, child claims, and
|
||||
terminal acknowledgements in `resident-self.cc`. Heartbeat may consume an
|
||||
acknowledgement through the typed CAS function; it does not own arbitrary
|
||||
deletion from the resident store.
|
||||
- **Inputs:** one fully closed lifecycle: a consumed terminal acknowledgement,
|
||||
its consumed grant, the pressure still bound to that grant in a final
|
||||
consumed state, and any child claim bound to the same launch.
|
||||
- **Outputs:** a typed retention head/receipt preserving a digest and count of
|
||||
retired lifecycle identities while carrying no scheduling authority.
|
||||
- **Derived state:** closed lifecycle history is evidence only. Pending
|
||||
pressures, unconsumed grants, prepared launches, active leases, and
|
||||
unconsumed acknowledgements remain live authority.
|
||||
- **Forbidden writers:** retention cannot change pressure status, clear an
|
||||
active/prepared lease, consume an acknowledgement, or infer closure from age.
|
||||
Brake and shutdown cancellations requeue their pressure and are not closed
|
||||
merely because they emitted a terminal acknowledgement.
|
||||
- **Shared path:** completion, failure, timeout, brake, and shutdown all reach
|
||||
the same lifecycle-closure predicate after Heartbeat consumption; no manual
|
||||
cleanup path may bypass it.
|
||||
- **Deletion line:** remove exact witnessed envelopes atomically only when the
|
||||
current state has no prepared or active reference to the grant and no
|
||||
pending acknowledgement exists. The test-only
|
||||
`ResidentSelfRuntimeReceipt` type is not a live retention target.
|
||||
- **Verification layer:** negative tests must prove that a retention head alone
|
||||
cannot create pending pressure, issue a grant, satisfy an acknowledgement,
|
||||
or resurrect a coordinator turn.
|
||||
|
||||
### Coordinator receipts
|
||||
|
||||
- **Owner:** the runtime spine owns coordinator run receipts. Resident Self
|
||||
stores only the latest receipt identity and terminal acknowledgements may
|
||||
reference an exact receipt.
|
||||
- **Inputs:** receipts older than the retained frontier and unreferenced by
|
||||
current resident state, pending acknowledgements, accepted coordinator
|
||||
state, or recovery paths.
|
||||
- **Outputs:** a typed accumulator preserving terminal counts/digests without
|
||||
pretending to be a runnable receipt.
|
||||
- **Forbidden writers:** resident retention cannot delete runtime receipts;
|
||||
runtime compaction cannot guess that cross-store references are dead.
|
||||
- **Deletion line:** no coordinator receipt retirement until the cross-store
|
||||
reference set and crash-recovery readers are source-grounded and tested.
|
||||
|
||||
### Supervisor stdout/stderr
|
||||
|
||||
- **Owner:** the daemon supervisor opens each service stdout/stderr path. A
|
||||
launch truncates those files, but output during one long-lived process is
|
||||
currently unbounded; the append-only fatal log is unbounded across launches.
|
||||
- **Forbidden writers:** an external truncator must not cut a file beneath an
|
||||
inherited child descriptor. That can leave the writer at its old offset and
|
||||
create sparse or misleading evidence.
|
||||
- **Intended boundary:** either the supervisor owns piped, bounded rotation with
|
||||
nonblocking drains and crash-safe receipts, or the deployment service manager
|
||||
owns rotation and the repo stops claiming file ownership. The infrastructure
|
||||
runbook must decide this boundary before code changes. The configured
|
||||
`gamecult-ops` drive is unavailable in this workspace, so this branch remains
|
||||
deliberately uncut rather than guessed.
|
||||
|
||||
The next implementation slice is resident lifecycle retention. It must use
|
||||
CultCache's exact-envelope atomic deletion surface, publish typed non-authority
|
||||
evidence, and prove negatively that retired history cannot re-enter scheduling.
|
||||
|
|
|
|||
|
|
@ -1010,3 +1010,31 @@ crossing receipt, signed Bifrost receipt, Starfire admission, and heartbeat
|
|||
terminalization. Transport acknowledgement is never speech success. Do not
|
||||
SFTP live stores, share private keys, run Bifrost actuation on Starfire, weaken
|
||||
the permit, or retry either sealed request.
|
||||
|
||||
## Continuity retention audit — 2026-08-09
|
||||
|
||||
The source-grounded retention authority map is now in
|
||||
`notes/epiphany-current-algorithmic-map.md`. Heartbeat pulse directories already
|
||||
have typed plan/receipt retention and in-store heartbeat history is capped at
|
||||
128. Resident Self pressure/grant/claim/ack lifecycle rows and runtime-spine
|
||||
coordinator receipts remain unbounded. The old `ResidentSelfRuntimeReceipt`
|
||||
shape is produced only by test-only reconciliation and is not a live target.
|
||||
|
||||
Resident lifecycle retirement may touch only a fully closed lifecycle after
|
||||
Heartbeat has consumed its terminal acknowledgement. It must atomically delete
|
||||
exact witnessed envelopes, publish typed digest/count evidence with no
|
||||
scheduling authority, and refuse pending pressure, unconsumed grants,
|
||||
prepared/active launches, unconsumed acknowledgements, and brake/shutdown
|
||||
cancellations whose pressure was requeued. Negative proof must show retained
|
||||
history cannot create pending work or resurrect a coordinator turn.
|
||||
|
||||
Coordinator receipt deletion remains forbidden until resident/current-frontier
|
||||
and recovery references are mapped. Supervisor stdout/stderr truncate at
|
||||
launch but grow without bound during a long-lived process; the fatal log grows
|
||||
across launches. Do not truncate beneath inherited child file descriptors.
|
||||
`E:\Projects\gamecult-ops` is unavailable in this workspace, so log ownership
|
||||
must wait for the infrastructure runbook rather than being guessed.
|
||||
|
||||
Next: implement the resident lifecycle retention organ and its negative tests,
|
||||
then audit coordinator references, packaged Heartbeat retention, supervisor log
|
||||
ownership, and the measured idle/active endurance plateau.
|
||||
|
|
|
|||
|
|
@ -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 are proven. Exact 9f369528 makes build_cache_root own Cargo home and proves 10.17s warm packaging with Cargo at 1.38s. Exact c930f505 release sha256-cd684079eec277bbb434f147c4f6c679553780230822f9d30f0810ec0988100a moves Unix resident role locks beside mounted stores. Live copied-state proof refused a second resident owner across containers with byte-identical state, allowed Heartbeat tick and bounded serve under its distinct lock, and stopped resident Self with exit zero/final braked. Retention, long-duration plateau, log ownership, and stable Starfire firewall ownership remain open. Yggdrasil is the small public crossing body, never the release forge.
|
||||
latest_phase: Commit 76afdaf0 moved release construction, filesystem verification, and witness inspection out of monolithic epiphany-core into epiphany-release-construction; core retains only CultMesh publication, load, and authentication. The bootstrap dependency graph excludes epiphany-core, all 19 construction tests pass, and the full core test harness compiles. Exact Linux bootstrap fell from 7m57s to 30.24s cold and 4.40s warm. Exact source 76afdaf0 then produced warning-free 24-binary release sha256-30caab9ef1ea89f9a885d87832b1e312a35288ec3f895bd5b0e83f7f7a6a1aec with witness sha256-89c2ad604254faec3e1e01f753b5dff38a402f43d009074ba4b47b1ec46fdecf. Independent inspection accepted the 12m16s cold build and the identical 10.16s warm replay with Cargo at 0.82s. The packaged full publisher accepted the narrow constructor's witness and changed c005 local-verse.cc from SHA-256 b160c610988753278afbad7f5bad436193144a92e9fd506982099ad58d213909 to 83ed430f5bf0c33996d7c4ee7bf0fa6c9f5f80bc8db94621395ea560852cae81 without body activation.
|
||||
operational_state:
|
||||
local_worktree: release_construction_receipts_pending_commit
|
||||
local_worktree: continuity_retention_authority_mapped
|
||||
operator_wireguard: restored
|
||||
yggdrasil: canonical_small_public_crossing_body
|
||||
starfire: temporary_epiphany_cognition_body
|
||||
|
|
@ -68,8 +68,8 @@ current_status:
|
|||
starfire_linux_modeling_peak: 109887488_bytes_resident_body_plus_modeling_circuit
|
||||
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: SIGTERM is not observed by epiphany-swarm; serve owns an unconditional loop and blocking sleep, so Docker stops end in exit 137 even while idle. 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. Resident stdout/stderr logs remain an unbounded supervisor-owned surface.
|
||||
next_action: Audit and prove bounded retention across heartbeat artifacts, resident acknowledgements/claims/pressures, coordinator receipts, and supervisor logs. Then run a measured long-duration idle/active plateau before continuing the remaining organ matrix.
|
||||
unresolved_authority: Resident Self lifecycle rows and coordinator run receipts are unbounded and require 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: Implement resident lifecycle retention from the source-grounded authority map using exact-envelope atomic deletion and typed non-authority evidence; prove negatively that retained history cannot create pending work. Then source-ground coordinator receipt references, settle supervisor log ownership with the infrastructure runbook, run a packaged Heartbeat retention proof, and measure idle/active endurance.
|
||||
|
||||
active_subgoals:
|
||||
- Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.
|
||||
|
|
@ -86,7 +86,7 @@ organ_readiness:
|
|||
hands: proven for bounded consequences; native patch, command, commit, push, and typed receipts bind reviewed path ceilings to exact changed-path subsets.
|
||||
soul: proven for the current bounded route-chain consequence; exact d3bfbda0 launched Verification through typed plan-decision provenance, result f23fe2b6 was accepted at revision 57, and Self then derived Modeling before any repeated Hands authority.
|
||||
mind: proven for launch-owned resident frontier adjudication; two historical attempts failed closed, exact bd96305e derived immutable identity from authenticated launch, authorized retry 2d2a3e8b completed, and Self atomically committed terminal adopt decision e7d7f3c7. Broader memory retention and long-duration behavior remain open.
|
||||
continuity: partial; authenticated 55660d78 terminalized the copied v28 dead worker once and refused duplicate restart, while sealed v28 remained unchanged. Exact 100d8854 closes only all-terminal sessions, emits one deterministic event, and refuses post-close jobs. Exact 42bc665a proves bounded retention and restart sequence recovery. A digest-pinned Linux runtime-spine at b5140288 repeated closure invariants on Yggdrasil. Authenticated c005 now proves typed resident state survives hard exit, executable-body replacement, runtime-topology correction, and restart while preserving awaitFrontierProposal. Graceful SIGTERM closure and long-duration plateau remain open.
|
||||
continuity: partial; authenticated 55660d78 terminalized the copied v28 dead worker once and refused duplicate restart, while sealed v28 remained unchanged. Exact 100d8854 closes only all-terminal sessions, emits one deterministic event, and refuses post-close jobs. Exact 42bc665a proves bounded retention and restart sequence recovery. A digest-pinned Linux runtime-spine at b5140288 repeated closure invariants on Yggdrasil. Authenticated c005 proves typed resident state survives hard exit, executable-body replacement, runtime-topology correction, and restart while preserving awaitFrontierProposal. Exact b8138a6b proves active-child and idle SIGTERM closure with exit zero and final braked state. Exact c930f505 proves cross-container resident ownership refusal without state mutation while Heartbeat retains its distinct typed lock. Resident lifecycle/coordinator receipt/log retention and the long-duration plateau remain open.
|
||||
nervous_system: partial; detached scheduling, runtime jobs, typed feedback, ordinary Windows coverage-store identity, and operator projection work. Exact c0055772 proves Linux heartbeat acknowledgement/regrant, Self single-consumption launch, authenticated plan coordinator completion, and a persistent resident body. It also proves detached model workers cannot survive a one-shot container PID 1 exit. The accepted Linux Eyes-to-Modeling circuit proves detached role workers, native read-only tool loops, typed admission, and causal next-organ routing at a measured 109887488-byte peak. Modeling job commit spent 160183ms in two cold Repository Body scans. A source cut now reuses one private index across both equality scans; 25 focused observer tests pass and a live-worktree mechanism benchmark reduced the pair from 3832ms to 1537ms. Packaged coordinator timing remains open. Authenticated d910158f isolates Self policy behind one root-graph optional coordinator feature; warm policy invalidation is 6.02s. Root Linux packaging is 12m33s cold and 9.08s warm with persistent caches. Long-duration pressure and resource plateau remain open. Yggdrasil is not a release forge at its current memory budget.
|
||||
|
||||
forbidden_actions:
|
||||
|
|
|
|||
Reference in a new issue