#1105·caveman

Cache-breakpoint planner never stabilizes for Claude Code native integration — every request cache-busts

Author: alex-libraCreated Sep 21, 2026Updated Sep 28, 2026

Running caveman-proxy (mode: compress) wrapping Claude Code (Windows). Every /v1/messages request logs:

"derived cache epoch prefix diverged; forwarding original bytes"
"session frozen-cache prefix did not extend prior request; possible cache bust"

back-to-back on the same session_id, across multiple sessions, persisting after repairing MCP recovery (caveman mcp install claude --server caveman, which fixed the separate "MCP recovery missing" issue and flipped native integration claude from unavailable → degraded · newer_unknown).

Effect: caveman_stats reports tokens_before:0, tokens_after:0, requests:0 even with compress on and heavy usage — no compression is landing, and the repeated cache-prefix divergence means Anthropic prompt caching is being defeated on every turn (net token cost increase, not decrease).

Environment: Windows 11 (64-bit), Claude Code installed natively (claude.exe v2.1.278) at ~/.local/bin, @caveman-ai/cli v1.3.4, diverging_component_index consistently 1.

Reproduction: any multi-turn Claude Code session with the proxy wrap active; check ~/.caveman/proxy.log for the WARN pairs above.