pdfcraft/xtask/src
ejbarraza 21d5323132
Add faux-redaction audit (paint-order and colour-aware, fail-closed) (#110)
* Rework faux-redaction audit per maintainer review

- Paint-order aware: a rectangle counts as a cover only when painted
  strictly after the text (positions from the joined content stream).
- Colour-aware: WCAG contrast between text and cover must be below 3.0,
  so page backgrounds, table shading and highlights are not flagged.
- Fail closed: audit_redactions returns Err on undecodable content
  streams (decoded_strict) and malformed /Annots; the operator bound is
  an error, not a silent truncation.
- Graphics state carries across a page's content streams (one joined
  walk); form XObjects still isolate their state at Do.
- Audit-only: the sanitize-for-sharing half is dropped (upstream #162).
- Parity entry marked partial, not shipped.

* Audit: register its layer, add a README, fail closed past 32 nested forms, document what it doesn't check

---------

Co-authored-by: Erick Barraza <ejbarraza1994@gmail.com>
Co-authored-by: Brandon Thomas <echelon@gmail.com>
2026-10-11 14:32:33 -04:00
..
demo_pdf demo-pdf: two fixes so xtask demo-pdf and xtask screenshots work on Windows (#954) 2026-10-11 13:16:12 -04:00
assets.rs Refs #103: ship the OCR models in the desktop release packages (#630) 2026-10-09 18:42:23 -04:00
corpus.rs D1: pin and verify the pdf.js corpus (#339) 2026-10-09 21:26:54 -04:00
fuzz.rs Rename PrintCraft to PdfCraft (#174) 2026-10-07 16:03:57 -04:00
gates.rs feat(macos): declare document icon file for PDFs in Info.plist (#910) (#933) 2026-10-11 12:32:29 -04:00
layers.rs Add faux-redaction audit (paint-order and colour-aware, fail-closed) (#110) 2026-10-11 14:32:33 -04:00
macos_integration.rs macOS: add native document integration diagnostics (#653) 2026-10-09 21:35:51 -04:00
main.rs macOS: add native document integration diagnostics (#653) 2026-10-09 21:35:51 -04:00
parity.rs M0.8: parity/acrobat-features.toml (826 features) + xtask parity (schema, registry/tool/test cross-checks, tier/area report) in ci; fuzzer skips known-hang seeds 2026-10-01 09:34:02 -04:00
screenshots.rs M14: Arabic and Hebrew file names render in the tab strip, recent files and Properties (#285) 2026-10-08 10:46:58 -04:00
version.rs xtask: version test uses gates::root (fixes the xtask test build) 2026-10-03 00:42:57 -04:00