CoReMem: Cost-Internalizing Memory for Successive Coding Tasks with Prospective Valuation
TL;DR - CoReMem helps coding agents retain compact, cost-effective repository memories across successive tasks. On ChainSWE, it improved resolution rates while reducing steps and token usage.
- Values trajectory segments by testing their usefulness on the next task.
- Organizes memory around repository locations and executable checks.
- Credits memory-derived actions using provenance-gated rewards.
- Improved a 27B actor’s resolve rate from 21.0% to 25.7%, with 17% fewer steps and 11% fewer cache-aware tokens.