Expand description
Cache-preservation telemetry for the proxy’s frozen-region prose rewrites (#710).
The proxy only ever rewrites prose inside the cache-safe frozen window
[cached_prefix_len, boundary) — never inside the client-cached prefix and
never in the live tail. This module turns that invariant into a measurable
production signal: every request that performs a frozen-region prose rewrite
reports whether the rewrite stayed cache-safe, and /status surfaces the
resulting ratio (1.0 = every rewrite was provably cache-safe, the
healthy steady state). A value below 1.0 is a regression signal.
Structs§
- Cache
Safety - Point-in-time view of the cache-safety counters for
/status.