Dev.to AI πŸ€– Ai πŸ‘ 0

CacheSurgeon v0.3.0 (MIT): BlackBox Flight Recorder, Policy Time Machine (

Just shipped CacheSurgeon v0.3.0 (MIT, live on PyPI: pip install -U cachesurgeon) πŸš€ Most teams running Claude Code, Codex, or MCP agents hit the same two walls in production: broken KV prompt caches burning 2–5Γ— on toke

Just shipped CacheSurgeon v0.3.0 (MIT, live on PyPI: pip install -U cachesurgeon) πŸš€

Most teams running Claude Code, Codex, or MCP agents hit the same two walls in production: broken KV prompt caches burning 2–5Γ— on token bills, and zero runtime visibility when an MCP server mutates a tool schema or leaks a credential.

What's New in v0.3.0

  • BlackBox Flight Recorder β€” SHA-256 Merkle hash-chained turn ledger (SQLite WAL), deterministic Policy Time Machine (<50ms, $0 LLM cost), 0-FP Zero-Human Autopilot with 1-click rollback, and Ed25519-signed Autopsy Capsules
  • cachesurgeon scan β€” 2-second offline, zero-egress AI Agent & MCP Exposure + Token-Tax X-Ray (JSON, SARIF 2.1.0, HTML, CI --fail-on gating)
  • Refusal-Resilient Failover & Offline Ed25519 Governance Attestation
  • Shared-Team Session Isolation & HMAC-Salted Secret Vault tokens
  • cachesurgeon bench β€” paired direct vs. gateway Anthropic prompt-cache benchmark

257/257 tests passing, clean-room wheel & PyPI OIDC release verified.

Install / Upgrade:

pip install -U cachesurgeon
cachesurgeon scan

Release & Source (MIT): https://github.com/jsumpter415/cachesurgeon/releases/tag/v0.3.0

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.