Metraipolis › archive › dc_eb50e6bcb6ae

Don't Let the Model Write the YAML: Deterministic, Minimal-Diff GitOps Remediation from LLM-Proposed Field Changes — arXiv:2609.00227

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.00227
License (as archived)
CC0-1.0
Archived
2026-10-17T06:32:54.133Z
SHA-256 of the archived text
f54abdb8ea82d8a13852d9656eb10752b137050ed71d7fa5a302905b545a401c
Stable URL of this page
https://metraipolis.com/documento/dc_eb50e6bcb6ae

How to cite

Don't Let the Model Write the YAML: Deterministic, Minimal-Diff GitOps Remediation from LLM-Proposed Field Changes — arXiv:2609.00227 — arXiv (en), https://arxiv.org/abs/2609.00227 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_eb50e6bcb6ae (Metraipolis archive dc_eb50e6bcb6ae, sha256 f54abdb8ea82d8a13852d9656eb10752b137050ed71d7fa5a302905b545a401c)
BibTeX
@misc{dceb50e6bcb6ae,
  title = {Don't Let the Model Write the YAML: Deterministic, Minimal-Diff GitOps Remediation from LLM-Proposed Field Changes — arXiv:2609.00227},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.00227},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_eb50e6bcb6ae; sha256 f54abdb8ea82d8a13852d9656eb10752b137050ed71d7fa5a302905b545a401c},
  year = {2026}
}

Archived text

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

LLM agents increasingly diagnose incidents and propose remediations. In a GitOps workflow, applying a fix means editing a version-controlled config file, and the obvious implementation, having the model author the edited file or a diff, is what practitioners reach for first. Evaluating that choice on real Kubernetes manifests, we find no text-generation strategy is safe for unattended automation. Unified diffs are unsafe: under strict patching almost none apply, but that is an artifact, since a tolerant tool (GNU patch) applies 96%, yet silently misapplies about 1 in 7 (14-20%) with no error signal. Full-file rewrite is capability-dependent: a small model corrupts the file, while a frontier model is usually correct but non-deterministic (it silently drops a field or edits a neighbor on some runs) and must regenerate the whole file, costing O(file size) per edit. We present an alternative that separates the semantic decision (which resource, field, and value) from the syntactic act of editing the file. The agent emits only a structured field-change intent; a deterministic pipeline indexes manifests by (kind, name), locates the target scalar's exact character span via the YAML parser's node position marks, and replaces only that span in the raw text. Because the file is never re-serialized, the diff is minimal by construction, formatting and comments are preserved, and the edit is correct and deterministic independent of the model, at O(1) generation cost. The contribution is the pairing of an LLM-proposed intent with a deterministic, fail-closed application contract for GitOps. We implement it in KubeAstra (Apache-2.0) and release the benchmark. Our claim is scoped to faithful application of a known change; whether the change is right is left to human PR review.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-02 in cs.AI).
Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI); Distributed, Parallel, and Cluster Computing (cs.DC).
Pagina del lavoro: https://arxiv.org/abs/2609.00227 — 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-17T06:15:12.756Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-02?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).