Repository setup memory with container rollback and independent pass/fail checks
Teams that use coding agents on many repositories can start by saving failed setup repairs as structured records, then retrieving them during future setup runs. A useful record would include the error text, package or toolchain signals, the repair commands, the repository type, and the later pass/fail result. The agent should try retrieved fixes inside a disposable container snapshot, roll back failed installs, and keep the final verdict separate from the agent that attempted the repair.
SETUPX gives this workflow a concrete shape. Its eXPerience Units store setup signals, plain-language guidance, executable actions, and telemetry; retrieval combines similarity, historical success, and an LLM reranker; Docker snapshots support rollback; and a Prosecutor-Judge check separates failure evidence from the final verdict. On 100 Python repositories from EnvBench, SETUPX with memory reports a 92% pass rate, 10 points above its no-memory variant. CODESKILL points in the same operational direction for broader coding tasks: compact Markdown skills with trigger conditions and action steps improved average success for frozen coding policies across EnvBench, SWE-Bench Verified, and Terminal-Bench 2.
A cheap trial would run this only on repository bootstrapping in CI or developer onboarding. The pass condition is concrete: documented commands and tests run in a clean container, the repair history is reusable, and harmful dependency changes can be rolled back.