Skip to content

Harden DOCX cache and reader backends - #19

Merged
dowellhz merged 1 commit into
mainfrom
agent/harden-docx-reader-backends
Aug 14, 2026
Merged

Harden DOCX cache and reader backends#19
dowellhz merged 1 commit into
mainfrom
agent/harden-docx-reader-backends

Conversation

@dowellhz

Copy link
Copy Markdown
Owner

Summary

  • harden prepared DOCX loading with selective extraction, content verification, entry and byte quotas, concurrent publication, temporary-resource ownership, and stage measurements
  • route PDFKit and WebKit navigation and zoom through typed reader backends while preserving continuous-mode previous-page placement
  • add DOCX cache/concurrency and reader-backend regression coverage, and update architecture documentation

Why

The existing DOCX cache still extracted the complete archive, serialized all builders behind a global lock, and enforced only an entry-count limit. Navigation and zoom commands also coupled shared controller behavior directly to PDFKit and WebKit.

Validation

  • ./tests/run.sh
  • ./scripts/check.sh --no-build
  • ./scripts/check_ui_theme.sh --warnings-as-errors
  • ./scripts/build_app.sh
  • git diff --check

@dowellhz
dowellhz marked this pull request as ready for review August 14, 2026 04:54
@dowellhz
dowellhz merged commit 1c107c4 into main Aug 14, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant