# Changelog

## Score

- CAI 36 → 38 (+2.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

## Lenses

- Code Health 59 → 53 (-6.4)
- Architecture 96 → 94 (-2.5)
- Maturity 81 → 91 (+9.6)
- Readiness 62 → 62 (-0.3)
- Security 70 → 76 (+6.8)
- Domain Modelling 10 → 10 (+0.0)
- Accessibility 48 → 62 (+14.3)
- Performance 79 → 79 (+0.0)

## Resolved (339)

- Critical CVE: [GHSA redacted] (uv.lock)
- DiffCompressor::compress_with_store (cognitive 38) (crates/headroom-core/src/transforms/diff_compressor.rs)
- DiffCompressor::compress_with_store (cyclomatic 21) (crates/headroom-core/src/transforms/diff_compressor.rs)
- Duplicated block (10 lines × 2) (crates/headroom-proxy/src/bedrock/invoke.rs)
- Duplicated block (10 lines × 2) (headroom/proxy/handlers/streaming.py)
- Duplicated block (10–13 lines × 2) (crates/headroom-proxy/src/proxy.rs)
- Duplicated block (11 lines × 2) (headroom/ccr/tool_calls.py)
- Duplicated block (11 lines × 2) (headroom/proxy/handlers/anthropic.py)
- Duplicated block (11 lines × 2) (headroom/proxy/handlers/openai.py)
- Duplicated block (12 lines × 2) (crates/headroom-core/src/transforms/smart_crusher/analyzer.rs)
- Duplicated block (12 lines × 2) (headroom/memory/adapters/fts5.py)
- Duplicated block (12–13 lines × 2) (headroom/proxy/savings_tracker.py)
- Duplicated block (12–13 lines × 2) (headroom/tokenizers/base.py)
- Duplicated block (13 lines × 2) (headroom/cli/wrap.py)
- Duplicated block (13–14 lines × 2) (headroom/proxy/prometheus_metrics.py)
- Duplicated block (14 lines × 2) (headroom/cli/memory.py)
- Duplicated block (15 lines × 2) (headroom/proxy/handlers/openai.py)
- Duplicated block (15 lines × 3) (headroom/models/registry.py)
- Duplicated block (15 lines × 5) (headroom/models/registry.py)
- Duplicated block (15–16 lines × 2) (crates/headroom-proxy/src/proxy.rs)
- …and 319 more

## New (410)

- AnthropicHandlerMixin._append_proactive_expansion_after_cached_prefix (cognitive 40) (headroom/proxy/handlers/anthropic.py)
- AnthropicHandlerMixin._append_proactive_expansion_after_cached_prefix (cyclomatic 25) (headroom/proxy/handlers/anthropic.py)
- BatchCompressionEvaluator.evaluate_case (cognitive 20) (headroom/evals/batch_compression_eval.py)
- BatchCompressionEvaluator.evaluate_case (cyclomatic 20) (headroom/evals/batch_compression_eval.py)
- BeforeAfterRunner.evaluate_case (cognitive 20) (headroom/evals/runners/before_after.py)
- BeforeAfterRunner.evaluate_case (cyclomatic 19) (headroom/evals/runners/before_after.py)
- CodeAwareCompressor._extract_structure (cognitive 30) (headroom/transforms/code_compressor.py)
- CodeAwareCompressor._extract_structure (cyclomatic 17) (headroom/transforms/code_compressor.py)
- CompressionEvaluator.evaluate_case (cognitive 17) (headroom/evals/core.py)
- CompressionEvaluator.evaluate_case (cyclomatic 17) (headroom/evals/core.py)
- ContentRouter._compress_mixed (cyclomatic 20) (headroom/transforms/content_router.py)
- CostTracker.record_tokens (cognitive 18) (headroom/proxy/cost.py)
- CostTracker.record_tokens (cyclomatic 17) (headroom/proxy/cost.py)
- Critical vulnerability: [GHSA redacted] (sbom/headroom-sbom-prod.cdx.json)
- Critical vulnerability: [GHSA redacted] (sbom/headroom-sbom.spdx.json)
- DiffCompressor::compress_with_ccr_source (cognitive 42) (crates/headroom-core/src/transforms/diff_compressor.rs)
- DiffCompressor::compress_with_ccr_source (cyclomatic 22) (crates/headroom-core/src/transforms/diff_compressor.rs)
- DirectMem0Adapter.search_memories (cognitive 16) (headroom/memory/backends/direct_mem0.py)
- Duplicated block (10 lines × 2) (crates/headroom-proxy/src/bedrock/invoke.rs)
- Duplicated block (10 lines × 3) (headroom/evals/batch_compression_eval.py)
- …and 390 more

## Changes since last survey

- 300 commits — 63 feature/other, 237 fixes

## By area

- headroom/proxy — 48 commits
- headroom/transforms — 35 commits
- (root) — 27 commits
- crates/headroom-core — 17 commits
- headroom/cache — 16 commits
- sdk/typescript — 13 commits
- docs/content — 12 commits
- headroom/memory — 11 commits
- headroom/providers — 11 commits
- headroom/cli — 10 commits
- headroom/tokenizers — 7 commits
- plugins/openclaw — 7 commits
- .github/workflows — 6 commits
- crates/headroom-proxy — 6 commits
- plugins/opencode — 5 commits
- e2e/wrap — 4 commits
- tests/test_cli — 4 commits
- examples/deployment — 3 commits
- headroom/evals — 3 commits
- headroom/install — 3 commits

## Notable commits

- fix: Fix(proxy) vertex model override propagation (#2367)
- fix: fix(asgi): stop buffering when the client disconnects ([GHSA redacted]) (#4701)
- fix: fix(backends): forward the standard service_tier param (litellm + anyllm) (#2468)
- fix: fix(backends/litellm): keep cache_control on text blocks for Bedrock prompt caching (#4565)
- fix: fix(beacon): enforce the allowlist below the top-level keys (#4691)
- fix: fix(benchmarks): drop the duplicate protect_recent=0 table from the proof harness (#4754)
- fix: fix(benchmarks): refuse a dirty or non-git --worktree in codemode_ab (#4736)
- fix: fix(binaries): fail closed on HEADROOM_BINARIES_ALLOW_UNVERIFIED=0/false (#3218)
- fix: fix(cache): build semantic entry before evicting so a failed embedding keeps live entries (#4581)
- fix: fix(cache): count a tool_result with no text as replayable in the frozen prefix (#4523)
- fix: fix(cache): exclude cold starts from TTL hit evidence (#4728)
- fix: fix(cache): fail closed on SQLite corruption instead of deleting the store online (#4361)
- fix: fix(cache): namespace SemanticCacheLayer by provider, model and metadata (#4473)
- fix: fix(cache): order disk writes with result invalidation (#4766)
- fix: fix(cache): preserve Anthropic tool-result blocks on replay (#4765)
- fix: fix(cache): preserve OpenAI tool block metadata on cached replay (#4334)
- fix: fix(cache): record TTL observations with relative filenames (#4711)
- fix: fix(cache): refresh semantic cache recency on updates (#4767)
- fix: fix(cache): reject nonpositive semantic cache capacities (#4301)
- fix: fix(cache): restore query-only semantic cache lookups (#4709)
- …and 280 more

## Architecture

- Unchanged — 0 containers · 1 contexts · 0 edges
