Fitz's Hands
Fitz can now teach by doing. He reads the page, presses any button on it, types into fields and corrects chapter text while the writer watches. In the practice novel he acts freely. In a real book every change waits for her Allow.
Two tabs on different projects no longer collide. A tab still showing one project could have saved into the book another tab had just opened. The server now remembers which project each tab opened and refuses a tab whose project has been replaced, so that tab has to reload first. Each call also stays with the project it began in. Your own saves are protected too, whether or not Fitz is involved.
The Allow card
In a real book, before any change, Fitz stops and asks. Navigation never asks. Esc means Not now; ⌘ or Ctrl + Enter means Allow. The card never steals the cursor from her.
Fitz wants to change ‘black dog’ → ‘grey dog’ in The Ledger.
An outside assistant connected through WebMCP gets the same card, worded “An assistant in your browser wants to…”.
Ten tools, one rule
Fitz and WebMCP agents share one list of tools. Five already existed and only move around the app. Five are new.
| Tool | Kind | What it does |
|---|---|---|
| ui_get_state | read | Now returns a page map: the project, the open file, the chapters, the wiki entries and every visible control, each with a short-lived reference. It never contains manuscript or wiki text. |
| ui_open_chapter | navigation | Opens a chapter or entry, optionally at a line. |
| ui_highlight_text | navigation | Selects an exact phrase so he can point at a slip. |
| ui_press | depends | Presses a control from the map. Moving around is navigation; anything else counts as a change. |
| ui_type | change | Types into an ordinary field. Never the manuscript editor. |
| ui_edit_text | change | Replaces one exact phrase in a chapter, through the editor’s normal undo and save. It reports success only once saved. |
Practice novel
Changes run straight away. It is a disposable copy.
Real book
Every change shows the Allow card first. After Allow, everything is checked again before acting.
Writer only
Settings, projects, import and app-wide preferences are always refused, in any book.
Ask, or pick a lesson
In the practice novel, the Ask panel shows five lesson chips: Find your way round, Fix a continuity slip, Decide what the wiki learns, Notes and beats, and Ask Fitz well. A chip sends an ordinary visible message. Fitz does one himself, then invites her to do the next and checks her result.
Four stages, each reviewed by Codex
Design
approved with changesTwo rounds. Codex caught navigation that would have asked for Allow, references that could collide, and approval that wasn’t tied to the action.
Spec
findings folded inCodex caught an exclusion rule that would have hidden all of Ask, approvals that truncated the change, and a context rule that could leak quotations.
Plan
findings folded in11 tasks and 14 rulings, among them that the card never takes focus and sits inside any open dialog.
Build
11 tasks, each reviewedCodex’s whole-branch review found three blockers. The fix wave cleared two: excerpts leaking into control names, and buttons that saved app-wide preferences. The third is the two-tab collision.
Safety fix
approvedCodex's first look found two gaps: a tab that briefly lost its connection was forgotten, and a call already under way could finish in the newly opened book. Both were fixed, each with a test that fails without its fix, and Codex then approved.
What ran
- Scripted browser run: passed in both the practice novel and a real book.
- WebMCP: an outside agent read the map, pressed with Allow, and was refused at a writer-only control.
- Live Claude, practice novel: Fitz mended the 104-steps slip himself and handed the black dog to the learner.
- Live Claude, real book: his first change stopped at the Allow card, and he took Not now gracefully.
Rulings, each cheap to reverse
- The page map strips hidden newline and text-direction characters, stricter than the spec.
- Fitz may correct a wrong word, number or name in existing text, gated in real books. He still never drafts prose.
- In a lesson, either slip can come first; Fitz chooses.
- Controls that change app-wide settings (margin tabs, page spacing, the rail pin) belong to the writer. Fitz switches the margin his own way without saving anything.
- Buttons are named from structured fields, never from text that could contain chapter or note words.
- An approval goes stale if Fitz reads the page again while the card is up. It fails safe.
- Test runs used their own ports so the live test server was never touched.
- A tab whose project was replaced is refused for reading as well as writing, until it reloads.
Smaller items
- Two new test files have loose types; they pass.
- A note row’s Allow card reads “note 1 — note 1”.
- A few control labels have no test of their own.
- A checkbox’s spoken name should move to
aria-describedby.
Your choice
fitz-hands to GitHub for review.