mirror of
https://github.com/headroomlabs-ai/headroom.git
synced 2026-08-27 14:17:10 -04:00
`headroom/transforms/text_compressor.py` was a regex-line-sampling fallback that nothing in the runtime called. ContentRouter routes `CompressionStrategy.TEXT` straight to the Kompress ML compressor at `content_router.py:1046` — the comment there literally says 'Prefer Kompress ML compressor for text'. The Python file was orphaned but still imported by its own test class, making it look live in the 3e queue. Drops the 3e.3 port from the queue: there's nothing to port. # Removed * `headroom/transforms/text_compressor.py` (255 LOC, unused) * `tests/test_text_compressors.py::TestTextCompressor` (3 tests) * `text_compressor` mention in `error_detection.py` shim docstring * `text_compressor` mention in `test_signals_keyword_parity.py` docstring * `TextCompressor` mention in `bench_latency.py` scenario comment # Kept (defensive) The legacy marker regex in `ccr/tool_injection.py:213` stays — it parses an even older TextCompressor output format (pre-2026), is purely defensive, and removal buys nothing. Test references to that format in `test_ccr_tool_injection.py` document the regex contract and stay too. # Test plan * `make ci-precheck` clean * `tests/test_text_compressors.py` 19 passes (was 22, dropped 3) |
||
|---|---|---|
| .. | ||
| scenarios | ||
| __init__.py | ||
| adversarial_ccr_tests.py | ||
| agent_cost_benchmark.py | ||
| bench_latency.py | ||
| bench_relevance.py | ||
| bench_transforms.py | ||
| cache_bust_trace_report.py | ||
| cache_validation_bundle.py | ||
| ccr_regression_benchmark.py | ||
| claude_session_branch_compare.py | ||
| claude_session_mode_benchmark.py | ||
| comprehensive_eval.py | ||
| compression_benchmark.py | ||
| conftest.py | ||
| dynamic_detector_benchmark.py | ||
| headroom_adversarial_benchmark.py | ||
| headroom_worst_case_benchmark.py | ||
| prefix_cache_benchmark.py | ||
| proxy_mode_benchmark.py | ||
| real_world_agent_benchmark.py | ||
| run_benchmarks.py | ||
| synthetic_long_cache_suite_report.py | ||
| synthetic_token_cache_bust_report.py | ||