---
name: revise-and-polish
title: Revise and polish existing prose, one beat at a time
description: Use when a chapter is already built and the author wants to improve the prose — re-rendering a specific beat after a structural change, or running the mechanical clean-up pass on a beat, without rebuilding the whole chapter.
version: 1.1.0
requires_tools: [book_timeline, beat_get, chapter_get_prose, chapter_get_editorial, chapter_prose_replace, beat_generate_prose, beat_fix_prose, beat_fix_apply]
related: [draft-chapter, manage-bible]
---

# Revise and polish

Work at the **beat** grain so a fix touches only what needs it — never rebuild a whole chapter to change one moment.

## Prerequisites
- A built chapter (beats have rendered prose). Read the current prose with `chapter_get_prose`, and a single beat's span with `beat_get`.
- Revision is still structural: there is no free-text steering. To change a beat's prose, change the beat's content / notes / the voice or ref docs it draws on, then re-render.

## Steps
1. **Resolve the series and locate the beat.** `book_timeline` lists every beat by number; read the target with `beat_get`. To update a beat you need its real id — copy it verbatim from the `book_timeline` row; never invent or recall an id (a wrong id is rejected as forbidden).
2. **Re-render a beat after a structural edit.** Once you've changed the beat (or its context), `beat_generate_prose` renders that single beat, anchored to its neighbours for seamless flow, and overwrites the old span.
3. **Fix one beat, author's choice.** Call `beat_fix_prose` with `mode: "propose"`: it returns `proposals` and changes nothing. `pass: "cleanup"` is free and catches slips (double full stops, doubled words, extra spaces, a passage pasted twice); `pass: "style"` (paid) looks for habits common in AI-written prose. Show the author each proposal (before → after, and why), apply the ones they keep with `beat_fix_apply`, passing them unchanged. The result is a protected edit (recoverable via re-render). Use it to tighten prose without a structural change.
4. **Change exact wording the author asked for.** For a word, a name or a line, use `chapter_prose_replace` — never read the chapter and save it back (reads are windowed, so a save-back can cut the rest). Find the passage with `chapter_get_editorial` and its `find` option, which returns the matching paragraphs and `match_count`; then pass `find` (the exact current words), `replace`, and `expected_count` (plus `occurrence` to change only one). It saves a new version in the author's name. If it reports `reader_visible: false` on a published chapter, tell the author readers see the change once they publish the update.

## Credits
`beat_generate_prose` and a Style check (`beat_fix_prose` with `pass: "style"`) debit credits (a beat, not a chapter, so far cheaper than a rebuild). Surface the intent before spending. A Clean up, `beat_fix_apply` and `chapter_prose_replace` are free.

## Done when
The targeted beats read the way the author wants, and neighbouring beats still flow. For a broad rewrite of many beats, prefer the **draft-chapter** rebuild instead.
