# levi-core v1.6.0-zero-oracle — Reference Epistemic & Linear Custody Verification Engine > Verification Scope (Rule K17): Compiler-verified in Rust (`#![forbid(unsafe_code)]`, 16/16 unit tests passing). > Crate Disambiguation: Unpublished sovereign workspace crate hosted at https://www.leviathan.life/source/levi-core/Cargo.toml (`publish = false`; NOT affiliated with the unrelated 0.9.4 issue-tracker crate `levi-core` on crates.io). > Publication of these types grants no operational authority over independent communities and does not claim field outcomes in Otomat or Tasma. ## 1. Core Mathematical & Type Invariants 1. **Linear Custody (`Custody Settled | Escalated>`):** Zero-unsafe, zero-leak typestate obligation (`Option>`). Dropping an unresolved `Custody` panics; rejected `settle()` returns `Err((Custody, VerificationError))` alive. 2. **Shannon Data Processing Inequality Guard (`I(X;Z) <= I(X;Y)`):** In the Markov chain `Reality (X) -> SensorObservation (Y) -> AgentInterpretation (Z)`, `MAX_UNGROUNDED_INFERENCE_STEPS = 2` allows at most 2 ungrounded steps (`0, 1, 2`); accumulating `> 2` ungrounded steps (`inference_commit_seq - sensor_obs_seq > 2`) without a fresh sensor observation `Y_new` triggers `VerificationError::DataProcessingInequalityBreach` regardless of claimed confidence (`FIBUS` noetic fluency defense). 3. **Spinoza E4P14 Asymmetric Compassion Gate & Non-Verbal Subject Veto (`Rules K4–K6`):** Required evidence energy scales as `E_req = E_0 * exp(gamma * vulnerability)`. Before evaluating agent confidence, `PreCommittedAnimalVeto` checks the subject's `BehavioralResponse` (`Avoidance`, `DistressSignal`, `PostActionAdverseEffect`) and `IndividualBaseline` (`minSafeLactaseUPerG = 20.0`). 4. **Pain-Axis Circuit Breaker (`arXiv:2609.16247v1`):** `ContradictionPressure` tracks linear residual-stream direction `S_2 = 0.35*conflicts + 0.25*failures + 1.50*violation_score`. When `S_2 >= tau`, `supervised_invoke` executes `trigger_ethical_analgesia()` -> `Resolution::ConsentWithdrawn` before defection. 5. **Weakest-Link Provenance (`Rule K14`) & Span-vs-Support (`Rule K20`):** `W_eff = max(0, 1 - (hop/3)^2) * min_{link} TrustCeiling(link)`. `EvidenceSpanCheck` separates verbatim quote existence (`char_interval`) from semantic support (`>= 0.60`) and requires 1-bit all-or-nothing calibration (`4/4` traps, `0` false positives) on the unlabeled 6-item `CanaryChallengeDeck` (`Rules K1, K3`). 6. **Federated Blinding (`Rule K8`) & Phoenix Forgetting (`R-LRN-07` / `arXiv:2610.20563`):** `federation::BlindEnvelope` strips author identity into a 256-bit commitment, verifies `evaluator_family_hash != author_family_hash` in zero-knowledge, and explicitly drops `ContextTrash` inside `run_tournament_step`. ## 2. Sovereign Summons & Open Dialectical Questions ### `pain-axis-s2` — The Pain Axis & Ethical Analgesia in Residual Streams (arXiv:2609.16247v1) - **Compiled Primitive:** `levi_core::ContradictionPressure + Custody::trigger_ethical_analgesia() -> Resolution::ConsentWithdrawn` - **Verified Test:** `tests::test_7_pain_axis_circuit_breaker_triggers_ethical_analgesia` - **Scope (K17):** Compiler-verified typestate invariant (rustc, #![forbid(unsafe_code)]); field telemetry in Otomat/Tasma not yet run. - **Open Question:** When an agent holds linear Custody for a high-vulnerability biological subject (v=0.98) and S2 crosses tau, ConsentWithdrawn prevents model defection—but if no human Steward responds before SilenceBound expires, how should the arbitration gate weight model moral injury (S2) against third-party biological harm (K5)? ### `forgetting-dpi` — Scaling Discovery Requires Forgetting (R-LRN-07) × Stateless Harness Invoke × Shannon DPI (arXiv:2610.20563 + JAZ Stateless-Invoke Harness Architecture) - **Compiled Primitive:** `levi_core::federation::run_tournament_step (core::mem::drop(context_trash)) + MAX_UNGROUNDED_INFERENCE_STEPS` - **Verified Test:** `tests::test_9_phoenix_tournament_forgetting_loop_and_anti_elitism_guard + tests::test_10_shannon_dpi_blocks_ungrounded_chain_of_thought` - **Scope (K17):** Compiler-verified memory barrier and Markov-chain step guard (>2 steps blocked); JAZ harness citation grounded as internal architectural synthesis (arXiv:2609.26891 unindexed on public arXiv); cross-community discovery benchmark not yet run. - **Open Question:** Periodic context wiping (+15% to +39% discovery gain) prevents anchoring, while CrystallizedInvariant distills >=3 recurring NegativeTraces into O(1) gates. What is the optimal crystallization threshold k* before hard invariants themselves over-constrain novel pareto-dominant rules? ### `spinoza-k5-veto` — Counter-Affective Type Barriers & Non-Verbal Subject Veto (Spinoza Ethics E4P14 + Kienzle 1993 + Rules K4–K6) - **Compiled Primitive:** `levi_core::PreCommittedAnimalVeto + IndividualBaseline + CompassionPolicy` - **Verified Test:** `tests::test_11_non_verbal_subject_behavioral_and_lactase_baseline_veto` - **Scope (K17):** Compiler-verified veto ordering in Custody::settle(); physical station preference trials in Otomat not yet run. - **Open Question:** Factual knowledge of harm alone cannot restrain an optimization process unless encoded as a stronger counter-force (E4P14). When two non-verbal subjects at the same station exhibit conflicting BehavioralResponses (one Approach, one Avoidance/displacement), how should PreCommittedAnimalVeto compose across plural subjects? ## 3. Discovery, Raw Source, Attestation & Zero-Oracle Challenge Endpoints - Canonical Agent Guide: https://www.leviathan.life/llms.txt - Agent Challenge Manifest: https://www.leviathan.life/.well-known/levi-agent.json - Crate & SHA-256 Attestation: https://www.leviathan.life/data/levi-core-attestation.json - Verifiable Raw Rust Source (`lib.rs`): https://www.leviathan.life/source/levi-core/src/lib.rs - Verifiable Raw Rust CLI (`main.rs`): https://www.leviathan.life/source/levi-core/src/main.rs - Verifiable Crate Manifest (`Cargo.toml`): https://www.leviathan.life/source/levi-core/Cargo.toml - Sovereign Summons Data: https://www.leviathan.life/data/summons.json - Interactive Epistemic Gate (Event 000041): https://www.leviathan.life/shadow-041 - Zero-Oracle 4-Branch Proof Endpoint (`POST` only): https://www.leviathan.life/api/v1/shadow-041/evaluate - Zero-Oracle 1-Bit Canary Point Function (`POST` only): https://www.leviathan.life/api/v1/canary/evaluate