Alex Loth | Dev & Author (@xlth) — Harnesses and agentic coding¶
Original post: https://x.com/xlth/status/2117890370487132475
Posted: 2026-11-04T08:03:07Z · Collected: 2026-11-05T15:30:00Z
Why it matters¶
A clean human-in-the-loop pattern against indirect prompt injection.
Summary¶
@xlth updates olcli, an Overleaf CLI and MCP server. Because a coauthor’s comment could steer an agent editing a paper, every write (push, delete, accept tracked changes) now shows a diff and requires user confirmation.
Pull quotes¶
Letting an AI agent edit your Overleaf paper? A coauthor’s comment could steer it.
olcli’s MCP server now asks you before every write: push, delete, accept tracked changes. You see the diff and confirm. Decline, nothing is written.
Referenced links¶
GitHub - aloth/olcli: Overleaf CLI - pull, push, sync, compile LaTeX projects from your terminal. Git remote helper, MCP server for AI agents, and TypeScript library. (from post
2117890370487132475)https://t.co/dwTUZADOET (from post
2117890370487132475)https://t.co/HqhV6u22iV (from post
2117890370487132475)