Mace-legal teaches Mike to read redlines

The fork now understands tracked changes and reviewer comments instead of flattening them into noise.

contract-review

Until now, Mike read a marked-up document the same way it read a clean one - it saw the words, but not who struck what, who added what, or what a reviewer scrawled in the margin. Mace-legal closes that gap. The fork pulls insertions, deletions, and comments out of Word documents, and reads color-coded redlines out of PDFs in the Litera and Workshare style - the redlining tools most law firms use to negotiate contracts. Every marked-up document gets translated into a consistent shorthand the AI is now taught to interpret.

Crucially, the model is told how to behave: treat the current text as if every edit were accepted, treat comments as marginalia rather than instructions, and keep markers out of extracted values unless you actually ask for them. Clean documents are untouched and pay no penalty.

So what Anyone running contract negotiations through an AI should care - this is the difference between a tool that reads the final draft and one that understands the fight that produced it.

View this fork on GitHub →

Spotted something wrong? Or know the PR text has fresher detail than the writeup above?

Commits in this thread

1 commit from Mace-legal/mike, oldest first. Source extracted verbatim from the harvested git log.

SHA Subject Author Date
b3b5dee0 feat: add redline-aware document extraction Jonas Boury 2026-05-10 ↗ GitHub

Capture this thread into my fork

Download a single Markdown prompt that tells Claude how to port every commit above into your working tree — adapting paths and structure to match your repo. Run it via claude -p < capture-thread-228.md from inside the repo you want the changes in.

⬇ Download capture-thread-228.md