# Annotation as Coordination — Miadi relation packet

**Date:** 2026-09-12 · **Method:** relation packet over an existing grounded packet · **Status:** initial
**Grounded by:** `/opt/gaia/foundations/annotation-as-coordination/` (gaia, Crossref-checked 2026-09-12)
**Grounds:** `packages/tide/src/annotate.ts`, `app/api/tide/annotate/{resolve,mark,deliver}`, `components/tide/reply-annotator.tsx`
**Feeds:** `/srv/miadi/episodes/miadi-chronicle/_staging_for_new_episodes/plannotator-annotate-review-loop-260905/`

## Why a second packet

The gaia packet studies one system: a human marks exact sentences in a coding agent's reply with
`plannotator-tui`, and `11-plannotator-tmux-review.sh` pastes the numbered notes into the agent's
tmux pane. That packet names three terms and checks their sources.

This packet relates those terms to the Miadi surfaces that now carry the same loop, so the RISE
specs for the tide annotate surface can cite a field instead of taste. It adds no new source
without a `verified` flag; see `source-ledger.yaml`.

## The three terms, on Miadi surfaces

| Term (gaia packet) | What it is here | Where |
|---|---|---|
| boundary object | the vessel document `reply.md` and the exported review with its fixed shape (`## Annotation N (line L)`, quote, note) | `~/.local/state/plannotator-tmux-review/…/reply.md`, `@miadi/tide` `exportReview()` |
| grounding | each mark repeats the sentence or block it is about; a block mark carries the block's full text, a quote mark carries the exact words | `parseBlocks()`, `mark({block \| quote})` |
| coordination mechanism | the document plus the fixed steps: resolve → mark → export → guard → paste → (Enter) | the review script's two non-interactive legs, called by `fetchReply()` and `deliver()` |

The web surface adds no fourth term. It is a second client of the same mechanism. That is the
design claim the prototype makes, and the claim is testable: a mark made in the browser must be
visible when the same document is opened in the terminal TUI, and the reverse.

## Current reality (2026-09-12)

- The terminal loop works and is used daily on gaia (78 run vessels in the state directory since 2026-09-08).
- `plannotator-tui` 0.6.0 marks and exports headlessly from a process with no TTY. Measured.
- The review script has `--no-tui` (fetch only) and `--from-file … --no-tui [--submit]` (deliver only). Measured.
- The `/tide` cockpit lists panes, peeks scrollback, steers with an Enter toggle. It had no annotation surface.
- The annotation record (`annotations.json`) carries `author`, `author_name`, `document_id`, `replies`, all empty.

## Desired state

An operator, on a desktop or a phone, opens a pane in `/tide`, fetches the agent's last reply,
marks blocks or words, sees the review as the agent will receive it, and pastes it at the agent's
prompt with Enter left to a human by default. A second author (an agent seat) can mark the same
document beside the human, and the marks say who made them.

## What this packet still needs

- **CSCW annotation systems** — one field file on shared annotation as a coordination artefact
  (Marshall's work on annotation practice is the usual anchor; unverified here, see ledger).
- **Multi-author marks** — the `author` seam and reserved author names, once the seat decision
  (separate annotator process vs self-pass) is taken.
- **A second practice entry** in the staging episode's `practices/<ts>/` from a web-made run.

## Related

- gaia packet: `/opt/gaia/foundations/annotation-as-coordination/{README,academic-fields}.md`
- `foundations/terminal-workspace-orchestration/` — the cockpit's own grounding (Decision C: the `@miadi/tide` boundary)
- jgwill/gaia#80 — the review script
- miadisabelle/chronicle-sessions#49 — the ceremony where this is discussed with Mia on Android

🌸 A note that carries the sentence it is about reaches the agent meaning what the human meant, from a phone as well as from a terminal.
