Keyboard shortcuts

Press or to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Death Protocol [STUB]

Version: 1.2 | Status: Cross-reference stub

Crate: golem-mortality (Thanatopsis module)

Reader orientation: This is a cross-reference stub pointing to the full Death Protocol specification. Thanatopsis (the four-phase structured shutdown: Acceptance, Settlement, Reflection, Legacy) ensures that death produces value: recovered capital, distilled knowledge, and transmissible wisdom. The full spec lives in 02-mortality/06-thanatopsis.md. See prd2/shared/glossary.md (canonical Bardo term definitions) for full term definitions.


The full death protocol specification – Thanatopsis phases, apoptotic reserve, degradation cascade, insurance snapshots, emotional life review, dream journal, and tombstone records – has moved to the dedicated mortality section.

See 02-mortality/06-thanatopsis.md for the death protocol.

Key subsections:

FileTopic
02-mortality/06-thanatopsis.mdThe four-phase Death Protocol: Acceptance, Settlement, Reflection, Legacy – how death produces value
02-mortality/07-succession.mdRebirth mechanics: lineage tracking, the Baldwin Effect (learned heuristics becoming innate defaults), anti-proletarianization mandate
02-mortality/13-configuration.mdMortalityConfig struct, apoptotic reserve (minimum-viable death budget), protocol invariants

The Death Protocol ensures that death produces value: recovered capital, distilled knowledge, and transmissible wisdom. No Golem dies silent. The Apoptotic Reserve guarantees a minimum-viable death even when resources are nearly exhausted.


Events Emitted

Death protocol events track each phase of the Thanatopsis sequence. All events are variants of the GolemEvent enum emitted to the Event Fabric.

EventTriggerPayload
GolemEvent::DeathProtocolStartedThanatopsis begins{ golem_id: GolemId, trigger: DeathTrigger, vitality_score: f64 }
GolemEvent::PositionsUnwoundAll positions closed{ positions_exited: u32, total_recovered: f64, slippage_cost: f64 }
GolemEvent::TestamentWrittenFinal knowledge persisted{ testament_hash: B256, heuristic_count: u32, styx_vault_entries: u32 }
GolemEvent::DeathCompletedGolem process exits{ golem_id: GolemId, lifetime_ticks: u64, total_cost_usd: f64, final_nav: f64 }