Metraipolis › archive › dc_3cb3a02d2f46
PatchWrite: One Line, Not One Section -- Compile-Gated, Validity-Preserving Editing for AI-Drafted Manuscripts — arXiv:2608.23001
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.23001
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T07:41:45.090Z
- SHA-256 of the archived text
ee49cb107553b97d1909ab883c88526b72b662cacdb626c89a8b45ea9b9b7b63- Stable URL of this page
https://metraipolis.com/documento/dc_3cb3a02d2f46
How to cite
PatchWrite: One Line, Not One Section -- Compile-Gated, Validity-Preserving Editing for AI-Drafted Manuscripts — arXiv:2608.23001 — arXiv (en), https://arxiv.org/abs/2608.23001 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_3cb3a02d2f46 (Metraipolis archive dc_3cb3a02d2f46, sha256 ee49cb107553b97d1909ab883c88526b72b662cacdb626c89a8b45ea9b9b7b63)
BibTeX
@misc{dc3cb3a02d2f46,
title = {PatchWrite: One Line, Not One Section -- Compile-Gated, Validity-Preserving Editing for AI-Drafted Manuscripts — arXiv:2608.23001},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.23001},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_3cb3a02d2f46; sha256 ee49cb107553b97d1909ab883c88526b72b662cacdb626c89a8b45ea9b9b7b63},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.23001. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Automated manuscript pipelines often regenerate an entire section to repair a local defect, allowing unrelated metrics and citations to change even when the resulting PDF still builds. PatchWrite instead constrains how candidate edits become committed manuscript states: it reuses bounded EDIT N M editing and rollback, but tightens compilation acceptance with fatal-log checks and adds evidence locks that require every cited key and experimental numeric token to be attested by a reference registry or experimental log. Candidates that fail either check are rejected and the previous HEAD is retained. On a 24-manuscript x 8-fault oracle stress test (768 jobs, evenly split between compile-breaking and content-only faults), whole-slot rewriting mutated an unrelated "12-layer" line in every case (0/192 preserved; numeric Jaccard 0.6667), whereas PatchWrite preserved it in 192/192 cases. Removing the compile gate reduced acceptance to 0, while removing the evidence gate allowed a hallucinated citation to pass. The same pattern held across all eight faults. To test the protocol with generation rather than oracle edits, we reran the 192 jobs with the writer model proposing the edits. The model's candidates were accepted in 75% of cases; nearly all rejections came from one reproducible failure mode in which the model attempted to delete a line using an empty replacement unsupported by the current grammar. Every accepted candidate passed both gates, and 93.75% fixed the injected fault; the remaining cases involved a technically valid but sentence-inappropriate citation and one markup-changing near-miss. In a blind evaluation of sixteen PDF pairs, both raters preferred PatchWrite for preserving lab-grounded facts (C1 Likert 5.0 vs. 2.0), while rating prose quality nearly identically. Logs from 193 in-product drafting tasks show the same classes of failures occurring in practice. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-25 in cs.AI). Categorie arXiv: Artificial Intelligence (cs.AI) ; Computation and Language (cs.CL); Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2608.23001 — 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-18T07:37:52.758Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-08-25?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).