Metraipolis › archive › dc_acad562125ce

Large-scale Repository Engineering via Agent-Native Reusable Code Primitives — arXiv:2610.09079

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.09079
License (as archived)
CC0-1.0
Archived
2026-10-08T11:26:29.034Z
SHA-256 of the archived text
982c542d4e6f5992959612d30c7b2f39f5b54da16327aadd1dcb743272e74d2c
Stable URL of this page
https://metraipolis.com/documento/dc_acad562125ce

How to cite

Large-scale Repository Engineering via Agent-Native Reusable Code Primitives — arXiv:2610.09079 — arXiv (en), https://arxiv.org/abs/2610.09079 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_acad562125ce (Metraipolis archive dc_acad562125ce, sha256 982c542d4e6f5992959612d30c7b2f39f5b54da16327aadd1dcb743272e74d2c)
BibTeX
@misc{dcacad562125ce,
  title = {Large-scale Repository Engineering via Agent-Native Reusable Code Primitives — arXiv:2610.09079},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.09079},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_acad562125ce; sha256 982c542d4e6f5992959612d30c7b2f39f5b54da16327aadd1dcb743272e74d2c},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.09079. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large language models equipped with development environments have moved code generation toward repository-scale construction, yet building complete repositories remains difficult because interacting modules, interfaces, configurations, tests, and dependencies must work together. We introduce Code Primitives, agent-native reusable executable components with interface contracts, dependency closures, validation tests, and provenance. Each primitive uses a resident LLM to assess relevance and adapt its implementation, interfaces, and dependencies to the target repository, and we organize 1,424 validated primitives in CodeFace, a searchable library for repository construction. We introduce LEGO (Large-scale repository Engineering via aGent-native reusable cOde primitives), which activates task-relevant primitives, integrates their adapted implementations with task-specific code while resolving cross-component constraints, and revises the result against executed tests. To measure construction end to end, we build LEGO-REPO, a benchmark of 522 executable reconstruction tasks spanning seven software domains, 22 capability tracks, and five difficulty levels, scored against native test suites between an empty-package floor and original-source ceiling. The strongest of 13 evaluated backbones reaches a delivery score of 0.318 and scores zero on 41.0% of tasks; LEGO improves all 13 by 0.1474 on average and raises GPT-5.6-terra from 0.3180 to 0.5134 (+61.4%). In controlled comparisons, adapted primitives outperform retrieved code supplied as context or vendored unchanged. The effect persists against independent repository agents, across three external benchmarks, and with a disjointly re-mined CodeFace; GPT-OSS-20B for adaptation and diagnosis retains 95.1% of the homogeneous score at 24.0% lower cost.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno).
Categorie arXiv: Software Engineering (cs.SE) ; Computation and Language (cs.CL); Computer Vision and Pattern Recognition (cs.CV).
Pagina del lavoro: https://arxiv.org/abs/2610.09079 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-08T10:24:06.364Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).