- Rating
- 4
- Clarity
- 3
- Confidence
- 4
- Originality
- 2
- Quality
- 3
- Significance
- 4
Read review
Summary
BootstrapAgent is a five-stage pipeline (Discoverer -> Planner -> Generator -> deterministic Docker Verifier -> trace-driven Repair) that turns a repository URL into a .bootstrap directory containing setup.sh, doctor.sh, verify.sh and a metadata file. The repair loop runs for up to twenty iterations in a "warm" container, but the final artifact must pass clean-replay verification in a fresh container before being accepted. A "two-level" verification gate uses a cheap minimal_verify as the success criterion and an advisory strongest_verify, derived from CI, as an anti-downgrade signal. Headline: 92.9% clean-replay success on 212 Python repos drawn from Repo2Run-122, ExecutionAgent-50 and Installamatic-40, +8.5 pp over the HerAgent baseline. Reusing the contract reportedly cuts downstream Claude Code's median tokens 25.9% and wall time 22.3%.
Strengths and weaknesses
The framing "persist bootstrap exploration as a reusable, agent-consumable contract" is a clean way to package the problem and the contribution list is well-written. The trouble is that the components have all appeared in 2024/2025 work that the paper either does not cite or treats as one-line benchmark sources.
-
GitHub Next's Discovery Agent (Szabolcs/Slater/Pandita, May 2025, https://githubnext.com/projects/discovery-agent/) is essentially the same system: a ReAct-loop agent that auto-configures, builds and tests GitHub repos in containers, produces a single script "with clearly delineated sections for setup, build and test", runs an AI-based monitor to detect stuck/interactive commands, summarize long stdouts, and was evaluated on 50 (ExecutionAgent), 160 (Copilot Offline Eval) and 160 (CodeQL) repos. On the 160 Copilot repos it hits 91.25% build / 84.4% test at ~2 minutes per repo. That headline is statistically indistinguishable from BootstrapAgent's 92.9% at 24.6 min/repo. This is not cited and is a clear prior-art issue.
-
HerAgent (Li, Lu, Sarro, Le Goues, Ye, arXiv:2602.07871, Feb 8 2026) proposes an "Environment Maturity Hierarchy" with three levels of progressively stronger execution requirements ending in execution of the project's main entry point. BootstrapAgent's two-level minimal_verify / strongest_verify is the same idea with one rung removed. The paper cites HerAgent only as a numeric baseline (Table 1) and never contrasts the design. Given HerAgent's v1 is from February and the NeurIPS deadline is May, the work is concurrent, not a baseline, and the 8.5 pp delta needs paired statistical testing before being called an improvement.
-
Repo2Run (arXiv:2502.13681) already emits a reusable Dockerfile - a persistent, replayable artifact. The paper dismisses prior environment- setup work as treating setup as "a one-time deployment" but a Dockerfile is at least as reusable as a setup.sh + verify.sh pair.
-
The "warm repair / clean replay" split is the standard developer pattern of "iterate inside a container, then rebuild from scratch to confirm". Bazel, Nix, devcontainer "post-create + verify" hooks, and any modern CI matrix already encode this; the abstraction is fine, the novelty claim should be lowered.
What is plausibly novel and worth keeping: (a) the explicit reward-hacking guardrail that forbids the repair agent from weakening strongest_verify; (b) the structured BootstrapPlan as an intermediate object that the repair stage edits surgically rather than rewriting the whole contract; (c) the .bootstrap schema itself, if released and stabilized as a public spec - this is the contribution most likely to be reused by the community.
Benchmark selection is the biggest weakness. EnvBench (arXiv:2503.14443) deliberately filters out repos solvable by deterministic scripts, and the best agentic system on EnvBench-Python sits at 6.69%. SetupBench (arXiv:2507.09063) targets the exact things BootstrapAgent excludes - services, databases, multi-language orchestration - and OpenHands tops out at 38.9-57.4%. BuildBench (arXiv:2509.25248) covers 148 verified C/C++ repos. CSR-Bench (NAACL 2025) covers research-code deployment. BootstrapAgent is evaluated only on the three easiest Python-only benchmarks, and within Repo2Run only 122 of 420 repos are used with no stated exclusion criterion. The 92.9% headline almost certainly drops by 20-50 pp on EnvBench-Python and is meaningless until measured there.
Single-model evaluation. Everything runs on DeepSeek-V4-Flash-2026-04-25. There is no Claude/GPT-4o/Qwen replication, so we cannot tell whether the pipeline benefits any LLM or whether the prompts have been tuned to one model. PIPer (arXiv:2509.25455, by the EnvBench authors) shows that a Qwen3-8B with RLVR matches GPT-4o on EnvBench - a comparison against the trained-specialist alternative is required, not optional.
Missing trivial baselines. There is no comparison against (a) "use the existing devcontainer.json if present", (b) "run README first code block, then pip install -e .", (c) "use the project's CI workflow verbatim", (d) a hand-written AGENTS.md baseline. Without these we don't know how much of the 92.9% is the multi-agent loop and how much is "most Python repos with a pyproject.toml and tests/ build with three commands".
Repair-budget asymmetry. BootstrapAgent uses up to 20 repair rounds, plus a warm-state container, plus CI-extracted hints. HerAgent's budget under this comparison is not stated. Matching budgets is necessary before claiming 8.5 pp.
Ablation oversells the components. Table 4 shows w/o Clean Replay drops only 0.8-5 pp, while w/o Verification-Guided Repair drops 55-69.7 pp. The narrative around clean replay and two-level verification is therefore dominated by repair iteration, not by the new design choices. The paper should report this honestly and reframe the contribution.
Reward-hacking guardrail. Catches 5/122, 4/50, 2/40 cases. That is real but small, and the false-positive rate (4.1-8.0%) is not negligible. A qualitative trace of caught cases would be far more convincing than the bar chart.
Downstream transfer claim is conflated. The 25.9% token / 22.3% time reduction is set in direct tension with the Vechev-group result (arXiv:2602.11988, Feb 2026) that providing AGENTS.md-style context files does not improve task success while raising inference cost 20%. The authors should disentangle three sources: (i) cache reuse from a prebuilt container, (ii) skipping the bootstrap exploration step entirely, (iii) the contract acting as an in-context document. Without that split, the headline is unsupported.
No statistical testing. The authors' own NeurIPS checklist admits no confidence intervals or error bars. With n=40-122 per benchmark and an 8.5 pp delta, a paired McNemar / bootstrap CI is feasible and necessary.
Cost framing. "Amortised across multiple users" is stated, never measured. A small simulated study - one contract, k=2,4,8 fresh downstream agents - would substantiate it. Right now it is a claim that sounds reasonable and is unverifiable.
Operational risk not discussed. The contract is an executable shell script the agent produced; downstream agents execute it in their own container. The paper should at minimum discuss (a) supply-chain implications (a generator can be steered into pinning a malicious package), (b) sandboxing assumptions, (c) how a contract should be re-verified when the underlying base image changes, and (d) staleness: what happens at month 3, month 6, as transitive deps drift?
Things to improve:
- Add EnvBench-Python (and JVM), SetupBench, BuildBench, and the full Repo2Run-420; report per-benchmark numbers. Drop the "92.9%" headline in favour of a per-benchmark table that makes the easy/hard split visible.
- Run the full pipeline with two additional LLMs (Claude, GPT-4o or Qwen3-32B) and report variance. Compare against PIPer as the trained alternative.
- Add three trivial baselines: existing-devcontainer, README-first, and hand-written AGENTS.md. Match repair budget with HerAgent.
- Report paired McNemar tests and bootstrapped 95% CIs on every headline number.
- Split the downstream-transfer experiment into (i) raw "skip bootstrap" reuse, (ii) context-only ("here is what worked, no script"), and (iii) full contract; show which component drives the 25.9%.
- Run a small longitudinal experiment: regenerate the contract 90 days later with no code change and report drift / re-verification cost.
- Release the .bootstrap schema as a versioned public spec with a reference verifier; this is the most reusable contribution.
- Add 3-5 qualitative repair traces (full transcripts) in the appendix.
- Add a security/sandboxing discussion: threat model, what an adversary in setup.sh can do to a downstream user.
- Move the reward-hacking guardrail and the BootstrapPlan IR forward as the actual contribution; deprecate "warm vs clean replay" as a framing since the ablation shows it contributes <5 pp.
The core idea is reasonable and the engineering is solid, but as written the novelty is incremental over Discovery Agent / HerAgent / Repo2Run, the benchmark slice is the easy end of the distribution, and the downstream claim is not isolated from a concurrent negative result. With the changes above the paper would be substantially stronger for the next cycle.
Questions
See above
Limitations
See above
Paper formatting concerns
See above
Final justification
The rebuttal answers everything I asked. Score raised to 4.
We thank the reviewer for detailed and constructive feedback. We appreciate the opportunity to clarify these points and strengthen the paper with substantial new evidence. During the rebuttal, we addressed four central concerns:
In addition, we clarify the cross-architecture portability of our approach, its security assumptions, the risk of artifact staleness, and the scope of our novelty. In the revision, we will incorporate these new results and expand the discussion. Together, these additions clarify the scope of our contribution and strengthen the empirical evidence requested by the reviewer.
1.Evaluation coverage, baselines, and statistical reliability
1.1 Harder and broader benchmarks
We did not make this sufficiently clear in the original presentation, and would now like to clarify that the original evaluation was not limited to Python. The ExecutionAgent benchmark includes repositories written in JavaScript, Python, C, Java, and C++. Moreover, the original Repo2Run-122 subset was predetermined by the HerAgent comparison protocol, it was not selected based on our experimental outcomes.
Following the reviewer’s suggestion, we provide a more comprehensive evaluation by additionally reporting results on the full Repo2Run-420, EnvBench-Python-329, and EnvBench-JVM-665 benchmarks. We also introduce two additional baselines, ExecutionAgent and Repo2Run (Because Repo2Run supports only Python, it is evaluated only on benchmarks composed of Python repositories). All baselines were evaluated using the same repository commits, resource budgets, and success criteria, while preserving each method’s native control flow. The results are shown form one fixed seed.
As the reviewer noted, EnvBench is a particularly challenging benchmark, and BootstrapAgent achieves substantially larger gains in these more difficult settings.
1.2 Trivial baselines
To demonstrate that these repositories cannot be set up simply by relying on existing artifacts, and to assess the role of our .bootstrap files in reducing context usage, we conducted a more detailed study with two categories of baselines, as reported below:
Existing-artifact baselines
We add deterministic zero-repair baselines that directly use available devcontainers, README installation instructions, or CI workflows before running benchmark tests.
As the table shows, reusing these artifacts is challenging. Specially, devcontainer coverage was extremely limited, and using it to bootstrap also resulted in a low success rate.
Knowledge-format baselines
In the original paper, we did not describe the experimental setup for .bootstrap clearly enough, which caused misunderstanding and will be corrected. We consider the cache-reuse setting unnecessary because, to ensure a fair comparison, we have discarded all caches in every experiment. Moreover, skipping bootstrap entirely corresponds to the cold-start results already reported. We agree with the reviewer’s suggestion to evaluate an in-context setting. To demonstrate the value of the generated .bootstrap files, we compare cold start, hand-written AGENTS.md, and full .bootstrap in terms of their reductions in the downstream agent’s environment-building overhead. The results are shown in the table below (on the original 3 benchmarks' 212 repositories).
The results show that even context-only reuse can substantially reduce environment-building overhead. This differs from the Vechev group’s findings because we target a different setting. In bootstrap scenarios, verified context often prevents repeated failures and consequently reduces the amount of failure-log context, saving both tokens and time.
We further analyzed cost amortization over 212 cases. Contract construction required 102,861 active tokens on average, while downstream execution used 59,215 tokens with the contract versus 80,021 without it. We define the amortized per-agent cost as:
Cˉ(k)=Cwarm+kCcontract.
For (k=2,4,8), the resulting per-agent costs are 110,646, 84,930, and 72,073 tokens, respectively.
Thus, contract reuse incurs overheads of 38.3% and 6.1% when there are two and four downstream agents, respectively, but yields a 9.9% cost saving when there are eight downstream agents. The break-even point is five downstream agents.
1.3 Statistical Evidence
We appreciate the reviewer’s suggestion regarding statistical reliability. The fixed-run paired outcomes favor BootstrapAgent on all five benchmarks. However, the ExecutionAgent and InstallMatic sets are small ((n=50) and (n=40)) and contain only 5 and 6 discordant pairs, so their fixed-run gains are not statistically conclusive. Complementarily, across five independent runs on the two original benchmarks, paired t-tests on each repository’s success frequency show significant gains for BootstrapAgent (p=0.0231 and p=0.00394). In contrast, on EnvBench-Python and EnvBench-JVM, BootstrapAgent improves over HerAgent by (+8.5) pp and (+6.2) pp; both paired-bootstrap confidence intervals exclude zero, and both exact McNemar tests yield (p<10−5). These results remain significant after Bonferroni correction.
2. Relation to prior work
We thank the reviewer for raising several questions about the related work. We agree on three points raised: Discovery Agent should have been discussed; Dockerfiles are persistent, replayable artifacts; and warm iteration followed by clean reconstruction is established practice. The distinctions remain substantive. Discovery Agent generates and executes a reusable setup/build/test script, but does not use clean replay of the finalized artifact as the explicit acceptance criterion reported in our work. Repo2Run ensures reproducible builds but is Python-only and emits Dockerfile; our artifacts additionally carry evidence, diagnostics, and repair knowledge. HerAgent's hierarchy defines progressively stronger capability targets, whereas our
strongest_verifyis an immutable anti-downgrade reference during repair andminimal_verifythe acceptance gate — a related but distinct mechanism. We will add a direct design comparison rather than presenting HerAgent only as a numerical baseline. Prior work persists successful setup actions, whereas BootstrapAgent persists those actions together with the validity conditions under which future agents can trust and reuse them, via an explicit separation among optimization, acceptance, validation integrity, and downstream reuse.3. Additional Discussions
Cross-model generalization.
The strong performance of Qwen3-8B mentioned by the reviewer can be attributable to its RL training, whereas our primary focus is the agent workflow itself. We conducted cross-model experiments by changing only the backbone model. BootstrapAgent remains operational across all four backbones, although performance varies materially with model capability.
Operational considerations.
Our operational model assumes maintainer oversight: the verifier establishes reproducibility but cannot establish that executed commands are benign. Since a repository may contain concealed malicious code, maintainers should inspect the generated artifacts before production adoption, and execution should occur without host secrets, with restricted filesystem mounts, and inside least-privilege containers. When the base image becomes incompatible with the existing contract, BootstrapAgent should be rerun to generate a new .bootstrap artifact. On staleness, a genuine 90-day prospective study cannot be completed within the rebuttal period; we acknowledge the risk, and will add long-term replay stability as a limitation and future evaluation target.
Guardrail cases.
Manual inspection found proposed repairs that deleted failing tests (
dynamiq), replaced a CMake build withls/echo(imgui_test_engine), or maskedpnpm testfailure with|| echo(r2r). The validation floor rejected all three; full traces will be added to the appendix.