jamietso/mike-redline

jamietso/mike-redline surfaces tracked changes and comment bubbles to the LLM

Two topics: the redline extraction feature (one substantive commit adding 361 lines across 11 files) and a README repositioning (two small documentation-only commits). The fork is otherwise a clean fork of upstream with no unrelated drift. Worth evaluating if redline reading is a feature gap in your product; the implementation is narrow enough to cherry-pick without major conflict risk.

View on GitHub →

jamietso's fork adds redline-aware document extraction to upstream mike. DOCX files are now parsed by a direct word/document.xml walker (replacing mammoth) that emits {++ins++} / {--del--} markers at w:ins/w:del boundaries and inlines comment text at each w:commentRangeStart anchor. PDF redlines are handled by a Python/PyMuPDF script that classifies text color (red = deletion, blue = insertion, green = move) and outputs the same marker scheme. Both the chat assistant and the tabular reviewer see the annotated string; system prompts in both are updated to define the markers.

The README was later reframed to present the fork as a focused additive contribution rather than a gap-filler relative to closed-source tools, and a demo video was embedded.

What's in it

Direction

contract-reviewdrafting

Activity

Themed changes and pull requests touching this fork, newest first. Themed changes that haven't been turned into a public post yet still appear — they're real work even without a published writeup.

📝 README repositioning as additive fork 2 commits 2mo ago minor change

Threads of work (detailed view)

2 threads have been distilled into posts.

jamietso/mike-redline: feed tracked changes and comment bubbles to the LLM

Upstream mike strips redlines before the LLM sees a document - `w:del` text and comment bubbles are silently dropped. This fork keeps them, inlining `{++ins++}`, `{--del--}`, `{<<moved>>}`, and `{>>by AUTHOR: text<<}` markers so the model can answer "what did counterparty change?" on both DOCX and PDF.