mlsanityData to 26 Nov 2026

Skip the Compressor: Coding Agents Fix More Issues When They Pick Whole Files

arXiv 2610.21073 ↗Submitted 15 Oct 2026cs.SE cs.AI cs.CLcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

A coding agent works on repositories that can be far larger than its context window can hold. Prompt compressors and retrievers offer solutions to this problem, but patching an issue needs two things at once: the files that must change, and their code exactly as written, since the model must reproduce the lines it edits. Retrievers rank code by its similarity to the issue rather than by whether it must change, and compressors delete text to fit the budget. We show that at an equal token budget, an agent resolves more issues when the budget goes to choosing which files to show verbatim, as our simple selector CQ2-CARE does, than when it goes to pruning tokens or retrieving chunks. We fit every context to the same per-issue budget on 300 recent SWE-rebench issues and grade each patch with the benchmark's tests. With GPT-5.6 and Claude Opus 5, CQ2-CARE resolves 43.7% and 46.7% of the issues, 6.3 points more than the best of three compressors with either model, and 9.3 and 12.7 points more than the best of three retrievers. CQ2-CARE even resolves more issues than two methods trained for issue resolution, SweRank (by 0.7 and 1.7 points) and SWE-Pruner (by 2.0 and 7.3). Our analysis shows the defects of the baseline methods: retrievers often miss the files to edit, and compressors keep them but alter their text, so fewer patches apply. Exact-file selection needs no compression model and shows every line as the repository has it, so the model can quote the code it edits.

Key facts. No citing papers in the map yet (data through 26 Nov 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 18 of its 48 references that are in the map. Submitted 15 Oct 2026.

Builds on

18 of 48 references.

Closest ancestors · 3

Same direction, newest first

  1. 2026SWE-Pruner: Self-Adaptive Context Pruning for Coding Agents23 Jan
  2. 2025Reducing Cost of LLM Agents with Trajectory Reduction28 Sep
  3. 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents26 May

Other references · 15

  1. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,872
  2. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
  3. 2023MemGPT: Towards LLMs as Operating Systemscited by 1,655
  4. 2023LongLLMLingua: Accelerating and Enhancing LLMs in Long Context Scenarios via Prompt Compressioncited by 500
  5. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 397
  6. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 387
  7. 2024Prompt Compression for Large Language Models: A Surveycited by 77
  8. 2025The Complexity Trap: Simple Observation Masking Is as Efficient as LLM Summarization for Agent Context Managementcited by 73
  9. 2025The SWE-Bench Illusion: When State-of-the-Art LLMs Remember Instead of Reasoncited by 64
  10. 2025LongCodeZip: Compress Long Context for Code Language Modelscited by 42
  11. 2024CoRNStack: High-Quality Contrastive Data for Better Code Retrieval and Rerankingcited by 39
  12. 2025SweRank: Software Issue Localization with Code Rankingcited by 24
3 more
  1. 2024Characterizing Prompt Compression Methods for Long Context Inferencecited by 19
  2. 2026Compressing Code Context for LLM-based Issue Resolutioncited by 13
  3. 2026On the Effectiveness of Context Compression for Repository-Level Tasks: An Empirical Investigationcited by 4

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Evaluating AGENTS.md: Are Repository-Level Context Files Helpful for Coding Agents?
  2. 2026Coding Agents Don't Know When to Act
  3. 2026Do Context Files Help Coding Agents? A Two-Agent Ablation Study on Real Repositories
  4. 2026CodeGrep: An RL-Trained Retrieval Agent for LLM Coding Agents
  5. 2026An Empirical Cost Attribution of Context-Compression Gateways in Multi-Turn Coding Agents
  6. 2026Can Coding Agents Solve Repository-Level Issues with Rendered Code? An Exploratory Study of Visual Representations
  7. 2026Paritok-4B: Intent-Conditioned Context Compression for Coding Agents
  8. 2026Stratum: Repository Memory for Coding Agents Beyond the Context Window