Metraipolis › archive › dc_8c96ec532909
Executable Code Knowledge: Code as a Native, Validation-Carrying Knowledge Representation for AI Coding Agents — arXiv:2608.16295
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.16295
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T18:58:55.962Z
- SHA-256 of the archived text
4896ad3f487fbeaa98b49afc4dfa2b150187679661ad2a7caad55acc49a7f3c9- Stable URL of this page
https://metraipolis.com/documento/dc_8c96ec532909
How to cite
Executable Code Knowledge: Code as a Native, Validation-Carrying Knowledge Representation for AI Coding Agents — arXiv:2608.16295 — arXiv (en), https://arxiv.org/abs/2608.16295 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_8c96ec532909 (Metraipolis archive dc_8c96ec532909, sha256 4896ad3f487fbeaa98b49afc4dfa2b150187679661ad2a7caad55acc49a7f3c9)
BibTeX
@misc{dc8c96ec532909,
title = {Executable Code Knowledge: Code as a Native, Validation-Carrying Knowledge Representation for AI Coding Agents — arXiv:2608.16295},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.16295},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_8c96ec532909; sha256 4896ad3f487fbeaa98b49afc4dfa2b150187679661ad2a7caad55acc49a7f3c9},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.16295. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
AI coding agents need more than relevant snippets: they need business semantics, validation evidence, relations, and assurance that their context is current. Existing systems usually infer or externalize this knowledge through retrieval, summaries, graphs, rules, or reverse specifications. We investigate a complementary representation in which selected code units directly carry agent-usable knowledge. We introduce Executable Code Knowledge (ECK) and define an Executable Code Knowledge Unit (ECKU) as a source-bound object combining stable identity, semantics, executable behavior, contracts, evidence, relations, provenance, validation state, and a query interface. Our Python prototype supports code-local authoring, manifest export, evidence execution, exact changed-line impact, freshness checking, and agent-facing projections. Across three real Python repositories and 26 controlled patch tasks, direct ECK provides executable test coverage for 11/11 evidence-bearing tasks and exact selectors for 9/11; hiding declared evidence reduces exact recovery to 1/11 (paired exact McNemar p=0.0078). ECK-derived rules recover 11/11 exact selectors, showing that rules are effective delivery artifacts while ECK supplies source binding, validation state, impact, and freshness. Exact changed-line impact matches independently authored labels on all 26 patches (12 unit links; precision, recall, and F1 all 1.000). AST-bounded fingerprints classify 50 positive changes and 17 unrelated same-file controls correctly, whereas static rules snapshots detect none of the 50 stale cases. Model-backed patch-review and cross-layer studies measure projection fidelity rather than independent impact discovery. These results support a hybrid architecture: retrieval for coverage, ECK for source and evidence governance, and projections for delivery. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-18 in cs.CL). Categorie arXiv: Computation and Language (cs.CL). Pagina del lavoro: https://arxiv.org/abs/2608.16295 — 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-18T18:06:57.887Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-08-18?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).