Handle Heartbeat shutdown signals cleanly
This commit is contained in:
parent
c5e8705413
commit
bfb92cbb96
4 changed files with 112 additions and 8 deletions
|
|
@ -36,9 +36,9 @@ invariants:
|
|||
|
||||
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, exact eea15e82 model-turn JSON ingress, exact b1e8c89a semantic unattempted-generation retention, exact 6bc3ec3f semantic physical-epoch retirement, and exact 44230a05 Persona conversation retention are proven. Gamecult-ops 059821f owns Yggdrasil stream retention and exact 6ee08a4 owns stable Starfire Persona-permit firewall ingress. Exact 16c4b19f genuine idle and exact a987d2f7 active cognition completed 900-pulse bounded plateaus. Runtime-owned typed fulfillment is accepted live under exact 6dd9b132. Yggdrasil is the small public crossing body, never the release forge.
|
||||
latest_phase: Exact pushed c693aaea separates structural coordinator-receipt binding from terminal success and makes immutable typed attempts non-requeueable. Its warning-free 24-binary release sha256-fd46323a with witness sha256-8ad95c0a settled a copy of the exact c006 attempt-two failure: resident exited zero at revision 22, the exact grant became unfulfilled, its pressure stayed consumed, and two braked Heartbeat pulses issued no attempt three. The same authenticated release then settled actual c006 with exit zero and no OOM; actual bounded Heartbeat replay remained braked with no grant. Exact pre-intervention evidence and post-settlement receipts are preserved. The cognitive brake remains engaged; old 8d92c826 processes remain stopped.
|
||||
latest_phase: Exact pushed c693aaea and release sha256-fd46323a settled copied and actual c006 attempt-two authority without resurrection; the cognitive brake remains engaged and old processes remain stopped. Heartbeat graceful shutdown is now source-complete: serve owns SIGINT/SIGTERM, observes it before each pulse, interrupts every interval wait, and converges bounded or signalled closure on one typed receipt with shutdownRequested. Six focused binary tests and warning-free check pass. Exact packaging and copied Linux SIGTERM replay remain.
|
||||
operational_state:
|
||||
local_worktree: clean_at_pushed_c693aaea_after_actual_c006_settlement
|
||||
local_worktree: heartbeat_graceful_sigterm_source_verified_pending_commit
|
||||
operator_wireguard: restored
|
||||
starfire_persona_permit_firewall: persistent_exact_gamecult_ops_6ee08a4
|
||||
yggdrasil: canonical_small_public_crossing_body
|
||||
|
|
@ -70,7 +70,7 @@ current_status:
|
|||
yggdrasil_epiphany_service_contract: repaired_in_gamecult_ops_812b427_not_installed
|
||||
resident_physiology: c006_exact_c693aaea_settled_braked_no_active_lease_no_attempt_three_old_processes_stopped
|
||||
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, published model-turn JSON ingress, semantic logical/physical retention, Persona conversation retention, stable Starfire firewall ownership, completed model-adapter session archival, and normal coordinator lifecycle opening/error closure/legacy repair/archival are accepted live. Receipt-free hard-death recovery is source- and package-accepted but its live kill matrix remains unproven because the first copied run exposed non-atomic storage publication. A typed worker launch without valid terminal fulfillment deliberately remains active awaiting an owner for exact orphan-worker death and supersession; it is not retryable yet. Historical migrated semantic attempts without recorded physical namespace remain durable and non-retirable. Repository Body observation still performs two authenticated full-tree Git index/manifest passes. Execute-mode workers require a persistent process body. Mutable Starfire bind storage is not accepted as resident authority until the packaged CultCache repair and recovery replay pass. One completed Discord consequence remains blocked by the absent Yggdrasil credential.
|
||||
next_action: Map and cut Heartbeat graceful SIGTERM ownership so its resident scheduling body exits zero with a final typed receipt instead of Docker timeout exit 137. Verify focused source, package exact source once on Starfire, and replay against copied c006 state under the cognitive brake. Then resume the copied receipt-free death and orphan-worker Continuity matrix. Do not release the c006 brake. Yggdrasil never builds.
|
||||
next_action: Commit and push the Heartbeat graceful SIGTERM cut, package exact source once with the persistent Starfire cache, then run exact Linux Heartbeat serve against copied c006 state under the cognitive brake. Require SIGTERM exit zero, final typed shutdownRequested receipt, no new grant, and byte-identical resident/runtime authority. Then resume the copied receipt-free death and orphan-worker Continuity matrix. Do not release the c006 brake. Yggdrasil never builds.
|
||||
|
||||
active_subgoals:
|
||||
- Prove Persona, Self, Eyes, Modeling, Imagination, Hands, Soul, Mind, Continuity, and nervous-system behavior individually.
|
||||
|
|
|
|||
Reference in a new issue