# ADR 002: Grammarly as an automated editing backend

- HTML version: https://robbiepalmer.me/projects/agent-first-writing/adrs/002-grammarly-as-an-automated-backend
- Project: Agent-first Writing Editor (https://robbiepalmer.me/projects/agent-first-writing.md)
- Status: Rejected
- Date: 2026-09-04
- Initiatives: Semi-autonomous Software Development (https://robbiepalmer.me/initiatives/semi-autonomous-software-development.md)

# Context

Grammarly is the practical baseline for the final editorial pass. Its product
also demonstrates useful levels of intervention, including local findings,
sentence suggestions, passage rewrites, and the option to ignore a change.

The agentic publishing workflow needs programmatic suggestions, source spans,
replacements, reasons, confidence, and edit outcomes. Grammarly's documented
Writing Score and Analytics APIs do not expose that editing interface. We
cannot use its private product as reproducible architecture.

# Decision

Reject Grammarly as an automated backend or runtime dependency for the editor.

Continue to use it as a manual quality baseline. Capture its suggestions for
evaluation only where doing so is legitimate. Use published research and public
descriptions as prior work, not as instructions for reproducing the private
implementation.

# Consequences

The editor needs its own suggestion contract, orchestration, and record of edit
decisions. It cannot promise parity with closed behavior or call that behavior
through an appropriate API.

Manual Grammarly use can still reveal missed failure classes. It does not form
an automated stage and must not become an unrecorded source of training data.
A browser-assisted handoff may reduce the manual round trip without turning
Grammarly into a backend. [ADR 007](/projects/agent-first-writing/adrs/007-playwright-assisted-grammarly-handoff)
defines that narrower experiment.

---

Markdown index of this site: https://robbiepalmer.me/llms.txt
