> ## Documentation Index
> Fetch the complete documentation index at: https://docs.docwriter.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Review edits

> Accept, reject, inspect, and undo proposed changes.

## Read a proposal

Proposed text appears in the editor and in a card in the comment gutter. Green text is an addition and red struck text is a removal.

Hover an edit row to flash the matching text. Pin a diff to keep the proposal visible after closing a card. Small edits use a quieter presentation than large edits.

<Frame caption="Review one proposal, accept it, then reject another.">
  <video autoPlay muted loop playsInline poster="/images/reviewing-edits-pending.png" className="w-full rounded-xl">
    <source src="https://mintcdn.com/ucberkeley-8d9be701/_cooIo6pWvrP0otR/images/review-workflow.mp4?fit=max&auto=format&n=_cooIo6pWvrP0otR&q=85&s=e431d0583c1c0347a023ad84890c9058" type="video/mp4" data-path="images/review-workflow.mp4" />

    <source src="https://mintcdn.com/ucberkeley-8d9be701/_cooIo6pWvrP0otR/images/review-workflow.webm?fit=max&auto=format&n=_cooIo6pWvrP0otR&q=85&s=48656982303a8ec7c95633456fb1b34d" type="video/webm" data-path="images/review-workflow.webm" />

    Your browser does not support embedded video.
  </video>
</Frame>

<Frame>
  <img src="https://mintcdn.com/ucberkeley-8d9be701/_cooIo6pWvrP0otR/images/reviewing-edits-pending.png?fit=max&auto=format&n=_cooIo6pWvrP0otR&q=85&s=6e415312c7c66f39f41d731028cf60ad" alt="Pending edits in the comment gutter beside the draft" width="1400" height="900" data-path="images/reviewing-edits-pending.png" />
</Frame>

## Accept or reject

Use the check button to accept an edit or the x button to reject a loose edit. **Accept all** and **Reject all** act on the current tab.

<Frame>
  <img src="https://mintcdn.com/ucberkeley-8d9be701/v3Rddkad7zEz0_aI/images/agent-accept-reject-all.png?fit=max&auto=format&n=v3Rddkad7zEz0_aI&q=85&s=b29e9c250b8522d61efaf56d26849841" alt="The Accept all and Reject all controls above pending suggestions" width="1400" height="900" data-path="images/agent-accept-reject-all.png" />
</Frame>

Thread edits stay grouped under the comment that led to them. You can accept each grouped edit or accept the group.

An edit becomes stale when the source text no longer matches. DocWriter disables the Accept action. If the server detects stale source text during an Accept request, DocWriter rejects the old proposal and sends a follow up request for a new edit against the current text. There is no separate Regenerate button.

## Copy proposed text

Use **Copy proposed text** on an edit row. You can also select visible added text in the editor and copy it normally.

## AI provenance

Accepted agent text receives an AI provenance mark. Use **Highlight AI-written text** to show or hide the marks. Typing your own replacement inside a marked span removes the mark from the text you add.

## Undo

Accept and reject actions use the same user undo manager as local typing. Press **Command or Control and Z** to undo the latest user action.

After an accepted paragraph edit lands, DocWriter briefly flashes the changed range so you can find it in the draft.

Agent edits do not have a Track changes off setting. Muting hides proposal layers, but it does not accept changes or remove review state.
