---
version: 1
component: scribe
title: Scribe
scope: component
status: draft
---
# Scribe
## Intent
A document an agent marks up for you, and the place you review its marks. A suggestion proposes a change: new words for old, or a style for words already there (a heading, bold, italic). A comment is pinned to the words it is about. You accept or reject each suggestion, reply to a thread and resolve it. The job is the review: seeing who proposed what and exactly what it changes, and taking it in or throwing it out with one clear act each.
The document is real Markdown text, shown rendered: a heading reads as a heading and bold as bold, with the markers out of sight away from the caret. You can type in it, and the text is kept as operational-transform operations through a vendored copy of pyrepad, so two copies of the page edit the same document and a suggestion stays on its words while the text around it changes. Suggestions travel as an exact quote of the words they change, never as character offsets, so each copy finds them in its own text.
Every mark says who made it. The agent is shown the way a collaborator is in a shared document: a round avatar with its client's mark and its name (on the watch page, the connected agent, as the page's bar shows it; in the house demos, Scribe). The person is their account's photo and name when signed in, and otherwise a plain "You". A record keeps the author as a role, agent or person, and each page shows the identity it has for that role.
Three directions are in audition, with the first audition's red pen kept as the baseline. Tracked changes makes the change in the document: the agent's words in its ink beside the struck ones. Proposals leave the document untouched and put the change on a card beside its words. Preview shows the document as the agent would have it, each change already made in the agent's ink, with what it replaces on its note. The paper is laid out once for the space it is shown in: the text column is centered in it whether or not there are comments, as a page is in a shared document, and the comment margin lives in the space to the column's right only when that space holds it; a long document scrolls inside the paper. This draft describes the behavior built in the audition; the principles propose what should survive whichever direction is chosen. It covers the component, not the page around it.
```yaml
sources:
- ../../create-scribe.ts
- ../../scribe-editor.ts
- ../../scribe-looks.ts
- ../../scribe-model.ts
- ../../scribe-presets.ts
- ../../scribe-people.ts
- ../../lib/pyrepad/vendored.json
```