Skip to content

v1.1.0: The Sanitize Update

Choose a tag to compare

@mkorpela mkorpela released this 19 Apr 04:23
· 1011 commits to main since this release
Immutable release. Only release title and notes can be modified.
819af47

Adeu v1.1.0 introduces a surgical DOCX metadata scrubber that safely prepares documents for the counterparty.

Word documents leak information. Track changes reveal negotiation strategies, resolved comments expose internal deliberations, and XML metadata leaks author names, file server paths, and editing timelines. Adeu fixes this by stripping dangerous metadata while mathematically preserving complex Track Changes and proving what it did.

Agentic Integrations (MCP)

  • New sanitize_docx Tool: AI agents can now sanitize documents. An agent can draft a redline using process_document_batch and follow up with sanitize_docx to present you with a safe, outbound-ready document and its audit report.
  • Robust validate_documents Tool: Improved path parsing to gracefully accept JSON-encoded strings. This resolves common LLM escaping hallucinations with absolute file paths (especially on Windows).

DOCX Metadata Scrubber (adeu sanitize)

A powerful new CLI command to prepare your documents before sending them externally.

  • Keep Markup (--keep-markup): The standard pre-send workflow. Preserves existing track changes and open comments (intended for the counterparty). Strips resolved comments (internal notes) and all metadata. Unifies author names.
  • Baseline Recomputation (--baseline): For when Track Changes were turned off, or to collapse multiple rounds of markup. Computes a word-level diff against an original document and reconstructs a pristine redline delta.
  • Full Scrub: For signature and deal closing. Strips all history. Includes a safety gate that blocks the scrub if unresolved track changes exist (unless explicitly bypassed with --accept-all).

Transparent Audit Reports

Adeu generates a comprehensive audit report (--report). It shows what was stripped, warns about internal hyperlink targets, and details exactly what markup will be visible to the recipient.

Full Changelog: v1.0.0...v1.1.0