axon-lang 1.38.5

AXON v1.5.1 — first crates.io publication of the AXON language full-stack runtime. Lexer/parser/type-checker/IR generator (re-exported from axon-frontend) plus the native Rust runtime: typed channels (TypedEventBus with QoS×5, π-calculus mobility, capability extrusion via shield D8 — Fase 13.f.2), Free Monad CPS handlers (Fase 2), lease kernel + reconcile loop (Fase 3+5), Epistemic Security Kernel (ESK Fase 6), Trust Types + ReplayLog (Fase 11.a+11.c), Stateful PEM over WebSocket (Fase 11.d), Ontological Tool Synthesis (Fase 11.e), Mobile Typed Channels (Fase 13). Crate publishes as `axon-lang` to mirror the Python PyPI package; library import remains `use axon::*` so existing call sites keep working unchanged.
Documentation
//! AXON Runtime — Cognitive Immune System kernels (§λ-L-E Fase 5).
//!
//! Direct port of `axon/runtime/immune/`. Formal spec:
//! [`docs/paper_immune_v2.md`](../../../../docs/paper_immune_v2.md).

pub mod detector;
pub mod heal;
pub mod health_report;
pub mod reflex;

pub use detector::{AnomalyDetector, KLDistribution};
pub use heal::{
    ApplyFn, Clock, HealDecision, HealKernel, HealOutcome, Patch, PatchState, ShieldApproveFn,
    SynthesizeFn, default_apply, default_shield_approve, default_synthesize,
};
pub use health_report::{
    HealthReport, VALID_LEVELS, certainty_from_kl, level_at_least, level_from_kl, level_order,
    make_health_report,
};
pub use reflex::{ReflexEngine, ReflexOutcome};