Redline projection: struck text stops reading as operative
projectDocxRedline emits {++ins++}/{--del--}/{>>author: comment<<} for
native markup and the same markers with [ink] attribution for manual
red-strike redlines (sniffer's color threshold, byte-identical copy).
Precedence: tracked wins over ink, del over ins, struck over red.
Counts mirror scanDocxPathology exactly on both real markup docs
(78/85 and 68/0); the probe fixture's deleted rent figure and struck
indemnity clause - which mammoth returns as operative text - project
as {--...--}[ink]. 14 tests.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012AgUm5EcRKbT3duVFMbrQD
| Repository | eliziff/Beaver |
|---|---|
| Author | Eli Ziff <eliasziff@gmail.com> |
| Authored | |
| Parents | dea65332 |
| Stats | 2 files changed , +793 |
| Part of | SourceDoc / DOCX engine: redlines, tracked changes, editing benchmark |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-ffe9cb5a.md
from inside the repo you want the change in.