Repository navigation
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