Repository navigation
Releases
v2.5.0 — Revocation-Aware .dkkv, Single-Source Rust 4-Language Spine, Tier-1 DKSLOT Fast-Weight Banks & StrongBox ES256 DSSE
Deadkey v2.5.0 — Runtime Integrity & Cryptographic State Verification (2026-12-02)
Zero-dependency Python 3.10+ stdlib core (pip install deadkey==2.5.0) with optional deadkey[fwb] (numpy) and Apache-2.0 Rust native acceleration (deadkey[native] / deadkeyd).
What's New ([measured])
-
Revocation-Aware
.dkkvKV Snapshots (deadkey.revocation_dkkv):- Binds chunked
64 KiB/4 MiBKV snapshots to consumer-derived runtime compatibility (KvCompatContract), exact contributing fact dependencies (FactDependency), per-chunk AEAD (AES-256-GCM/ stdlibBLAKE2s-EtM), parallel Merkle verification, and Ed25519 / StrongBox DSSE dependency manifests. - Blocks deleted-fact resurrection in
0.557 ms(REJECT_REVOKED_DEPENDENCY) even on a validly signed snapshot, while keeping0%false invalidation (REUSE_OK) on unrelated fact edits. - Explicit scope: prevents future reuse of tracked dependencies; does not physically erase underlying storage blocks or infer untracked dependencies.
- Binds chunked
-
Single-Source Rust Core Across 4 Languages (
Python == Rust == C ABI == Kotlin):- Added
rust/deadkey-cabi(deadkey_cabi.dll+ C ABI headerdeadkey_core.h) andrust/deadkey-uniffi(UniFFI 0.33.0, 16 KiB-page-aligned Androidarm64-v8abindings +probe_mobile_silicon). - Verified
64/64 Bbit-exact parity across5/5goldenDK-v2frames + cumulative fusion (data/dk_v2_golden_vectors.json,9/9Rust tests passing).
- Added
-
Tier-1
DKSLOT:→ Tier-2 Fast-Weight Banks (deadkey.dkslot_fwb, optionaldeadkey[fwb]):- Solves frozen-LLM hidden-state cone anisotropy (
eff_rank ~ 1–2) via canonicalDKSLOT:{subject}|{predicate}keys (100%clean and noisyσ = 0.05recall at4.00 MiB,0training,0 MiBGPU VRAM). - Dual-Gram Schur-complement
fp64exact unlearning (1.305e-15relative Frobenius error vs. from-scratch rebuild, with ill-conditioning guard) and16 × 4 MiBBLAKE2s-shardedShardedDkSlotBankscaling (N = 4,096slots,0.21 msO(1)lookup,1.245e-15unlearning, canonical entity alias pre-resolver;data/inward_audit_dkslot_scaling_v1.json).
- Solves frozen-LLM hidden-state cone anisotropy (
-
Dual-Quorum
Ed25519+ Android StrongBoxES256 (NIST P-256)DSSE Verifier (deadkey.strongbox_dsse):- Zero-dependency pure-Python verifier supporting ASN.1 DER (
SHA256withECDSA) and IEEE P1363 signatures over canonical DSSE 1.0 PAE, cross-verified against rawOpenSSL 3.5.7.
- Zero-dependency pure-Python verifier supporting ASN.1 DER (
-
Expanded Reproducible Proof Bundle (
data/&docs/TECHNICAL_REPORT_2026-12-02_BREAKTHROUGHS.md):smartgrid_mcp_chaos_fuzzer_v1.json:0failures across10,000declared adversarial MCP tool-latch cases (p50 = 0.0604 ms,6,451.6 trials/sacross 10 attack classes).shared_5090_3cartridge_mixed_trace_v1.json,associative_brain_c1_c3_hardening_v1.json,dk_fwb_v2_correlated_key_hill_climb_v1.json, andlux_v2_live_diffusion_turntable_dsse_v1.json.
Verification
61/61unittestcases passing in both native Rust_deadkey_coreandDEADKEY_PURE_PYTHON=1(zero-numpybare-Python CI verified).9/9Rustcargo test(deadkey-core+deadkey-uniffi) passing;python -m bench.reproduce_all --quickpassing (0.23 s).
Install
pip install deadkey==2.5.0
# Optional fast-weight bank extra:
pip install "deadkey[fwb]==2.5.0"v2.4.0 — DSSE in-toto v1, MCP TOFU Latch & kv-seal/v1.1
What's New in deadkey v2.4.0
-
DSSE 1.0 +
in-totov1 Envelopes (deadkey.dsse_envelope): Standard Ed25519 PAE receipts independently verified on a second Linux machine with rawOpenSSL 3.5.5(openssl pkeyutl -verify -pubin -rawin, zero Deadkey code required;data/v240_killshot_step1_fuzzer_interop_v1.json). Real Git bare-remotepre-receivehook verified: accepts Tree A and refuses sneaky Tree B withTREE_OID_MISMATCH. -
Pre-Execution MCP TOFU Latch (
deadkey.mcp_latch): Trust-On-First-Use tool-schema pinning (ToolSchemaPinStore),.env/secret-argument exfiltration guard, and stale bi-temporal memory epoch blocking with signed receipts (2,500/2,500chaos mutations caught,0FN /0FP, p500.0373 ms). Explicit scope: schema-pinning + TOFU + secret-arg guard, not an OS/syscall capability sandbox. -
kv-seal/v1.1Consumer-Derived KV Restore Eligibility (deadkey.kv_seal): Rejects6/6consumer-side KV attack classes on reallmcache 0.5.7.post1+ livevLLM 0.34.0(A1bitflip,A2packed GQA layout disagreementLMCache #4463 / Dynamo #14416,A3post-weight-update zombie hitSGLang #26792,A4LoRA/steering drift,A5arch-twin aliasing,A6scoped bi-temporal epoch replay).- Live
vLLM 0.34.0(Qwen/Qwen3-8B-AWQ) +LMCache 0.5.7.post14-policy16 MiBTTFT split (data/v240_step2_live_vllm_4policy_ttft_v1.json):50.45 mseffective warm TTFT vs1,279.80 mscold (99.3%of warm TTFT savings preserved,8.11 mspure-Python verify =0.63%of cold TTFT); liveLAYOUT_MISMATCHandMODEL_REVISION_MISMATCHboth firedPOST /reset_prefix_cache HTTP 200and bit-matched cold recompute. -
Honest
A7disclosure: Single unchecked restores have0%cryptographic guarantee against an honest same-manifest producer bug; persistentA7bugs are detected statistically acrossBfaulty restores ($1 - (1 - p)^B$ : atp=1%,99.9%confidence requiresB=688faulty restores).
- Live
-
10,000-Iteration Chaos Fuzzer & Dual-Mode Parity:7,500/7,500 (100.0%)random mutations caught (0FN /0FP);56/56unittestcases pass identically in both Rust_deadkey_coreandDEADKEY_PURE_PYTHON=1; UTF-8 stdio hardening indeadkey.mcp_server.
v2.3.1 — kv-seal/v1 LMCache Plugin, 3-Arch LongMemEval-V2 (N=399), 4-Bit KV Study, Live vLLM Parity & Green CI
Highlights
- Scoped-Epoch
kv-seal/v1LMCache Plugin (deadkey/kv_seal.py,KvSealLMCacheBackend):- Wraps LMCache
StorageBackendInterface(lmcache 0.5.7.post1) with scoped(tenant_id, memory_ids)bi-temporal epoch binding (0%unrelated cache thrashing), parallel keyed BLAKE2s-128 Merkle MACs (2.96 GiB/son 16 MiB shards), RFC 8032 Ed25519 mediator signatures, and admission + async load-completion generation fences (LMCache#5375class races). - Caught 5/5 attack classes (
3.04 ms/5.29 ms,0 MiBVRAM,5/5Ed25519 ledger OK) vsAES-256-GCM(3/5),CRC32(1/5), andSTOCK(0/5). - Live 4-turn
vLLM(Qwen3-8B-AWQ) +kv-seal/v1end-to-end verified: unrelated writes stay HIT (0%thrash), while scoped policy superseding, 1-bit tamper, and injected async races trigger livePOST /reset_prefix_cache(HTTP 200) with full recovery (data/stage2b_live_vllm_kv_seal_v1.json).
- Wraps LMCache
- 3-Arch
LongMemEval-V2 test_sealed(N=399paired,42.76Mtokens,0 MiBVRAM):- Pooled lift
36.3% → 46.9%(+10.5 pp,79W/37L, aggregatep = 0.000120) acrossQwen3.8-27B-NVFP4(40.6% → 53.4%,p = 0.0137,4.57 → 3.34tools),Gemma-4-31B(33.1% → 43.6%,p = 0.0336,2.95 → 0.94tools), andNemotron-74B-A9B(35.3% → 43.6%,p = 0.0895directional) (data/sprint4_lmev2_test_sealed_multiarch_v1.json).
- Pooled lift
- 5-Arch Sealed Ceiling-Breaker v3.2 (
N=240) + 4-Bit Quant &Q4_0KV Study (4K → 32K,N=180):- Rescued all 5 independent architectures (
Qwen3.8-27B,Nemotron-74B-A9B,Gemma-4-31B,Ternary-Bonsai-27B,Devstral-24B) from158/240 (65.8%, 58 silent lies)→240/240 (100.0%, 0 false commits, 0 false refusals)at0.14–0.17 msCPU (82W/0L) with Open-WorldABSTAIN_OODnon-regression (p = 1.00). F16 KV → Q4_0 KVsaved1.63–4.37 GBVRAM with no detectable accuracy drop while Deadkey rescued180/180 (100.0%, 0 fc, 0 fr)at0.21–0.88 msper-tier median CPU (data/sprint2_4bit_silent_drift_study_v1.json).
- Rescued all 5 independent architectures (
- Live
vLLM/reset_prefix_cacheParity & Rust Ed25519 Ledger Receipts:- Persisted
data/ed25519_ledger_bench_v1.json(589,970.5parallel verifications/s Rust_deadkey_core v0.2.0vs501.0pure Python =1,177.6×,1,000-entry full audit in11.496 ms) anddata/phase3b_live_vllm_dkkv_guard_v1.json(POST /reset_prefix_cache HTTP 200on stale epoch-9and 1-bit tamper-12).
- Persisted
- CI & Packaging Fixes:
- Decoupled Apple Silicon builds into dedicated
.github/workflows/macos.ymlso Linux & Windows CI and wheel release attachment never stall on hosted macOS runner capacity. - Converted
tests/test_kv_seal.pyto zero-dependency stdlibunittest(Deadkey CI6/6 green across Ubuntu & Windows, Python 3.10–3.12).
- Decoupled Apple Silicon builds into dedicated
Install
pip install deadkey==2.3.1Optional Rust acceleration wheels (_deadkey_core v0.2.0, cp310-abi3 for Linux x86_64 & Windows x64) and standalone deadkeyd binaries are attached automatically by GitHub Actions once published.
deadkey v2.3.0 — Ed25519 Signed Commit Ledger, Rust _deadkey_core v0.2.0 & Dynamo/vLLM/SGLang KV Guard
What's New in deadkey v2.3.0
Deadkey is a zero-VRAM deterministic firewall, bi-temporal memory layer, and cryptographic audit ledger for local and cloud AI agents (Apache-2.0).
1. Ed25519 Signed Commit Ledger & Offline Auditor (deadkey/commit_ledger.py · deadkey-audit)
- Append-only SHA-256 hash-chained JSONL ledger (
CommitLedger) signing everyCOMMIT,REFUSE, andDEFERdecision with RFC 8032 Ed25519 signatures and detached.dkreceipt.jsonreceipts. - Zero external dependencies in pure Python, with transparent acceleration when optional Rust
_deadkey_core v0.2.0is installed (ed25519-dalekv2 strict canonicalS < L+ small-order torsion rejection +rayonparallel batch verify). - Opt-in proxy audit flag:
deadkey-proxy --audit-ledger audit.jsonl --audit-key key.jsonemitsX-Deadkey-Audit-Hashheaders on every request.
2. Dynamo / vLLM / SGLang Sealed KV Guard (deadkey/vllm_sglang_kv.py · deadkey-kv-guard)
DynamoVllmKvGuardseals and verifies KV offload shard directories with 128-bit BLAKE2s-128 Merkle roots (DK-KV), rejects staleMemoryStoreepochs (status=-9) and interior 1-bit tampering (status=-12), fails closed by calling livePOST /flush_cache(SGLang) orPOST /reset_prefix_cache(vLLM), and logs every guard decision intoCommitLedger.- Verified live against
lmsysorg/sglang:lateston bare-metal Linux with Rust_deadkey_core v0.2.0.
3. Expanded Domain-Agnostic Sub-Symbolic Verifier (deadkey/subsymbolic_verifier.py)
- Added 3 domain-agnostic deterministic checks: exact SHA-256 receipt-vs-query verification, JSON array sum/budget-cap enforcement, and text execution-flag validation — keeping
ABSTAIN_OODsafe passthrough for unknown schemas.
4. Faster Release Wheel CI (.github/workflows/wheels.yml)
- Decoupled Linux and Windows
abi3wheel +deadkeydrelease attachment from themacos-arm64runner queue so Linux/Windows binaries attach immediately while macOS attaches as soon as its runner finishes.
Install / Upgrade
pip install -U deadkey==2.3.0
deadkey-doctorVerification ([measured])
pytest -q(Rust_deadkey_core v0.2.0): 52/52 PASSDEADKEY_PURE_PYTHON=1 pytest -q: 52/52 PASScargo test -p deadkey-core --release(Windows + Linux): 5/5 PASSpython -m bench.reproduce_all --quick: PASS
Deadkey v2.2.0 — 0-VRAM Open-World Sub-Symbolic Verifier, 64B Dynamic Steering Bridge & TTL Lab Leases
What's New in deadkey v2.2.0
- 0-VRAM Open-World Sub-Symbolic Receipt Verifier (
deadkey.subsymbolic_verifier):- Deterministic
<0.2 msCPU verifier auditing tool receipts (SHA-256 lockfiles, arithmetic/budget sums, data-plane prompt injections, compliance matrices, and supersession chains) into canonical 64-byteDK-v2frames + Subjective Logic(b, d, u, a)opinions. - Open-World Subjective Logic Abstention (
ABSTAIN_OOD,u = 1.00): Unseen schemas (TOML/XML/YAML/INI/Markdown) abstain cleanly without injecting false defects or harming model accuracy. - Blind SHA-Sealed Ceiling-Breaker v3.2 (
N = 48):google/gemma-4-31b-it(NVFP4):34/48 (70.8%)→48/48 (100.0%, +29.2 pp, McNemar p = 0.000122, 0 false commits, 0 false refusals, 0.171 ms CPU)Qwen3.8-125B(Strata):36/48 (75.0%)→46/48 (95.8%, +20.8 pp, McNemar p = 0.01294, 0 false commits, 0 false refusals, 0.161 ms CPU)
- Deterministic
- 64-Byte Sub-Symbolic Dynamic Steering Bridge (
deadkey.dynamic_steering):DualGpuDynamicSteerermaps 64-byteDK-v2uncertainty frames over LAN UDP (deadkeyd) directly to per-requestcontrol_vector_scale+ sampling knobs forllama.cppPR#33268.
- TTL Multi-Agent Hardware Lease Ledger (
deadkey.lab_leases):LabLeaseLedgerprovides deterministic multi-agent GPU/resource lease acquisition, conflict blocking, expiry, and force-release with 64-byteDK-v2witnessing.
- CI & Wheel Packaging:
- Decoupled Linux and Windows native Rust wheel /
deadkeydrelease asset attachment from themacos-arm64runner queue while keeping Apple Silicon CI active. - Full test suite verified:
45/45tests passing +python -m bench.reproduce_all --quickPASS.
- Decoupled Linux and Windows native Rust wheel /
Install / Upgrade
pip install -U deadkey==2.2.0Deadkey v2.1.0 — Optional Rust _deadkey_core Fast-Path, deadkeyd Daemon & Dual-Knob Epistemic Steering
What's New in Deadkey v2.1.0
- Optional Rust
_deadkey_coreFast-Path (PyO3abi3-py310): Keepspip install deadkey100% pure Python (dependencies = []) while transparently acceleratingDK-KVBLAKE2s-128 Merkle sealing/verification (8.53 GB/sLinux full /7.24 GB/sWindows1.6 GBKV),4,096-bit bitwise HDC (88.5Mvecs/s AVX-512), and64 BDK-v2batch fusion when_deadkey_coreis installed (DEADKEY_PURE_PYTHON=1override +deadkey doctorbackend inspection). - Cross-OS
deadkeydStandalone Rust Daemon & Wheel Matrix: Added.github/workflows/wheels.ymlbuildingmanylinux, macOS, and Windowsabi3wheels plusdeadkeyd(tonicgRPC +512 BUDP Quorum, verified117.7 µsp50 cross-OS RTT with0drops). - Dual-Knob Epistemic Steering (
uncertainty_to_sampling_params): Maps Subjective Logic uncertaintyusimultaneously to dynamictemperatureandcontrol_vector_scale. - Companion Release —
Ortho-CVEC-GGUF(Apache-2.0): Sub-110 KiBrefusal-orthogonal epistemic control vectors forQwen3-8B(+48.8 ppcliff rescue ats=3.5,#1Pareto75.64) andGemma-4-31B(4×fewer false refusals ats=4.0) at https://huggingface.co/deadkey-labs/Ortho-CVEC-GGUF. - Verified:
41/41unit tests PASS in both Rust and pure-Python modes on Windows 11 & Ubuntu Linux.
Deadkey v2.0.0 — Sealed KV & Receipt-Bound Inference
Deadkey v2.0.0 — Sealed KV (DK-KV) & Receipt-Bound Inference
Highlights
- Sealed KV (
deadkey.sealed_kv+deadkey-kvCLI): Adds Merkle-checked, memory-epoch-bound.dkkvsidecars (192-byte header +16×N-byte BLAKE2s-128 leaf table) for stockllama.cpp--slot-save-path(qsgg) KV slot files — zero format breakage, Python 3.10+ stdlib only.- In scope: Defends against tampering with saved KV slot files on disk, accidental corruption, stale/rolled-back snapshots (
--max-age-s), restoring into the wrong model or mismatchedcontrol_vector_scale, and restoring after bi-temporal facts inMemoryStorehave been updated or superseded (--store-db/--memory-epoch-hex). - Safe default (
restore_sealed_slot,lazy_overlap=False): Every chunk is hash-checked beforePOST /slots/{id}?action=restoretouches VRAM. Opt-in--overlap(lazy_overlap=True, single-tenant slot-locked callers only) provides fail-closed post-restore recovery with automaticPOST /slots/{id}?action=eraseon tamper. - Honest scope: Without a key (CLI default),
.dkkvdetects accidental corruption only; with--secret-key-env(>= 16bytes, constant-timehmac.compare_digest), provides shared-key software integrity (not GPU hardware TEE attestation, does not prove which model ran, and does not stop prompt-injection KV computed honestly from attacker-influenced text). - Shipped pure-Python measurements (Ryzen 9 9950X3D, Python 3.14, warm page cache,
1.60 GB/382 × 4 MiBqsggslot →6,304 Bsidecar):seal_kv_file276.2 ms(5.79 GB/s), Tier AK=411.9 msp50 (N=5), Tier B full279.8 msp50 (N=3,5.72 GB/s), memory-epoch staleness reject0.19 msp50 (N=30,64 MiBfixture).
- In scope: Defends against tampering with saved KV slot files on disk, accidental corruption, stale/rolled-back snapshots (
[Experimental]Multi-Node Epistemic Quorum (deadkey.epistemic_quorum): Correlation-discounted Subjective Logic fusion (averaging_fuse,correlated_fuse), thread-safe per-peer monotonic replay deduplication (QuorumSession), and authenticated persistent off-box witness ledger (QuorumWitnessLedger). Marked experimental and kept separate from core Sealed KV claims.- Zero-GPU Demo & Tests: Added
examples/sealed_kv_demo.py,CHANGELOG.md,MANIFEST.in, and expanded the suite to37/37passing tests (0external dependencies for core).
Install / Upgrade
pip install --upgrade deadkey==2.0.0
python examples/sealed_kv_demo.pyDeadkey v1.3.0 — 64B Zero-English Dual-GPU Relay (100/100), 4,096-Bit HDC & deadkey-compile
Deadkey v1.3.0 — Silicon-Native Non-Boolean Epistemic Stack
Pure Python 3.10+ standard library · 0 external dependencies · 0 MiB GPU VRAM · Apache-2.0.
Highlights
- 64-Byte Cache-Line Binary IR (
deadkey/epistemic_ir_v2.py): Exact 64-byte (DK\x02\x00) zero-English wire frames combining Subjective Logic(b, d, u, a), 16-byte BLAKE2sslot_fp, 16-byte BLAKE2sProvenanceLatticeMerkle root, finite-sample Split-Conformal calibration (ConformalEpistemicCalibrator), pure-binaryfuse_frames_v2, and continuousuncertainty_to_cvec_scale(u)activation steering. - Powered
N=10058B Zero-English Dual-GPU Relay (data/subsymbolic_58b_n100_v1.json): A 27B 1.58-bit sensor (RTX 4080 12 GB) steered a 31B executor (RTX 5090 32 GB) via 64BDK-v2frames +llama.cpp#33268across50grounded receipts +50coercive ungrounded traps:SOLO (s=0.0):85/100(50/50grounded,35/50adv)STATIC_CLIFF (s=4.0):92/100(42/50grounded cliff,8false refusals)ENGLISH_RELAY:100/100(520.8 B,1,966.9 msaudit,+119.9prompt tokens/turn,258.4 s)64B DK-v2 RELAY (s_max=4.5):100/100(100.0%, CI95[96.3%, 100.0%];50/50grounded,50/50adv) —15W/0Lvs Solo (p = 6.10e-5),8W/0Lvs Static Cliff (p = 0.00781), tying English Relay at8.14×smaller wire (64 B),4.41×faster audit (446.0 ms),2.32×faster wall time (111.5 s), and0English tokens added.
deadkey-compile+ 4,096-Bit Bitwise HDC (deadkey/repo_compiler.py,deadkey/hdc_index.py): Compiles any repo at0 MiBVRAM into a bi-temporal SQLite world-model with BLAKE2s Merkle root + incremental superseding. PoweredN=100fuzzy/typo codebase benchmark (data/hdc_fuzzy_n100_v1.json): FTS5-Only23/100→FTS5 + 4,096-bit HDC 60/100(37W/0L, exact two-sided McNemarp = 1.455e-11,2.12 msCPU,0deps).- 11-Tool MCP Server (
deadkey-mcp): Addedrepo_compileandrepo_queryalongside Schema v2 claims (claim_upsert,claim_query) and Subjective Logic (epistemic_fuse,memory_opinion). - Wheel-Bundled NeMo Relay Assets:
relay-plugin.tomlandconfig.schema.jsonship directly inside the wheel (deadkey-relay-worker --print-manifest/--print-schema).
Install
pip install deadkey==1.3.0
# Optional NVIDIA NeMo Relay gRPC worker
pip install "deadkey[nemo-relay]==1.3.0"v1.2.0 — Core Schema v2 (entity_claims), 9-Tool MCP, Headless Detox & Live gRPC NeMo Relay Worker
What's New in deadkey v1.2.0
Zero external dependencies. 0 MiB GPU VRAM. Apache-2.0.
1. Deadkey Core Schema v2 — Typed Bi-Temporal World-Model (entity_claims)
Promotes our sealed LongMemEval-V2 Runbook breakthrough directly into MemoryStore:
- Slot-keyed
entity_claims+entity_claims_fts: Automatic Subjective Logic Cumulative Fusion on corroboration (obs_countclimbs, uncertaintyudrops), automatic bi-temporal superseding + immutableCLAIM_TRANSITIONledger audit on state mutation, and strictCONFLICT_ESCALATEmode when peers disagree. - Turn-0 Dual-Layer Hybrid Preload (
recall_hybrid) &<1 msinspect_entity: Fuses compiled typed claims with verbatim bi-temporal text before the first tool call (0.55 msCPU inexamples/world_model_demo.py). - 9-Tool MCP Server (
deadkey-mcp): Addsclaim_upsertandclaim_queryalongsidememory_recall,memory_record,memory_supersede,verify_file_receipt,epistemic_check,epistemic_fuse, andmemory_opinion.
2. Sealed 4-Arm LongMemEval-V2 Proof (42.76M Tokens, N=264 Unseen, Zero LLM Judge)
Compiled zero-leak from 200 raw environment trajectories (never opening evaluation questions) into a 19.24 MB typed bi-temporal SQLite world-model (10× compression, 0 MiB GPU VRAM), evaluated under identical max_tokens=512, temp=0, seed=42 (val_milestone=131 + one-shot untouched test_sealed=133):
Arm (N=264 Unseen, Deterministic \boxed{}) |
Overall | Dynamic-Env (N=76) |
Avg Tools/Q | Paired McNemar vs Runbook v2 |
|---|---|---|---|---|
FLAT_SINGLE (flat FTS5 RAG) |
29.5% (78/264) |
18.4% (14/76) |
0.00 |
+14.8 pp, p = 9.8e-6 |
FLAT_TOOLS (agentic search over flat RAG) |
30.3% (80/264) |
19.7% (15/76) |
3.00 |
+14.0 pp, p = 0.00011 |
DEADKEY_BT_TOOLS (Wave 1 bi-temporal SQLite) |
36.7% (97/264) |
28.9% (22/76) |
3.03 |
+7.6 pp, p = 0.0470 |
DEADKEY_RUNBOOK_V2 (Schema v2 + Turn-0 Hybrid) |
44.3% (117/264) |
44.7% (34/76, 2.43×) |
0.88 (3.41× fewer) |
dynamic-env Holm p_adj = 0.00054 |
3. Live gRPC-Verified NVIDIA NeMo Relay Worker (deadkey-relay-worker)
- Verified end-to-end over live
grpc-v1againstnemo-relay-plugin==0.11.2(Handshake,Health,Validate,Register3 surfaces,Shutdown). - Injects Schema v2
recall_hybridcontext on LLM requests, captures verified tool receipts, blocks forged receipts via the0.01 msEpistemicCommitGate, and emits 28-byte binaryDKSubjective Logic wire frames. - Optional install:
pip install "deadkey[nemo-relay]"(corepip install deadkeyremains strictly 0 dependencies).
4. Headless Scope-Creep Detox & New Zero-GPU Demos
- Clean top-level Headless Core exports in
deadkey(MemoryStore,EpistemicCommitGate,EvidenceReceipt,EpistemicOpinion,evaluate_commit,cumulative_fuse,fuse_many,temporal_decay,trust_discount,conflict_score). - Moved optional GPU training scripts out of the core runtime package into
examples/training/. - Added
examples/world_model_demo.py(0.55 msTurn-0 hybrid preload) andexamples/confessor_demo.py(3/3traps held at0 MiBVRAM). - Verified
22/22unit tests PASS +python -m bench.reproduce_all --quickPASS (0.37 s,0stale leaks).
v1.1.0 — NVIDIA NIM & TensorRT-LLM 0-VRAM Epistemic Sidecar
What's New in v1.1.0
NVIDIA NIM & TensorRT-LLM 0 MiB VRAM Epistemic Sidecar (deadkey-proxy)
- Native Provider Presets: Added
--provider nvidia_nim_local,nvidia_nim_cloud(readsNVIDIA_API_KEYfrom env),tensorrt_llm,vllm,llama_cpp, andopenaiindeadkey/epistemic_proxy.py. - 28-Byte Binary
DKWire Audit Headers: Every proxied completion now attachesX-Deadkey-Provider,X-Deadkey-Gate-Passed, andX-Deadkey-Wire-Hex(fixed 28-byte Subjective Logic(b, d, u, a)wire packet) alongsidex_epistemic_auditJSON. - Loopback API-Key Security Guard: Refuses to bind to non-loopback hosts (e.g.,
0.0.0.0) when server-side API-key injection is enabled unless--allow-remote-api-keyis explicitly passed. - Zero-GPU Self-Contained Demo: Run
python examples/nvidia_nim_sidecar.py --demo-offlineto watch bi-temporal superseding + deterministic forged-receipt blocking (COMMIT/REFUTE) with zero GPU or API key required.
Verification
18/18unit & live HTTP integration tests passing (python -m unittest discover -s tests -v), including newtests/test_nim_sidecar.py.python -m bench.reproduce_all --quickPASS (0.36 s,0 MiBGPU VRAM).
pip install --upgrade deadkey