Growing Harness is a failure‑guided training paradigm that learns reusable executable code for LLM agents, turning recurring control logic into a shared harness while reserving model calls for task‑specific reasoning.
The method records function‑level execution traces to locate failures, then an optimizer repairs a bounded code window. Successful edits are kept via a held‑out gate that rolls back harmful changes, allowing the harness’s control structure to evolve from task feedback.








