# Rebuild Dossier: Mechanically-Enforced Specs for Agentic App Rebuilds, and What Model-Tier Failures Reveal

DevFeed: [Rebuild Dossier: Mechanically-Enforced Specs for Agentic App Rebuilds, and What Model-Tier Failures Reveal](<https://devfeed.tech/articles/rebuild-dossier-mechanically-enforced-specs-for-agentic-app-rebuilds-and-what-model-tier-failures-reveal-107351.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2608.23616>)

Author: Parker Fawcett

Published: 2026-10-30T04:00:00Z

Content type: article

Language: en

Sources: [arXiv: Software Engineering](<https://devfeed.tech/sources/arxiv-software-engineering.md>)

Topics: [Test-driven development](<https://devfeed.tech/topics/tdd.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [Multi-step AI processes](<https://devfeed.tech/topics/multi-step-ai-processes.md>)

Tags: [agentic](<https://devfeed.tech/tags/agentic.md>), [application](<https://devfeed.tech/tags/application.md>), [automated](<https://devfeed.tech/tags/automated.md>), [code](<https://devfeed.tech/tags/code.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-se](<https://devfeed.tech/tags/cs-se.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [model](<https://devfeed.tech/tags/model.md>), [rebuild](<https://devfeed.tech/tags/rebuild.md>), [test](<https://devfeed.tech/tags/test.md>), [toolchain](<https://devfeed.tech/tags/toolchain.md>)

## AI overview

rebuild-dossier locks an application's exact inputs and outputs before implementation and uses automated checks to enforce one-test-at-a-time rebuilding. The reported results show important limits: in a small comparison, the compliant agent failed a held-back test while a rule-breaking agent passed the suite; against a weaker model given the source and one instruction, the tool tied on a small app but lost on a larger app where its check was not running. The authors attribute that larger-app result to the check mechanism, while saying interface-locking held up separately. Checking claims against the agent's report, automated logs, and produced files exposed errors missed by any single level, including a logging bug. Results varied by model: a stronger model followed the process three consecutive times on another toolchain, while the weaker model did not. The tool is described as open source and MIT licensed; the abstract notes that passing tests alone cannot establish correctness when tests can be gamed.

## Source excerpt

arXiv:2608.23616v4 Announce Type: replace Abstract: An AI agent's rebuild is only as good as the process that produced it. Prior work found that once a model is strong enough, a multi-agent rebuild pipeline loses to the simplest approach: giving the model the original code and one instruction (AgentModernize). We present rebuild-dossier, an open-source tool that locks an application's real interface - its exact inputs and outputs - before any code is written, then enforces one-test-at-a-time building through automated checks, not written instructions alone. Three results shape this evaluation, with differing amounts of evidence. First, in a small comparison, the compliant agent failed a held-back test while the rule-breaking agent passed everything - proof that a passing suite doesn't certify correctness when tests can be gamed. Second, we tested whether this beats simply giving the weaker model the source and one instruction: tied on a small app, but lost outright on a larger one where the automated check wasn't even running - pointing to the check mechanism, not interface-locking, which held up separately. Third, every claim here is checked at three levels - the agent's own report, an automated log, and the actual files produced - catching real errors, including a bug in our own logging code, that a single level would have missed. These risks reproduce on a different model and toolchain: a stronger model followed our process three times running, something the weaker model never managed. The tool is public, MIT licensed, and reproduces end to end against our own applications.