Skip to content
open.blog documentation
open.blog

ADR 0280: Voice review and voice match compare with the guide and samples and only ever propose

  • Status: Accepted
  • Date: 2026-10-28
  • Parent epic: #409
  • Tasks: #458, #459, #460
  • Builds on: ADR 0266 (AI proposes, never applies), ADR 0278 (samples as context), ADR 0279 (the guide)

Context#

The voice-review skill told the model to compare with "explicitly supplied voice context", and nothing supplied any. Now the guide and samples are context (ADR 0278). The review must use them, say what each finding rests on, and leave the author's deliberate choices alone. A second skill should help the author make a passage sound more like themselves, through the apply and undo path reviews already have.

Decision#

Voice review (#458)#

  • voice-review 1.1.0 prefers the voice guide (kind: voice-guide) and the voice samples (kind: voice-sample) over any general idea of style, requires every finding to name its evidence in the explanation (a sample file name, or a guide section heading), and says deliberate stylistic choices are not defects.
  • A finding is supplied-context only if it names its evidence. The instructions ask for that, and the validator enforces it for voice-review findings when the request carries a voice sample or the guide: if the explanation contains neither the file name of a selected sample nor a ## heading of the selected guide, the finding is kept but its verification becomes unverified-advice, the label every finding without evidence already gets. The check is exact and case sensitive; "this doesn't sound like you" is not evidence. Without voice context, and for every other skill, findings are validated exactly as before.

Voice match (#459)#

  • A new built-in review skill, voice-match, returns findings with a suggestion anchored to the exact source passage in evidence, so the browser's existing Apply suggestion and Undo path (which re-finds the evidence, applies only when it is found exactly once, and undoes from the same finding) handles it. It declares scopes: [selection, section, document]: the only review entry today sends the whole document, and the validator refuses a skill without the document scope there. The skill's rules and the check below keep it to passages, not rewrites.
  • A suggestion that does not anchor is advice, never applied. For voice-match findings only: if the evidence does not identify exactly one place in the draft, or the passage is longer than 600 characters, spans a blank line, is half the document or more, or is beyond the fifth applicable suggestion of the review, the finding is kept, its suggestion becomes null and the suggested wording is appended to the explanation as advice. (Every other skill is unchanged: evidence that does not anchor rejects the whole review.) So there is no full-document rewrite and nothing unanchored is offered with an Apply button.
  • voice-match findings follow the same evidence rule as voice-review: supplied-context only when the explanation names a selected sample or a section of the selected guide.

Completion (#460)#

  • Completion leans toward the voice guide through the context it already has. The guide is an ordinary context item (portable:voice, private:voice, ADR 0278); when the author has selected it and AI autocomplete is on, the completion request carries it as an untrustedData.context entry with kind: "voice-guide", and nothing else about completion changes. An unselected guide is never sent, and a request without it is unchanged.
  • Turning autocomplete on says what it will send. The status after enabling names every selected context item, including the guide ("voice.md - Voice guide - Portable - 321 characters"), before the first suggestion is requested, and points to the Context view to change it.

Considered options#

  • Always send the guide to completion when one exists. Rejected: the author chooses what leaves the machine, every time, and a guide is context like any other.
  • Let voice-match rewrite sections. Rejected: a long rewrite is exactly what the author cannot review at a glance, and the apply path can only re-find a passage, not a section.

Consequences#

  • Every suggestion from these skills is either anchored and undoable or plain advice.
  • The apply path (ADR 0266) is unchanged: AI proposes, the author applies.

Amendment: voice match reviews a passage (ADR 0290)#

A review can now cover a selection or a section: the request carries passage: { kind, start, end }, findings must lie inside it, and a skill must declare the scope it is used for. voice-match therefore declares only scopes: [selection, section]. A voice-match finding whose evidence is not inside the passage is advice, never applied. voice-review is unchanged. See ADR 0290.

View this page's source