# Notes and Live Edit: a product spec you can give to an AI tool

## How to use this document

Give this whole document to your AI coding tool as the brief. It describes one feature
layer for reviewing web pages: **Notes** (sticky notes on any part of a page) and
**Live Edit** (type over the page text in place). It tells the tool what the product
does, how it must feel, and why each decision was made. It does not prescribe a
technology. Build it in whatever stack your environment uses.

Read the "Why" lines carefully. Each one records a real failure from use. If you
change a decision, you will probably bring back the failure that it fixed.

---

## Prompt for the AI tool

You will build a review layer that sits on top of ordinary content pages (articles,
reports, proposals, design explorations, internal documents). The layer lets one
reviewer react to a page in two ways:

1. **Leave a note** on a block of the page ("this paragraph is too long", "add a
   number here", "I do not like this colour").
2. **Change the words directly** by typing over the text, where it sits on the page.

At the end, the reviewer presses one button and gets a single plain-text summary of
every note and every edit, on every page they reviewed. They paste that summary to the
author (a person or an AI assistant), who applies it and produces the next version of
the page.

The layer must feel like a light, almost invisible tool. When it is off, the page looks
and works exactly as it did without it. When it is on, the reviewer can see at a glance
what they can comment on, and they never lose a word they wrote.

### 1. Product goals

- **Fast feedback with no retelling.** The reviewer types the change once, in place.
  The author receives the exact old text and the exact new text. Nothing is lost when
  someone re-describes a change in their own words.
- **Zero loss.** A note or an edit is saved the moment it exists. Closing the tab,
  reloading, a crash, or a later change to the page never deletes a reviewer's words.
- **Obvious affordance.** In review mode, every block that can take a note shows a
  small marker. The reviewer never has to tap things to discover what is possible.
- **One mental model.** One button turns the layer on. There are no separate "comment
  mode" and "edit mode".
- **Works on a phone and on a desktop.** Many reviews happen on a phone, so touch is a
  first-class input.
- **Site-wide.** Notes and edits collect across all pages of the site, and one export
  carries them all.

### 2. Vocabulary

- **Review mode**: the state in which the layer is on. The page is otherwise unchanged.
- **Component**: a block that can carry one note. Examples: a paragraph, a heading, a
  list, a table, a card, a quote, an image, a diagram.
- **Square**: the small marker beside each component in review mode. It is the only
  way to open a note.
- **Note** (sticky note): free text that the reviewer attaches to one component.
- **Editable block**: a piece of text that the reviewer can type over. Examples: a
  paragraph, a heading, one bullet, one table cell, a caption.
- **Edit**: a recorded change to an editable block, stored as a pair: WAS (the
  original text) and NOW (the current text).
- **Export**: the plain-text summary of all notes and edits that the Copy button
  produces.

### 3. The controls

A small floating control bar sits in the bottom-right corner of every page. It stays in
place while the page scrolls. It has up to three pill-shaped buttons:

| Button | When it shows | What it does |
|---|---|---|
| **Notes** / **Done** | Always | Turns review mode on. While the mode is on, the label changes to **Done** and the button takes a highlighted (yellow) style. Pressing Done turns the mode off. |
| **Copy N notes + M edits** | Only when at least one note or edit exists, anywhere on the site | Copies the export to the clipboard. The label states the live counts, for example "Copy 3 notes + 2 edits", "Copy 1 note", "Copy 4 edits". |
| **Clear** | Only when at least one note or edit exists | Deletes all notes and edits, after a confirmation. |

Rules:

- When there is nothing to copy, Copy and Clear are hidden. A button that can do nothing
  must not show.
- The bar never covers content permanently. On narrow screens the buttons may wrap, and
  they keep a margin from the screen edge.
- The bar is hidden when the page is printed. Squares, notes and messages are hidden in
  print too.

### 4. Review mode: what changes when it is on

When the reviewer presses **Notes**:

- A square appears beside every component (see section 5).
- Text that can be edited shows a text cursor on hover. Only the innermost block under
  the pointer gets a faint yellow highlight, so a quote does not glow around the
  paragraph that the pointer is on.
- Links, buttons and form controls inside the content **do not navigate or act**. A tap
  on a link in review mode must not take the reviewer away from the page in the middle of
  a review. (A tap on link text inside an editable block starts editing that block.)
- **Exception: expanders keep working.** Controls that open or close part of the page
  (a "show more" toggle, an accordion, a disclosure triangle, tabs) still work in review
  mode. The block behind them is often the one the reviewer wants to comment on. After an
  expander opens, place the squares for the content that it revealed.
- Pressing **Escape** when nothing is being typed turns review mode off.

When the reviewer presses **Done**: any open note closes, any active edit stops, and all
squares hide. The page goes back to normal, except for one quiet mark on edited blocks
(see section 6.5).

**Why one button and two targets, not two modes.** An earlier version had two buttons:
"Notes" and "Edit text". In notes mode, a tap on a paragraph meant "add a note", so
editing the same paragraph needed a second mode that had to fight the first one for the
same tap. Two features competed for one gesture, so a mode had to decide between them.
The fix was to give each feature its own target: **the text itself is the editor, and the
square beside it is the note.** With separate targets nothing competes, and one button is
enough. The general lesson: when two features fight over one gesture, give one of them a
different target, not a second mode.

### 5. Notes

#### 5.1 The square is the affordance

- In review mode, every component shows one small square (about 14 by 14 pixels, rounded
  corners).
- **Empty outlined square** = this component has no note yet. It is the invitation.
- **Filled yellow square** = this component has a note. It is the receipt.
- Hover or focus makes the square grow slightly. The square for the open note keeps a
  darker border while the note is open.
- Accessible name: "Add a note here" when empty, "Edit the note here" when filled.

**Why.** Before the squares, a block showed nothing until it already had a note. The only
way to learn what could take a note was to tap things and see what happened. Reviewers
missed whole areas this way.

#### 5.2 What counts as a component: one component, one square

- Components include containers (tables, lists, quotes, code blocks, figures, cards,
  call-out boxes, stat tiles and similar boxed elements), standalone text blocks
  (paragraphs, headings, definition terms, lead paragraphs), and media (images, diagrams,
  videos).
- **Outermost wins.** If a component sits inside another component, only the outer one
  gets a square. A card gets one square, not one per paragraph inside it. A list is one
  component, not one per bullet.
- **Every paragraph of ordinary prose is its own component.** In an article, the paragraph
  is exactly the unit that a note is about.
- Media with no text of its own (an image, a diagram) still gets a square.
- A component with no visible size (hidden, collapsed, not yet laid out) gets no visible
  square. A square that exists but cannot be clicked is worse than no square.
- The page author must be able to:
  - **opt a block in**, for elements that no rule would match (for example, big numbers
    written as bare inline text), and
  - **opt a block out**. Opting a container out must **release its children**: the
    container stops being a single component, and the blocks inside it each become
    components. (Without this, opting out a list made the list un-annotatable AND kept
    every item inside it un-annotatable too.)
- **Nested trees and outlines** (a multi-level outline, a file tree, an org chart): by
  default the whole tree is one list and so one component, and no single line can take a
  note. The author must be able to mark each line as its own component. Interactive parts
  of each line (a fold arrow, an info button) must sit outside the line's editable text.

#### 5.3 Where the squares sit

- On a wide screen, the squares line up in **one straight vertical rail** in the margin
  to the right of the reading column, like the comment rail in a word processor.
- The rail sits a small gap to the right of the **median** right edge of the text blocks,
  not the maximum.
- If the page has no room for a rail (a phone, or a narrow window), each square tucks
  into the **top-right corner of its own component** instead.
- A wide block that sticks out past the rail (a full-width image or table) keeps its
  square on the same vertical line, inside itself.
- Positions are measured, not guessed, and re-measured when the window size changes and
  when part of the page opens or closes.
- The squares must line up to within a pixel. Bordered boxes must not shift their square
  by the width of their border.

**Why the median.** Squares hung off each component's own right edge scattered across
three or four columns, because a short heading, a full-width rule and a paragraph all end
in different places. That looked accidental. Using the widest block fixed the scatter but
put the rail at the page edge: on one real article, 56 of 70 blocks ended at the reading
column and two full-width blocks ended 530 pixels further right. The median follows the
column the eye is already reading.

#### 5.4 Opening, writing and closing a note

- Tap a square → a yellow sticky note opens **directly under that component**, in the
  flow of the page. Only one note is open at a time. Opening another one closes the first.
  Tapping the open note's square again closes it.
- The sticky contains a text box with the placeholder "Note on this component", a short
  hint "Saves as you type. Empty removes it.", and two buttons: **Delete** and **Close**.
- The text box gets focus at once, so the reviewer can type immediately. If a note already
  exists, the text box opens with that note's text.
- **Autosave on every keystroke** (with a short debounce, about a quarter of a second).
  There is no Save button.
- **Empty removes it.** If the reviewer deletes all the text, the note no longer exists,
  and the square goes back to empty.
- **Delete** removes the note at once and closes the sticky.
- **Close** or **Escape** closes the sticky. The note stays.
- On a phone, the sticky fits the screen width with a margin.
- If a component sits inside a grid or a flex row, the sticky must span the full row. Do
  not squeeze it into one narrow cell of the grid.

**Why autosave and no Save button.** An early version had a Save button, and notes were
lost when the reviewer moved on without pressing it. Autosave as you type replaced it.

#### 5.5 What a note remembers

Each note stores, in addition to its text:

- **the quote**: a short excerpt of the component's text at the moment the note was
  written (about 140 characters, cut with "..."). For an image, use "[image]" plus its
  description or file name. For a diagram, use "[diagram]".
- **the context**: the nearest heading above the component, or the page title if there is
  no heading.
- **the page**: the page address and title.

The quote is what lets the author find the exact spot later, even after the page changed.
It is also what keeps a note alive when the page structure changes (see section 8).

### 6. Live Edit

#### 6.1 Starting an edit

- In review mode, tap or click **on the text** of an editable block. The block becomes
  editable at once, and the caret goes **exactly where the tap landed**, not at the
  start of the block.
- The block being edited gets a soft yellow background and a thin outline, so the reviewer
  can see which block is live.
- A second tap inside the same block only moves the caret.
- Tapping a different block ends the current edit and starts the new one.
- Spell check is on while typing.

#### 6.2 What can be edited: a different grain from notes

- Editable blocks include paragraphs, headings, **individual list items**, **individual
  table cells** (header and body), definition terms and descriptions, captions, quotes,
  and lead paragraphs.
- **On a tap, the innermost editable block wins.** A paragraph inside a quote edits as the
  paragraph. A link inside a bullet edits as the bullet.
- **The set of editable blocks is decided separately from the set of note components.**
  A note is about a block (the whole list). An edit is about the text under the finger
  (this bullet). These are two different grains, so they need two separate rules.

**Why two separate rules.** For three weeks one rule decided both "what gets a square"
and "what can be typed over". Because notes use "outermost wins", every bullet, every
table cell and every caption inside a container could never be edited. Headings edited
fine; bullets did nothing when tapped. Every static check passed, because the checks did
not try a real tap. When one rule answers two questions, the second answer is wrong
wherever the grains differ.

#### 6.3 An edit is never uncommitted

- The edit is recorded **on every keystroke**, debounced, exactly like note autosave.
- There is **no commit key and no confirm step.** Closing the tab mid-sentence keeps the
  sentence.
- **Enter is a normal Enter.** It makes a new line inside the block. A block can become
  several lines. The recorded text must keep those line breaks, and the block must
  display them, both while typing and after a reload.
- **Escape stops editing. It does not revert.** Leaving the block (tapping elsewhere,
  focus moving away, pressing Done) also only stops editing. The edit was already saved.
- If the reviewer types the text back to exactly the original, the edit disappears. There
  is nothing left to report.

**Why.** The decision, in the reviewer's words: "Edits are always committed and ready to
be copied as part of the notes." Once nothing is ever pending, a key that silently undoes
a minute of typing is a trap, so Escape lost its revert. And a normal text reader that
collapses whitespace would have thrown away a new line between typing it and copying it,
so line breaks are kept on purpose.

#### 6.4 Pasting and formatting

- **Paste is plain text only.** A paste from another page or document must not bring its
  fonts, colours or markup into the block.
- **Links and inline formatting already in the block survive the edit.** A bullet that
  holds a link stays a bullet with a link after the reviewer edits the words around it,
  and after a reload. Store the edited block with its markup, so the reload can rebuild it
  exactly. If an old edit record has no markup and the block contains rich content, do not
  flatten the block to plain text. Leave the page as it was and keep the record for the
  export.
- Interactive controls inside an edited block may lose their behaviour when the block is
  rebuilt. Page authors must keep such controls outside editable text.

#### 6.5 After the edit: what the page shows

- The page **keeps showing the edited text**, also after a reload and in later sessions,
  until the reviewer clears it. The reviewer reads the page as they made it say.
- An edited block keeps a **quiet mark when review mode is off**: a thin coloured bar on
  its left edge. If the reviewer walks away and comes back, the page must not hide that it
  no longer says what the author wrote.
- There is **no on-screen version badge.** An earlier design showed a version circle on
  the page; it was removed as clutter. The version still travels in the stored data, where
  staleness is detected (section 6.6).

#### 6.6 Stale edits: the page changed underneath

Each edit stores the original (WAS) text. On every load, compare the block's current text
with the stored edit:

- Current text equals NOW → the edit is already in place. Do nothing.
- Current text equals WAS → replay the edit: show the NOW text.
- Current text is something else → the author changed this block after the reviewer
  edited it. **Do not apply the old edit.** Mark it **STALE**, keep it, and label it as
  stale in the export.

**Why.** A revised page must never silently receive an earlier round's wording. The
reviewer's old words are kept and reported, but the author decides.

#### 6.7 Text that must not get a caret

Some text is not written in the page. A script draws it when the page loads (a chart, an
interactive graph, a data-driven table, a live tool). A caret on such text edits a copy
that the next redraw throws away.

- Such regions must be **opted out of editing**. They still take notes.
- The fix for that text is a note, and the author applies the change at the source.
- When you ship such a page, **say which regions are notes-only.** Otherwise a missing
  caret looks like a bug.

**Why.** A caret on generated text is worse than no caret. It looks like it works, and it
silently loses what the reviewer typed.

### 7. Storage, scope and the export

#### 7.1 One store for the whole site

- Notes and edits for all pages of the site live in **one store per site**, filed under the
  page where they were written. Keep the order in which pages were first reviewed.
- The counts on the Copy button and in the Clear confirmation are **site-wide totals**.
- The store belongs to the reviewer on their own device and browser. It is a private draft
  until they copy it.

**Why site-wide.** Reviewers move between pages. One export per page meant several pastes
and lost notes on pages they forgot to copy. In their words, the notes "should aggregate
across the site".

#### 7.2 The Copy button and the export format

Pressing Copy puts plain text on the clipboard and shows a short message near the bottom
of the screen for about two seconds: "Copied. Paste it into your chat." If the clipboard is
not available, show the text in a box that the reviewer can copy by hand.

The export is plain text, designed to be read by a person and parsed by an AI. Format:

```
NOTES: <site name> (site-wide)
<N> notes and <M> edits across <P> pages

== <full page address> ==
   <page title>

1. NOTE  [<nearest heading>]
   ON: "<quote of the component>"
   <the note text>

2. NOTE  [<nearest heading>]  (the element it was on is gone)
   ON: "<quote>"
   <the note text>

3. EDIT
   WAS: <original text>
   NOW: <new text>

4. EDIT  [STALE: the page changed after this was written]
   WAS: <original text>
   NOW: <new text>

== <next page address> ==
   ...
```

Rules:

- Group by page, in the order pages were first reviewed. Skip pages with nothing on them.
- Number the items within each page, so the author can answer "on 3, I did X".
- Notes first, then unanchored notes, then edits.
- Every note carries its ON quote. Every edit carries its WAS and NOW text in full.
- Use only plain characters. No rich formatting.

**Why this shape.** The ON quote lets the author find the element without a screenshot.
WAS/NOW pairs remove all interpretation: the author applies the NOW text exactly.

#### 7.3 Clear

- Pressing Clear shows a confirmation that **names the damage**: "Delete 5 note(s) and 2
  edit(s) on 3 page(s)? This cannot be undone."
- On confirm: delete every note and edit on every page, restore all squares to empty,
  close any open note, and show "Cleared."
- On cancel: nothing changes.
- Clearing does not revert the visible page text in the current view. A reload shows the
  original text.

**Why a confirmation.** Clear destroys the reviewer's own words across the whole site. In
the reviewer's words: "There should be a confirmation before it does delete it."

### 8. Notes and edits must survive change

Pages change between review rounds, and the layer itself will change over time. Neither
may lose a reviewer's words.

- **Stable anchors.** Identify a component by its structure (its tag and its position among
  siblings of the same tag, walking up the tree), not by a single running number for the
  whole page. Inserting a paragraph then only shifts its own small area, instead of moving
  every note below it to the wrong block.
- **Re-anchor by quote.** If anchors change (a new version of the layer, a restructured
  page), match each existing note to its block by its stored quote.
- **Never drop a note.** A note whose block cannot be found is kept as **unanchored**. It
  still counts on the Copy button and still appears in the export, labelled "(the element
  it was on is gone)".

**Why.** A note is the reviewer's own words. Losing one to a refactor is not an acceptable
trade.

### 9. Pages that change after they load

Some pages build or rebuild their content after loading (tabs, drill-downs, filtered
lists, generated diagrams, expand-all controls). Provide a simple way for the page to tell
the layer "rescan now". A rescan:

- ends any active edit (keeping it),
- finds components and editable blocks again,
- replays stored edits,
- places the squares again if review mode is on.

Watching the page for changes automatically is acceptable, if it does not slow the page.

**Why.** On interactive diagram pages, the reviewer found that "almost none of the objects
are possible to add notes to", because the objects did not exist when the layer first
looked.

### 10. Special content

- **Embedded frames** (an embedded tool, video or map in a frame) swallow taps, so a square
  inside them cannot work. Always pair an embed with a short visible caption under it. The
  caption is the note target. Tell the reviewer that the caption is the handle.
- **Images, diagrams and videos** cannot contain the square as a child. Place their square
  beside them, positioned against the media's own box, so it is visible and clickable.
- **Never annotate other controls on the page.** Navigation, the page header and footer,
  an audio player, a lightbox, and the review layer's own bar, squares and stickies are
  never components and never editable. A control is not content. (An audio player's
  play-button icons were once treated as diagrams and grew squares inside the buttons.)
- **Opt-out lists must be precise.** Exclude a control by its own specific marker, never by
  a short generic class name. A short name once collided with the class of normal reading
  lists on a page, and those lists were silently un-editable for weeks.

### 11. States and edge cases checklist

| Situation | Expected behaviour |
|---|---|
| Mode off | Page looks and behaves exactly as without the layer, except a thin mark on edited blocks and the floating bar. |
| No notes or edits anywhere | Bar shows only "Notes". |
| Reviewer types a note, then deletes all its text | The note is removed, square goes empty, counts drop. |
| Reviewer closes the tab while typing a note or an edit | The text up to the last keystroke is kept. |
| Reviewer presses Enter while editing | A new line appears in the block. Editing continues. |
| Reviewer presses Escape while editing | Editing stops. The edit is kept. |
| Reviewer presses Escape with no edit active | Review mode turns off. |
| Reviewer presses Escape in an open note | The note closes and is kept. |
| Reviewer types the original text back | The edit disappears from the store and the export. |
| Reviewer taps a link in review mode | No navigation. If the link is inside editable text, editing starts. |
| Reviewer taps an expander in review mode | It expands. New squares appear for what it revealed. |
| Page author changes a block that has an edit | The edit is not applied, kept, and marked STALE in the export. |
| Page author restructures the page | Notes re-anchor by quote. Unmatched notes are kept as unanchored. |
| A component is hidden | It has no visible square. |
| Phone width | Squares sit inside the top-right corner of each component; stickies fit the screen. |
| Window resized | Squares are placed again. |
| Clipboard blocked | Show the export in a box to copy by hand. |
| Clear pressed | Confirmation with counts; on confirm everything is deleted on all pages. |
| Text drawn by a script | Notes only, no caret, and the author says so. |
| Printing | No bar, squares, stickies or messages in print. |

### 12. Look and feel

- Calm, warm and small. The layer serves the content and never competes with it.
- One accent colour, a soft sticky-note yellow, used for: the active Notes/Done button,
  filled squares, the sticky note, and the highlight on the block being edited.
- Empty squares are white with a light grey outline.
- Sticky notes look like paper sticky notes: yellow, a thin darker border, a small offset
  shadow, a slightly lighter writing area.
- Buttons in the bar are white pills with a thin border and a soft shadow.
- Messages ("Copied.", "Cleared.") are a dark pill near the bottom centre, fading out after
  about two seconds.
- Respect reduced-motion settings: no scaling animation on the squares.
- Keyboard: every square and button is reachable and shows a clear focus ring.
- All labels use plain words. Do not show internal terms to the reviewer. (A reviewer
  once asked what "the rail position" meant. A term invented while building a thing is not
  a term the reader has.)

### 13. The feedback loop around the layer

The layer is the input half of an iteration loop. The other half is a set of rules for
whoever applies the feedback. Build them into your process, or into the instructions of
the AI that applies the feedback:

1. **Each round produces a new version of the page.** Never edit the reviewed version in
   place. Old and new versions must open side by side, so the history is traceable.
2. **Apply WAS/NOW edits verbatim.** Use the reviewer's exact words. Do not re-case
   headings, expand abbreviations, "polish" the wording, or apply any style pass to text
   the reviewer typed. Fix only an obvious spelling error, and say that you fixed it. In
   the reviewer's words, after undoing the same "improvements" three rounds in a row:
   "stop normalizing my words, bring back my edits."
3. **A note that is clearly a rewrite of its ON quote is also a verbatim replacement.**
4. **Answer notes by number.** Notes are numbered and atomic, so the reply lists each
   number and what was done.
5. **Use the ON quote to find the element.** Apply the change to the original source of
   the page as well as to the page itself.
6. **Dictated notes contain sound-alike errors.** Fix only the obvious ones, and list each
   fix so the reviewer can check it.
7. **Design feedback arrives as adjectives with intensity** ("too gold", "a bit in your
   face"). Move in small steps over two or three rounds. Do not jump to the opposite.
8. **Recognise duplicate pastes.** If the same export arrives twice, do not apply it twice.

### 14. Acceptance tests

Test behaviour with real clicks and real typing in a real browser, at a desktop width
(about 1280 pixels) **and** a phone width (about 390 pixels). Assert facts about the page.
Do not rely on screenshots: a control that renders at zero size is invisible in a
screenshot too.

1. Squares are hidden until review mode is on.
2. Every component has exactly one square, and no square sits inside another component's
   square area.
3. No square has a zero-size box.
4. On desktop, all rail squares share one horizontal position, to within one pixel.
5. Tapping a square opens a sticky under its component, and typing fills the square yellow.
6. Emptying the note text makes the square empty again.
7. Tapping text starts editing at the tap point, and the store records WAS/NOW without the
   reviewer leaving the block.
8. Enter creates a new line, keeps the block editable, and the new line survives copy and
   reload.
9. Every list item, table cell and caption can be edited, also inside containers.
10. An edited bullet with a link still has the link after a reload.
11. Notes and edits survive a reload, and edited text is shown on the page after a reload.
12. Changing the page text under a stored edit marks it STALE and does not overwrite the
    page.
13. The export lists every page, every note with its ON quote, and every edit with WAS and
    NOW.
14. Clear asks for confirmation, names the counts, and empties everything.
15. **Coverage check:** walk every text block on the page and confirm that each one is
    either a component or inside one. Report any block that cannot take a note. Run it
    after every structural change to a page, not only after changes to the layer.

**Why a coverage check.** A list of block types that the layer recognises goes out of
date silently. Rename a style, add a new kind of block, or remove bold text from a bullet,
and that block can no longer take a note. Nothing shows an error, and the author does not
notice, because the author is not the one reviewing. This happened twice on one document;
the reviewer found both. Before the separate-grain fix in section 6.2, an automated test of
26 real-browser scenarios failed 17 on the old behaviour, while every static check passed.

### 15. Out of scope for this spec

- Multi-reviewer collaboration, comment threads and replies. This is a single-reviewer
  draft tool. The export is the hand-off.
- Rich-text formatting tools (bold, italic, lists) during editing. Edits are text.
- Writing the edits back to the page source automatically. The author applies them.
- Access control, hosting and storage technology. Use what your environment provides.

### 16. Summary of the key decisions

| Decision | Reason |
|---|---|
| One Notes button; text = edit, square = note | Two modes fought over one tap. Separate targets remove the conflict. |
| A visible square on every component | Reviewers could not discover what was annotatable. |
| Outermost block gets the square | One note per card or list, not a square on every line. |
| Every prose paragraph is a component | The paragraph is the unit of a note in an article. |
| Innermost block takes the caret | A bullet or cell is the unit of an edit. One shared rule made bullets un-editable. |
| Squares in one rail at the median text edge | Per-block edges scattered; the widest edge pushed the rail away from the text. |
| Autosave notes and edits on every keystroke | Nothing pending means nothing lost. |
| Enter is a normal Enter; Escape does not revert | With nothing pending, a revert key is a trap. |
| Plain-text paste; links preserved on replay | No foreign formatting; no lost links. |
| Edited text shows on the page, with a quiet mark | The reviewer reads what they wrote; the page never hides that it changed. |
| STALE instead of re-applying old edits | A new version must never silently get old wording. |
| Site-wide store, one Copy | Reviewers move across pages; one paste carries everything. |
| Clear confirms and names the counts | It destroys the reviewer's own words. |
| Re-anchor by quote; keep unanchored notes | A refactor must never delete a reviewer's words. |
| Script-drawn text gets notes, not carets | A caret on generated text silently loses typing. |
| Apply edits verbatim, ship a new version each round | The reviewer's words are final; history stays traceable. |
| Test behaviour in a real browser, assert geometry | Static checks and screenshots both missed real failures. |
