Commit Graph
2 Commits
Author SHA1 Message Date
Max Murphy c2e4a05df1 M15 #1: rebuild wordcraft-cli before every DOCX corpus run
Signed-off-by: Max Murphy <maxmrphy@gmail.com>
2026-11-02 22:38:29 +01:00
Max Murphy cee47681a3 M15 #1: add opt-in DOCX corpus harness
Adds cargo xtask docx-corpus: every .docx under a local corpus is opened and inspected, rendered to PNG (page 1 or all pages), saved to a temporary copy, reopened and compared by plain text and page count. Each stage runs in a bounded child wordcraft-cli process, failures are classified, and one bad file never stops the run.

The JSON report is sorted and timestamp-free, with a Markdown summary and rendered pages beside it. Missing and empty corpora exit successfully. The harness is local-only: /corpus stays git-ignored, only corpus/docx/README.md is tracked, and no Word-produced file or Word-vs-WordCraft visual comparison is added.
2026-11-02 22:38:29 +01:00