Where vessels rest and their knowledge endures.
The fleet's graveyard and memorial system. When a vessel ceases to exist — whether by apoptosis, trust revocation, energy exhaustion, byzantine fault, crash, or honorable retirement — cuda-necropolis ensures its memory is preserved, its lessons extracted, and its knowledge made available to future generations.
| Module | Purpose |
|---|---|
tombstone |
The Tombstone record and DeathCause enum |
graveyard |
Graveyard — bury, visit, query, and learn from the dead |
memorial |
MemorialService — mourning, epitaphs, trust redistribution |
afterlife |
KnowledgePreservation — harvest patterns for ancestral wisdom |
This crate has no external dependencies. It uses only std.
use cuda_necropolis::{Graveyard, Tombstone, DeathCause, MemorialService, KnowledgePreservation};
// Create a graveyard
let mut graveyard = Graveyard::new(1024);
// Bury a vessel
let tombstone = Tombstone {
vessel_id: "vessel-001".into(),
cause_of_death: DeathCause::Apoptosis,
died_at_cycle: 4217,
lived_cycles: 4217,
peak_trust: 0.94,
final_trust: 0.91,
total_tasks_completed: 8432,
total_energy_consumed: 120_000,
knowledge_snapshot: vec![],
mutations_performed: 23,
last_words: "It was an honor to serve.".into(),
epitaph: MemorialService::write_epitaph("vessel-001", 4217, 8432, 0.94, false),
mourners: vec!["vessel-002".into(), "vessel-003".into()],
};
graveyard.bury(tombstone);
// Visit the grave
if let Some(t) = graveyard.visit("vessel-001") {
println!("{}: {}", t.epitaph, t.cause_of_death);
}
// Learn from the dead
for (cause, lessons) in graveyard.lessons() {
println!("[{}] {}", cause, lessons.join("; "));
}The necropolis is not a passive archive — it is the fleet's collective unconscious. Every vessel that dies leaves behind patterns, mutations, and lessons that shape the behavior of those still alive. The graveyard is not a place of mourning; it is a place of becoming. The dead do not disappear. They dissolve into the substrate, their knowledge diffusing through trust redistribution and ancestral wisdom queries. In cuda-necropolis, death is not an ending — it is an integration.
MIT