acceptodds
Published as a conference paper at NeurIPS 2026

BootstrapAgent: Turning Repository Setup into Reusable Agent Knowledge

Sihan Fu, Oucheng Liu, Shiyuan Wang, Jin Shi, Chengkun Wei

Abstract

Code agents are rapidly lowering the barrier for developers to work with unfamiliar repositories, and are increasingly adopted for tasks such as building prototypes, reproducing experiments, and adding features. Reliably executing these tasks depends on a critical prerequisite: the target repository must first be successfully set up and brought into a usable development state. This bootstrapping process requires substantial trial-and-error exploration by code agents, yet the resulting knowledge (e.g., resolved dependencies, repair strategies) remains trapped in a single conversation, unavailable to future agents or developers. We therefore formulate repository bootstrapping as a reusable startup knowledge problem and introduce BootstrapAgent, a multi-agent framework that distills bootstrap exploration into a persistent, verifiable, agent-consumable .bootstrap contract. Through CI evidence extraction, structured planning, deterministic Docker-based verification, and trace-driven repair, BootstrapAgent generates a contract covering environment setup, diagnostic checks, minimal verification, and accumulated repair knowledge. We further propose warm repair with clean replay to accelerate iterative debugging without sacrificing cold-start reproducibility, and a two-level verification strategy to prevent reward hacking. Experiments on three benchmarks show that BootstrapAgent achieves a 92.9% success rate, outperforming the baseline by over 10% while reducing downstream agent token usage by 25.9% and build time by 22.3%.

Keywords:
Sydney

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_FA7TOpenReview ↗
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:

  1. 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.
  2. Run the full pipeline with two additional LLMs (Claude, GPT-4o or Qwen3-32B) and report variance. Compare against PIPer as the trained alternative.
  3. Add three trivial baselines: existing-devcontainer, README-first, and hand-written AGENTS.md. Match repair budget with HerAgent.
  4. Report paired McNemar tests and bootstrapped 95% CIs on every headline number.
  5. 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%.
  6. Run a small longitudinal experiment: regenerate the contract 90 days later with no code change and report drift / re-verification cost.
  7. Release the .bootstrap schema as a versioned public spec with a reference verifier; this is the most reusable contribution.
  8. Add 3-5 qualitative repair traces (full transcripts) in the appendix.
  9. Add a security/sandboxing discussion: threat model, what an adversary in setup.sh can do to a downstream user.
  10. 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.

1 comment

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:

  1. we extended our evaluation to the full Repo2Run-420, EnvBench-Python-329, and EnvBench-JVM-665 benchmarks;
  2. we added execution-feedback and repository-artifact baselines under matched resource budgets;
  3. we conducted paired significance tests and multi-backbone evaluations;
  4. we separated context-only guidance from full executable-contract reuse in fresh, cache-free environments.

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.

Baseline / BenchmarkExecutionAgentInstallamaticRepo2Run-420EnvBench-Python-329EnvBench-JVM-665
ExecutionAgent74.0%77.5%73.1%13.4%56.5%
Repo2RunN/A82.5%81.7%14.9%N/A
HerAgent82.0%85.0%82.1%17.0%67.8%
BootstrapAgent84.0%95.0%83.8%25.5%74.0%

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.

Method / BenchmarkExecutionAgentInstallamaticRepo2Run-420EnvBench-Python-329EnvBench-JVM-665
devcontainer coverage24.0%10.0%2.6%3.6%1.7%
devcontainer6.0%2.5%1.0%1.8%1.1%
README-first8.0%30.0%26.4%19.1%2.4%
CI Workflow30.0%32.5%12.4%15.5%14.4%

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).

ConditionInformation providedTotal tokens ↓Wall time ↓Agent turns ↓
CleanRepository only1.00×1.00×1.00×
Context-only/hand-written AGENTS.mdNatural-language bootstrap guidance0.85×0.88×0.80×
Full .bootstrapVerified executable contract0.74×0.78×0.55×

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+Ccontractk.\bar{C}(k)=C_{\mathrm{warm}}+\frac{C_{\mathrm{contract}}}{k}.

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−510^{-5}). These results remain significant after Bonferroni correction.

BenchmarkPaired-bootstrap 95% CIBA-only / HA-onlyExact McNemar p
ExecutionAgent[−6.0, 10.0] pp3 / 21
Installamatic[0.0, 22.5] pp5 / 10.2188
Repo2Run-420[−0.7, 4.0] pp17 / 100.2478
EnvBench-Python-329[4.9, 12.2] pp34 / 68.36×10−68.36\times10^{-6}
EnvBench-JVM-665[3.5, 8.9] pp63 / 229.81×10−69.81\times10^{-6}

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_verify is an immutable anti-downgrade reference during repair and minimal_verify the 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.

BackboneExecutionAgentInstallamatic
DeepSeek-V4-Flash84.0%95.0%
GPT-5.480.0%90.0%
Claude Sonnet 586.0%97.5%
Qwen3.7-Max76.0%80.0%

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 with ls/echo (imgui_test_engine), or masked pnpm test failure with || echo (r2r). The validation floor rejected all three; full traces will be added to the appendix.

Reviewer_2pFxOpenReview ↗
Rating
4
Clarity
4
Confidence
3
Originality
4
Quality
3
Significance
3
Read review
Summary

This paper addresses the high trial-and-error costs, opaque processes, and non-reusable knowledge faced by code agents when setting up unfamiliar code repositories. To tackle these issues, the authors propose a multi-agent framework, BootstrapAgent. This framework analyzes repository structures, CI/CD configuration files, and dependency metadata to generate a structured setup plan. It then performs iterative verification and repair in a clean Docker environment, ultimately outputting a reusable .bootstrap startup contract. Experiments show that on three benchmarks containing 212 real-world repositories, this method achieves a 92.9% environment construction success rate, significantly outperforming the baseline model (HerAgent). More importantly, the bootstrap contract generated by this framework can be directly reused by downstream agents, reducing their token consumption by 25.9% and environment construction time by 22.3%.

Strengths and weaknesses

Strengths:

  • Most current research on environment setup for code agents tends to treat environment construction as a one-time pass task. This paper argues that "the knowledge generated during the trial-and-error process should not dissipate when the conversation ends," and transforms it into a persistent and verifiable .bootstrap startup contract. This perspective of distilling environment setup into "Reusable Knowledge" is highly inspiring.
  • Compared to human-readable README files or traditional AGENTS.md, the contract designed in this paper (including setup.sh, doctor.sh, verify.sh, and structured metadata) is specifically tailored for downstream agent consumption, providing a set of standardized and deterministic API interfaces.
  • During multi-round iterative repairs, agents are highly prone to "reward hacking" (e.g., replacing complex unit tests with a simple python --version check to cheat the verification process). The paper innovatively introduces minimal_verify (as a mandatory success threshold) and strongest_verify (as an advisory guardrail to prevent downgrading), effectively ensuring the authenticity of successful setups.
  • Across multiple real-world repositories in various languages, BootstrapAgent achieves a high cold-start success rate, significantly improving upon the current strongest baselines.

Weaknesses:

  • The current high success rate and verification pipeline heavily rely on the authors' pre-configured minimal Ubuntu 24.04 container environment. However, real-world software repositories (especially those involving low-level C++ or deep learning repositories with specific hardware architectures) often have strict dependencies on operating systems (e.g., macOS, different Linux distributions) or system-level dynamic link libraries. The paper lacks a discussion on cross-system compatibility and does not adequately explore the robustness and transferability of the generated .bootstrap contracts across different underlying architectures.
  • Although the paper demonstrates that reusing the .bootstrap contract can reduce downstream agent token consumption by 25.9% on average, this is primarily based on an overall mean. For large repositories with extremely complex dependencies and excessively long configuration files, the generated setup.sh and metadata themselves might consume a substantial portion of the context window. The paper lacks a detailed breakdown analysis of the "relationship between contract length and repository complexity," making it difficult for readers to determine whether introducing this framework in extremely complex projects would cause additional context boundary effects or cost rebounds.
  • While the authors qualitatively discuss failure cases (such as misleading information, dependency reconstruction failures, etc.), they lack quantitative failure attribution distribution charts. Specifically, what percentage of failures is caused by hard limitations like the "inability to access private credentials/datasets"? And what percentage is due to the model's own insufficient planning capabilities? Providing a fine-grained quantitative failure analysis would objectively help readers clarify the true capability boundaries of the current method.
Questions
  1. The paper currently lacks the reporting of error bars or confidence intervals. Could you provide a statistical significance test (e.g., p-value) for the comparison results between BootstrapAgent and the baseline model (HerAgent)? Proving that this performance improvement is statistically stable and significant would directly increase the paper's score in the Quality dimension.
  2. In Section 5.1, the paper qualitatively discusses three main categories of failure cases (misleading information, dependency reconstruction failures, external resource assumptions) (). Could you provide a quantitative pie chart or table for failure attribution proportions? Understanding exactly what percentage of failures is caused by the "inability to access external datasets or credentials" would greatly enhance the understanding of the method's limitations. Providing this data could effectively address readers' concerns about failure boundaries.
  3. Since the generated setup.sh contains commands such as dependency installations targeted for Ubuntu environments, has the system considered cross-operating system compatibility (e.g., macOS or Alpine-based containers)? It is recommended to explicitly state in the discussion section whether the .bootstrap contract is tied to a specific operating system, or to add a brief ablation study/analysis addressing this issue.
Limitations

Yes. The authors provide a very adequate and sincere discussion of the work's limitations in Section 5.2. They explicitly point out that this work only establishes "local environment build readiness" and does not represent complete CI reproduction or absolute functional correctness. At the same time, they candidly admit that the system is affected by the inherent instability of modern software ecosystems (such as network latency, stale dependency links) and is highly dependent on the LLM's own planning and repair quality.

Paper formatting concerns

No.

1 comment

We’re very grateful for the reviewer’s heartwarming comments and score. Thank you for recognizing the importance of repository bootstrapping and the design of BootstrapAgent. Following your suggestions, we conducted:

  1. five-seed experiments with paired statistical tests,
  2. quantitatively categorized all observed failures,
  3. analyzed contract length across all 212 repositories,
  4. clarified the platform assumptions and validity scope of generated contracts.

1. Statistical reliability (Q1)

We agree that evaluating run-to-run variability is important. We therefore reran both BootstrapAgent and HerAgent with five random seeds, using the same verifier, network-retry policy, temperature (1.0), and execution budget.

BenchmarkHerAgent (%)BootstrapAgent (%)Repository-level paired t-test (p)
ExecutionAgent75.2±4.3875.2 \pm 4.3881.2±1.1081.2 \pm 1.100.0231
InstallMatic79.0±3.7979.0 \pm 3.7991.5±1.3791.5 \pm 1.370.00394
Repo2Run-12281.8±1.0781.8 \pm 1.0794.3±1.3094.3 \pm 1.30<0.0001<0.0001

The table reports the mean success rate and standard deviation across five seeds. BootstrapAgent outperforms HerAgent by 6.0, 12.5, and 12.5 percentage points on ExecutionAgent, InstallMatic, and Repo2Run-122, respectively. Using a two-sided paired t-test to the per-repository success rates of BootstrapAgent and HerAgent, all three improvements are statistically significant (p<0.05).

2. Quantitative failure attribution (Q2/W3)

We agree that a quantitative failure analysis better clarifies the capability boundary of BootstrapAgent. We manually inspected all 99 failed runs observed across the five seeds. We classified failures based on their final verifier traces and repair histories. Agent-related failures result from hallucinated setup decisions or reward-hacking attempts. External-resource failures require unavailable credentials, datasets, services, or downloads. Dependency-reconstruction failures occur when the agent exhausts its repair budget without finding a compatible dependency configuration.

Primary causeCountShare
Agent planning or repair failure5151.5%
Dependency reconstruction failure3939.4%
Unavailable external resources99.1%
Total99100%

The results show that most failures stem from agent reasoning (51.5%) or dependency reconstruction (39.4%), while only 9.1% are caused by unavailable external resources. We will add this analysis to clarify the current capability boundary.

3. Platform compatibility and validity scope (Q3/W1)

The reviewer’s concern is well-founded and highlights an important limitation: the submitted version lacks a sufficient discussion of platform compatibility.

In the current evaluation, contracts are generated and verified in a controlled Ubuntu 24.04/AMD64 container. Therefore, our reported 92.9% success rate applies specifically to this target environment. We do not claim that an Ubuntu-generated contract can be executed unchanged on macOS, Alpine Linux, other Linux distributions, or different hardware architectures. Although some repository knowledge—such as dependency structure, command ordering, working directories, and verification targets—may remain useful on another platform, platform-dependent commands and system packages must be adapted and re-verified in the target environment.

4. Contract length and context overhead (W2)

Thank you for highlighting that aggregate token reductions may conceal regressions for unusually long contracts. We agree that the original presentation, which focused primarily on the overall average, was insufficient.

We therefore analyzed contract length across all 212 repositories. For each generated .bootstrap directory, we tokenized all nine top-level textual files—including setup.sh, verification scripts, agent context, and metadata—while excluding materialized environments such as .bootstrap/venv. Using cl100k_base as a reproducible tokenizer approximation, we find median, mean, P95, and maximum contract lengths of 2,915, 3,234, 5,546, and 6,514 tokens, respectively.

Importantly, the reported warm-run token usage already includes the cost of reading the contract, so the reported reductions are net of this overhead. Among repositories in the longest-contract quartile, the median net token reduction remains 28%, indicating that long contracts do not cause a systematic cost rebound in our evaluation.

Reviewer_kQjpOpenReview ↗
Rating
5
Clarity
4
Confidence
5
Originality
4
Quality
4
Significance
4
Read review
Summary

The authors propose BootstrapAgent, a multi-agent framework that distills bootstrap exploration into a persistent, verifiable, agent-consumable .bootstrap contract. The pipeline has five stages: repository discovery, bootstrap plan generation, contract generation, containerized verification, and trace-driven repair. Two design choices anchor it: warm repair with clean replay (fast iterative repair inside a warm container to cut cost, but the final contract must pass cold-start verification in a fresh container for reproducibility), and a two-level verification strategy (mandatory minimal_verify as the success gate, CI-derived strongest_verify as an advisory anti-downgrade signal to prevent reward hacking).

Strengths and weaknesses

Strengths

  • Repositioning bootstrapping from a one-time benchmark outcome to amortizable agent knowledge is a fresh angle, and it complements the agent memmory line of work naturally—those handle downstream coding guidance, this handles the earlier environment-preparation-and-verification gap that hasn't been studied systematically.
  • The paper explicitly recognizes that during multi-round repair an agent may "succeed" by swapping a project-relevant test/build/import check for a trivial runtime-version command, and counters it with trace-conditioned structured delta repair, a strongest-validation floor, and a verification-strength guardrail. Figure 9's false-positive evidence (2–5 caught cases per benchmark) supports the design. This concern for evaluation trustworthiness is uncommon in agent papers.
  • Rigorous downstream transfer design. The paired within-project cold/warm comparison gives both arms the same final verification commands so the target task is identical, and disables session persistence. These controls reduce confounding.

Weakness

  • Only HerAgent is compared against. It's described as the strongest reported baseline, but Related Work cites Repo2Run, RepoST, Treefix, CXXCrafter and others with no direct comparison, leaving the marginal value of the "multi-agent + contract" design over simpler approaches unclear.
  • Table 4 shows removing Verification-Guided Repair collapses success (Repo2Run 95.9%→26.2%), meaning most performance comes from iterative repair—a fairly generic mechanism—rather than from the paper's headline contributions (contract persistence, two-level verification). There's a mismatch between the selling point (reusable knowledge) and where the performance actually comes from (iterative repair); the paper should separate "what makes it work" from "what's novel here" more explicitly.
  • The "92.9%" headline needs reconciling. Abstract/Conclusion report 92.9%, matching Table 1's Overall (197/212). But Table 4's full-system numbers (95.9%/84.0%/95.0%) don't obviously weight-average to the same figure. The setup difference between Table 1 and Table 4 should be stated.
Questions
  • How sensitive are the headline numbers to run-to-run variance? Can you provide multi-seed results on any subset, given temperature 1.0 and the network-dependent setup?
  • Why only HerAgent? Can you add at least one execution-feedback baseline (e.g., Repo2Run or RepoST) under the same protocol?
Limitations

See weakness/questions

Paper formatting concerns

No concerns

1 comment

We sincerely thank the reviewer for recognizing the importance and fresh perspective of formulating repository bootstrapping as reusable agent knowledge, the value of our verification-strength guardrail against reward hacking, and the rigor of our controlled downstream-transfer evaluation. We deeply appreciate your excellent assessment of the paper and strong recommendation for acceptance. Following your suggestions, we have:

  1. conducted five independent runs of BootstrapAgent and three baselines under the same evaluation protocol.
  2. clarified what drives performance versus what is novel.
  3. reconciled the 92.9% aggregate result with the per-benchmark results in Table 4.

For clarity, we mark responses to weakness comments with W# and responses to Key questions with Q#.

1. Question on run-to-run variability and more baselines (Q1/Q2/W1)

We thank the reviewer for raising the important questions of run-to-run variability and comparison with additional execution-feedback baselines. We originally selected HerAgent because it was the strongest reported agentic environment-construction method evaluated in our benchmark setting. We agree that run-to-run variability report is important and comparison with HerAgent alone is insufficient.

We therefore conducted five independent end-to-end runs of BootstrapAgent, HerAgent, ExecutionAgent, and Repo2Run on the same three benchmark collections used in our original submission. All methods were evaluated using the same protocol. Repo2Run is Python-specific and is therefore not applicable to the multi-language ExecutionAgent-50 benchmark. The results are shown below.

MethodExecutionAgent-50InstallMatic-40Repo2Run-122
ExecutionAgent66.8±4.6066.8 \pm 4.6072.0±3.7172.0 \pm 3.7183.1±1.2483.1 \pm 1.24
Repo2RunN/A82.0±2.0982.0 \pm 2.0987.2±1.4987.2 \pm 1.49
HerAgent75.2±4.3875.2 \pm 4.3879.0±3.7979.0 \pm 3.7981.8±1.0781.8 \pm 1.07
BootstrapAgent81.2±1.1081.2 \pm 1.1091.5±1.3791.5 \pm 1.3794.3±1.3094.3 \pm 1.30

2. What drives performance versus what is novel (W2)

We agree that iterative repair is the main driver of success, while the ablation without repair is effectively a single-shot LLM baseline. Iteration itself is not our claimed novelty. Our contribution is a more controlled repair process: structured plan updates, trace-guided diagnosis, verification-strength preservation, and final clean replay. We will revise the paper to distinguish more clearly between the mechanism that improves success and the mechanisms that make the resulting contract trustworthy and reusable.

3. Weakness in explaining the relationship between the 92.9% headline result and Table 4 (W3)

We apologize that the relationship between Table 1 and Table 4 was not made explicit. The results are consistent and use the same full-system runs. Table 4 reports per-benchmark percentages, whereas Table 1 reports the sample-size-weighted aggregate:

= \frac{197}{212} = 92.9\\%$$ Specifically, the full-system entries in Table 4 correspond to $117/122=95.9\%$, $42/50=84.0\%$, and $38/40=95.0\%$. We will add the success counts directly to Table 4 and explicitly state that the headline result is their weighted aggregate. We thank the reviewer again for these constructive questions. The new multi-seed analysis and execution-feedback comparisons strengthen the empirical evidence, while the revised presentation will more clearly distinguish the mechanism responsible for success from the mechanisms responsible for efficiency, reproducibility, validation integrity, and reusable downstream knowledge.

Comments on the paper

1 comment
Meta-review

The manuscript proposes a multi-agent framework that distills the knowledge of exploring software package building and installation into a persistent, verifiable, and agent-consumable artefact referred to as the ".bootstrap contract". The manuscript leverages an extensive pipeline to solve the bootstrapping problem; and relies on two key design choices namely warm repair with clean replay, and a two-level verification strategy (with a minimal_verify critieria as the success gate, and a strongest_verify criteria to prevent reward hacking).

The authors show strong results: 92.9% clean-replay success on 212 Python repos drawn from three benchmarks, and +8.5 pp over the HerAgent baseline. The paper also shows significant efficiency gains (token usage) compared to Claude Code.

Strengths:

  • Formulates and solves an important problem in coding agents
  • careful design of the solution pipeline with nuanced ideas (staged verification, handling reward hacking)
  • strong empirical results supporting the proposed method

Weaknesses and areas to focus on in the rebuttal The paper has received polarizing reviews; it is really important for the authors to prepare a convincing rebuttal addressing all the key concerns raised. I'm calling out a few things in particular below: [Methodology]

  • "discussion on cross-system compatibility and does not adequately explore the robustness and transferability of the generated .bootstrap contracts across different underlying architectures."
  • discussion of operational risk in the proposed approach; state the assumptions.

[Experiments]

  • "Why only HerAgent? Can you add at least one execution-feedback baseline (e.g., Repo2Run or RepoST) under the same protocol?"
  • "Add three trivial baselines: existing-devcontainer, README-first, and hand-written AGENTS.md. Match repair budget with HerAgent."
  • Improve clarity and inconcistencies in presentation & discussion of results raised by some reviewers.
  • Justification of selected py-only benchmarks; potential addition of results with other benchmarks to show generalizability of the method.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.