punkgo_kernel/runtime/mod.rs
1//! PunkGo kernel runtime — the 7-step submit pipeline and energy production.
2//!
3//! - [`Kernel`] — bootstraps state, handles requests, and runs the submit pipeline:
4//! `validate → quote → reserve → validate_payload → settle → append → post-commit`
5//! - [`EnergyProducer`] — background task distributing energy per tick,
6//! anchored to hardware compute power (PIP-001 §1–§2)
7//! - [`lifecycle`] — actor lifecycle operations: freeze, unfreeze, terminate
8//! - [`SubmitReceipt`] — cryptographic receipt returned after successful commit
9
10pub mod energy_producer;
11mod kernel;
12pub mod lifecycle;
13
14pub use energy_producer::EnergyProducer;
15pub use kernel::{Kernel, KernelConfig, SubmitReceipt};