arXiv AI

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

The paper investigates how large language models (LLMs) can propose changes to Kubernetes configuration files in a GitOps workflow. It shows that having the model directly generate edited files or diffs is unsafe for unattended automation, as current text‑generation strategies either fail to apply patches or silently misapply them. The authors propose a deterministic, minimal‑diff approach where the model emits only a structured intent for a field change, and a pipeline locates and replaces the exact character span in the raw YAML, preserving formatting and comments while guaranteeing correctness and O(1) generation cost.

arXiv AI
4d ago

REVISE: Validity-Guided Recovery for Online Revisions in Agent Workflows

The paper introduces “Revise”, a runtime system that performs validity-guided, fine-grained recovery for online revisions in structured agent workflows. When a revision arrives, Revise intersects the change with recorded data and control dependencies, propagates the impact through the partially executed DAG, stops invalid work, preserves unaffected progress, and recomputes only the affected region. Experiments on real coding‑agent traces and LangGraph/LLMCompiler applications show that Revise matches a latest‑version oracle, reduces model calls by up to 56%, and improves service‑level objective goodput under load.

By Ruoling Qi, Xuaner Wu, Penghang Liu, Jian Chen, Yirui Liu