Safe DOCX posture
Section-property revisions (w:sectPrChange)
safe-docx emits bounded page-number restart snapshots and consumes existing
w:sectPrChange records: accept removes the prior snapshot and reject restores
it. The authoring claim is limited to w:pgNumType/@w:start; header/footer part
editing, relationship mutation, general pagination, and Lean are outside the
claim.
Schema declarations
Bounded evidence
- source
packages/docx-core/src/primitives/track-changes-emitter.ts - source
packages/docx-core/src/primitives/sections.ts - source
packages/docx-core/src/primitives/accept_changes.ts - source
packages/docx-core/src/primitives/reject_changes.ts - test
packages/docx-core/src/primitives/sections.test.ts - test
packages/docx-core/src/integration/advanced-revision-classification.test.ts - test
packages/docx-core/src/integration/canonical-emission-regression.test.ts - test
packages/docx-mcp/src/integration/canonical-emission-mcp.test.ts