Skip to content
OpenTrain AIFor AI Companies

RevGuard: Transactional, Version-Bound Contracts for LLM Document Editing

Jinkun Chen, Xuemin Yu, Sijia Han, Vlado KeseljPublished Nov 29, 2026
arXiv PDF
Researcher verdict
Context only
Use as context only
Benchmark evidence
Missing
Not verified yet
Time to first repro
A few days
Plan setup time
Risk flags
2
Review before use

No concrete benchmark grounding is available yet. Treat the page as context or an implementation starting point only.

Abstract

Domain fit: AI-core · Core AI workload signals detected from paper context and implementation/artifact evidence.

Large language model (LLM) agents increasingly modify persistent shared artifacts, but natural-language instructions do not define safe write authority when a workspace changes between read and commit. We present RevGuard, a transactional layer that compiles instructions into immutable, version-bound edit contracts and commits only the exact previewed state. Across 144 episodes on licensed, compilable LaTeX repositories, every episode terminated and no injected fault committed. An LLM compiler proposes contracts, an independent LLM verifier reviews them, and deterministic projection installs least privilege. Evaluation separates setup reliability, commit safety, and task utility. Verification improved normalized authorization in 7/48 paired contracts without observed protection loss, but did not establish a task-utility benefit: verified and compiler-only contracts succeeded in 46/48 episodes, and strict non-inferiority remained unresolved. In a descriptive 900-cell cross-model stress test, contract protocols committed zero faults, unmanaged patching baselines committed over one hundred each, and safe whole-file replacement succeeded in under five percent of tasks. One fail-closed setup left the stress test inconclusive; a versioned repair passed targeted compatibility tests. A Git three-way baseline produced 176 clean merges across 180 episodes, yet committed 123 controlled faults. These results support containment of tested faults in localized LaTeX edits, not semantic or factual correctness.

Results and benchmarks

Large language model (LLM) agents increasingly modify persistent shared artifacts, but natural-language instructions do not define safe write authority when a workspace changes between read and commit.

Implementation

No direct implementation yet

Maintained implementation evidence is not confirmed for this paper yet.

Use the implementation status and reproduction sections for the current action plan.

Implementation evidence summary
Confidence: low

Recommendation evidence is currently too limited for a maintained-repo choice. Use Implementation Status and Reproduction Path for a practical baseline plan.

Reproduction risks
  • Estimate is based on paper-only reproduction flow

Reproduction readiness

Time to first repro: days
Last checked: Dec 2, 2026

No repo

No verified implementation available

  • No maintained repository has been identified for this paper. Check adjacent implementations or HF artifacts below.

Hardware requirements

  • Expect multi-day setup/compute for meaningful reproduction based on current guidance.

Hugging Face artifacts

No trustworthy direct or curated related Hugging Face artifacts were found yet. Use targeted searches to quickly locate candidate models, datasets, and demos.

Tip: start with models, then check datasets and spaces if you need evaluation data or demos.

Research context

Tasks

Instruction tuning

Methods

Transformer

Domains

Natural Language Processing, Large Language Models

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Jump to Paper2Code search queries derived from this paper's research context.