test(backend): document-integrity tier - docxTrackedChanges, prompts, documentTypes, systemWorkflows
Four new unit suites (46 tests) for the document-integrity tier of the coverage backlog: - docxTrackedChanges: in-memory docx fixtures via JSZip; insert/delete runs, minimal tracked spans, accept/reject round-trips, id numbering, ambiguous/not-found/malformed-input paths (19 tests) - chat/prompts: base prompt invariants, citation contract markers, and CourtListener splice on/off (8 tests) - documentTypes: type predicates, pdf-conversion policy, MIME fallbacks (12 tests) - systemWorkflows: unique builtin ids, well-formed metadata/columns, non-empty skill markdown, assistant-list sync (7 tests) Coverage ratchet raised from 11/10/14/10 to 23/17/23/23 (measured 23.88% stmts / 17.98% branches / 23.06% funcs / 23.79% lines); backlog doc updated to match. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
| Repository | open-legal-products/mike |
|---|---|
| Author | Amalanand Muthukumaran <mamalanand3@gmail.com> |
| Authored | |
| Parents | c0ff4404 |
| Stats | 6 files changed , +602 , -24 |
| Part of | Add document integrity test coverage |
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-7f09e475.md
from inside the repo you want the change in.