#57845 Fixed comp/agent

[Bug]: Envelope-layout cache breakpoints silently no-op during tool loops (tool messages skipped, empty-assistant markers ignored) — ~2x input cost on OpenRouter + Claude

On the OpenRouter/envelope cache layout, cache breakpoints get placed on tool and empty-assistant messages that cannot carry an effective cache marker, silently disabling caching for most of an agentic conversation and roughly doubling input cost. This issue is now closed.