Persistent attempt memory for repository-level generation
Repository-level coding agents need a retry controller that keeps explicit memory across full attempts and always returns the best artifact seen so far. The current evidence points to a specific design: store structured success notes, failure notes, and the highest-scoring repository after each run, then feed those records back into the next attempt together with execution feedback. LiveCoder reports up to 22.94 points of functional improvement on RAL-Bench, repository reuse up to 81.58%, and cost reduction up to 53.63%. EnvGraph supports the same operational change from a different angle: many repository failures are still installation, dependency, and cross-file reference failures, so retries need runtime diagnosis, not just more sampling.
The practical build is a repository runner that logs each attempt as a durable artifact with test results, install logs, runtime errors, and a compact diagnosis record. Teams evaluating coding agents on internal scaffolding or greenfield service generation can test this cheaply by comparing three conditions on the same task set: single-shot generation, repeated attempts without memory, and repeated attempts with persistent attempt memory plus best-artifact fallback. If the win is real, later attempts should stop erasing earlier partial successes, and the system should recover more executables without paying for the same failures again.