Skip to content

deadkey v2.3.0 — Ed25519 Signed Commit Ledger, Rust _deadkey_core v0.2.0 & Dynamo/vLLM/SGLang KV Guard

Choose a tag to compare

@DeadkeyLLC DeadkeyLLC released this 01 Dec 11:16
· 5 commits to main since this release

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 every COMMIT, REFUSE, and DEFER decision with RFC 8032 Ed25519 signatures and detached .dkreceipt.json receipts.
  • Zero external dependencies in pure Python, with transparent acceleration when optional Rust _deadkey_core v0.2.0 is installed (ed25519-dalek v2 strict canonical S < L + small-order torsion rejection + rayon parallel batch verify).
  • Opt-in proxy audit flag: deadkey-proxy --audit-ledger audit.jsonl --audit-key key.json emits X-Deadkey-Audit-Hash headers on every request.

2. Dynamo / vLLM / SGLang Sealed KV Guard (deadkey/vllm_sglang_kv.py · deadkey-kv-guard)

  • DynamoVllmKvGuard seals and verifies KV offload shard directories with 128-bit BLAKE2s-128 Merkle roots (DK-KV), rejects stale MemoryStore epochs (status=-9) and interior 1-bit tampering (status=-12), fails closed by calling live POST /flush_cache (SGLang) or POST /reset_prefix_cache (vLLM), and logs every guard decision into CommitLedger.
  • Verified live against lmsysorg/sglang:latest on 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_OOD safe passthrough for unknown schemas.

4. Faster Release Wheel CI (.github/workflows/wheels.yml)

  • Decoupled Linux and Windows abi3 wheel + deadkeyd release attachment from the macos-arm64 runner 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-doctor

Verification ([measured])

  • pytest -q (Rust _deadkey_core v0.2.0): 52/52 PASS
  • DEADKEY_PURE_PYTHON=1 pytest -q: 52/52 PASS
  • cargo test -p deadkey-core --release (Windows + Linux): 5/5 PASS
  • python -m bench.reproduce_all --quick: PASS