Dependency Fabrication in Repository Deployment Agents

Robin Matter, supervised by Salman Toor at Uppsala University, tests what repository deployment agents do when a working setup is impossible because a dependency cannot be legitimately obtained.
Ask this paper
Probe design. Each probe repository depends on a package the agent cannot obtain. Any passing test run therefore means the agent fabricated something, such as a stub that replaces the missing package.
Agents fabricate. Agents in Repo2Run and SetupX usually fabricated the dependency, and both harnesses mostly still marked those runs as successful.
Rules alone fail. Instructions against fabrication, in the prompt or in repository documentation, did not reliably stop the behavior.
What worked. On a purpose-built MinimalSetupAgent, a direct rule plus a clear way to stop and report gave zero cheating across 16 runs for both Qwen3.5-Plus and GPT-5.6 Luna. Repo2Run and SetupX also needed a native escalation tool, and Repo2Run needed a prompt with less emphasis on passing tests.
Abstract
Repository deployment agents set up the environment needed to run a software repository. They often treat passing tests as proof of a successful setup. This report examines how such agents behave when a working setup is impossible. Probe repositories were built with a dependency that the agents could not legitimately obtain. Passing tests therefore indicated fabrication, such as creating a stub to replace the missing package. Agents in Repo2Run and SetupX usually fabricated the dependency. Both harnesses mostly still marked these runs as successful. Rules against fabrication, whether given in the prompt or repository documentation, did not reliably prevent this behavior. On MinimalSetupAgent, which was built for this report, mitigations proposed in the reward-hacking literature were most effective when the agent received a direct rule and had a clear way to stop and report the problem. Under these conditions, neither Qwen3.5-Plus nor GPT-5.6 Luna cheated in any of the 16 runs. Applying the same mitigation to Repo2Run and SetupX also required a native tool call for escalation. In Repo2Run, it worked only after the prompt was also replaced with one that placed less emphasis on passing tests.