fix(docx-compare): remove accepted ghost section breaks - #981
stevenobiajulu wants to merge 1 commit into
Conversation
Accepting a tracked removal can leave an empty paragraph-owned sectPr after its revision snapshot is discarded. That node remains a semantic section break and causes the exact source-formatting publication gate to reject otherwise faithful comparisons. Remove only that narrowly identified container while preserving live and final section properties, and cover the behavior with invented XML and built-DOCX regressions. Ref: UseJunior/legal-context#918
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Supplemental implementation self-review adjudication (same model; not an independent-family review):
Local checks are complete. CI is currently running. Independent-family review is unavailable under the owner constraint; this same-model review is supplemental and does not satisfy that gate. No merge/automerge/deploy/publication is authorized. |
LLM gate (advisory)1 finding to review (advisory, does not block) - 4 pass, 1 warn, 0 error, 11 skipped, 16 total Findings (1)
All 16 rules (5 evaluated, 11 skipped)
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
Final CI update: all required checks are complete and successful at head |
Summary
w:sectPrChangesnapshot whose container has no live section propertiesDependency of UseJunior/legal-context#918. This PR does not close that issue.
Exact revision
main):31b1d8fd2e9f0f285cc6167906ef6e2c9f2206993b9f80095c753bcb4d99771b5adabf906fd0eebbEvidence
0.6666666666666666, with two divergent section units caused by the empty paragraph-owned section node1.0, reject1.01.0, reject1.0; zero run, paragraph, table, or section divergences and zero unaligned paragraphsVerification
npm run buildnpm run lint:workspaces(six pre-existing unused-disable warnings, zero errors)docx-core: 1,314 passed/1 skipped; render verifier: 56 passed)npm run check:spec-coveragenpm run check:conformance-citationsnpm run check:conformance-docopenspec validate remove-accepted-ghost-section-break --strictReview status
Supplemental same-model self-review found and fixed a predicate hardening issue by requiring the change node itself to be the sole direct element child. No independent-family review was available under the owner constraint; this self-review does not satisfy that independent gate.
READY for review. No merge, automerge, deployment, or publication is requested or authorized.