A reviewer can approve a one-word correction and still end up with an unusable edit. Replacing an entire paragraph might produce the right final text on paper, yet it floods the document with redline deletions and insertions that bury what actually changed.

In a contract under negotiation, that revision history is part of the work itself. The next person reading the file needs to see the exact correction immediately, without comparing two versions of an otherwise untouched clause.

The text on screen is not the whole document

Earlier tracked insertions and deletions complicate targeting right away, because the wording visible in Word often differs from the text returned by a search across the document's underlying XML structure. Repeated phrases add a second trap: finding matching words does not prove which occurrence the reviewer actually approved.

To keep edits trustworthy, I resolved targets against the current revision text and its surrounding context. When a target is missing or ambiguous, the operation fails explicitly instead of expanding into neighboring text just to force a green checkmark.

That boundary matters most when a looser fallback looks convenient. Fuzzy matching turns more failed clicks into plausible-looking edits, but it quietly hands the choice of passage from the reviewer to an algorithm.

A successful edit has more than one record

The edited document, the review side pane, and the saved decision history all have to agree. Watching a card disappear from the pane proves very little if the Word edit missed its target or the decision never saved to the backend.

I redesigned the finding cards around evidence, actions, and history, stripping out duplicate status noise that made the pane hard to scan. If a save fails, the decision stays unresolved with a retry right beside the action, and verification checks both the open document and the persisted state after reopening.

Refusal is part of the interface

Blocking an uncertain edit only helps if the reviewer can see why it stopped. The interface keeps the intended correction and its surrounding context visible so the person can inspect it and decide what to do next.

At its core, this was a product decision about how much authority software should keep once certainty runs out. I made sure that boundary stayed visible across the matching logic, the Word integration, and the review UI.

Client name and project materials are confidential.

Building a tool that acts inside a document?

Discuss a project ↗