Skip to content

v2.3.1 — kv-seal/v1 LMCache Plugin, 3-Arch LongMemEval-V2 (N=399), 4-Bit KV Study, Live vLLM Parity & Green CI

Choose a tag to compare

@DeadkeyLLC DeadkeyLLC released this 02 Dec 01:09
· 3 commits to main since this release

Highlights

  • Scoped-Epoch kv-seal/v1 LMCache 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/s on 16 MiB shards), RFC 8032 Ed25519 mediator signatures, and admission + async load-completion generation fences (LMCache #5375 class races).
    • Caught 5/5 attack classes (3.04 ms / 5.29 ms, 0 MiB VRAM, 5/5 Ed25519 ledger OK) vs AES-256-GCM (3/5), CRC32 (1/5), and STOCK (0/5).
    • Live 4-turn vLLM (Qwen3-8B-AWQ) + kv-seal/v1 end-to-end verified: unrelated writes stay HIT (0% thrash), while scoped policy superseding, 1-bit tamper, and injected async races trigger live POST /reset_prefix_cache (HTTP 200) with full recovery (data/stage2b_live_vllm_kv_seal_v1.json).
  • 3-Arch LongMemEval-V2 test_sealed (N=399 paired, 42.76M tokens, 0 MiB VRAM):
    • Pooled lift 36.3% → 46.9% (+10.5 pp, 79W/37L, aggregate p = 0.000120) across Qwen3.8-27B-NVFP4 (40.6% → 53.4%, p = 0.0137, 4.57 → 3.34 tools), Gemma-4-31B (33.1% → 43.6%, p = 0.0336, 2.95 → 0.94 tools), and Nemotron-74B-A9B (35.3% → 43.6%, p = 0.0895 directional) (data/sprint4_lmev2_test_sealed_multiarch_v1.json).
  • 5-Arch Sealed Ceiling-Breaker v3.2 (N=240) + 4-Bit Quant & Q4_0 KV Study (4K → 32K, N=180):
    • Rescued all 5 independent architectures (Qwen3.8-27B, Nemotron-74B-A9B, Gemma-4-31B, Ternary-Bonsai-27B, Devstral-24B) from 158/240 (65.8%, 58 silent lies) → 240/240 (100.0%, 0 false commits, 0 false refusals) at 0.14–0.17 ms CPU (82W/0L) with Open-World ABSTAIN_OOD non-regression (p = 1.00).
    • F16 KV → Q4_0 KV saved 1.63–4.37 GB VRAM with no detectable accuracy drop while Deadkey rescued 180/180 (100.0%, 0 fc, 0 fr) at 0.21–0.88 ms per-tier median CPU (data/sprint2_4bit_silent_drift_study_v1.json).
  • Live vLLM /reset_prefix_cache Parity & Rust Ed25519 Ledger Receipts:
    • Persisted data/ed25519_ledger_bench_v1.json (589,970.5 parallel verifications/s Rust _deadkey_core v0.2.0 vs 501.0 pure Python = 1,177.6×, 1,000-entry full audit in 11.496 ms) and data/phase3b_live_vllm_dkkv_guard_v1.json (POST /reset_prefix_cache HTTP 200 on stale epoch -9 and 1-bit tamper -12).
  • CI & Packaging Fixes:
    • Decoupled Apple Silicon builds into dedicated .github/workflows/macos.yml so Linux & Windows CI and wheel release attachment never stall on hosted macOS runner capacity.
    • Converted tests/test_kv_seal.py to zero-dependency stdlib unittest (Deadkey CI 6/6 green across Ubuntu & Windows, Python 3.10–3.12).

Install

pip install deadkey==2.3.1

Optional 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.