1. Execution Model: 100% Client Runtime / Zero Document Uploads
All document parsing, optical character recognition (Tesseract WASM English model), regex/checksum/heuristic entity scanning, privilege & restraint triage, raster pixel excision, Bates stamping, item index generation, and SHA-256 audit logging execute locally inside the user's browser process.
Outbound Uploads
0 bytes. Documents never leave workstation memory after page assets load. Zero cloud LLM or external OCR API calls.
Offline Package Mode
Approved pilot teams can run the static bundle completely air-gapped on loopback 127.0.0.1:8355 with zero internet access.
Sandbox Tracker Policy
Zero third-party cookies, trackers, or analytics scripts are loaded inside /sandbox/ so DevTools Network checks stay clean.
2. Enforced Content Security Policy (CSP)
The application runtime enforces strict Content Security Policy headers blocking external scripts, third-party beacons, and unauthorized connections:
default-src 'self' blob: data:;
script-src 'self' 'wasm-unsafe-eval' blob:;
worker-src 'self' blob:;
connect-src 'self' blob: data:;
img-src 'self' data: blob:;
style-src 'self' 'unsafe-inline';
font-src 'self' data:;
object-src 'none';
IT Verification Step: Open Chrome DevTools (F12) → Network tab inside /sandbox/ or the local bundle, load a sample IDR batch, run OCR + export, and confirm zero outbound connections leave the origin.
3. Fail-Closed Multi-Layer Export Leak Gate
Before any produced PDF unlocks for download in Workflow Studio, two structural safeguards enforce redaction integrity:
- Vector Overlay Export Disabled: Black boxes drawn over intact PDF text operators are disabled. Only flattened raster pixel images are rebuilt into output PDFs.
- All-Present-Layers + OCR Leak Probe: Every produced file is scanned across
RAW_STREAM, XMP_METADATA_LAYER, METADATA_LAYER, OUTLINES_BOOKMARKS_LAYER, EMBEDDED_FILES_LAYER, ANNOTATIONS_LAYER, independent PDF_TEXT_LAYER (with isEvalSupported: false), and PAGE_IMAGE_OCR (blocking fail-closed on CHK-LEAK-SCAN-TIMEOUT if an OCR pass fails or times out).
4. Local Storage, Purging & Vendored Runtime Dependencies
All third-party libraries (PDF.js v3.11.174, PDF-Lib v1.17.1, Tesseract.js v5 + eng.traineddata.gz, 169 CMaps, 16 standard PostScript fonts) are vendored locally without external CDNs and tracked via a SHA-256 checksum manifest (libs-sha256.csv).
- IndexedDB (
tax_workbench_e1_v1): Holds active case state, normalized text, redaction geometry, and the sequential SHA-256 evidence log locally on the user's machine.
- Instant Local Purge: Clearing browser site data or running
indexedDB.deleteDatabase('tax_workbench_e1_v1'); localStorage.clear(); removes all local session artifacts immediately.
5. Transparent Scope & Known Pilot Boundaries
| Boundary Area | Current State (v0.9.0-pilot.1) |
| Product Scope |
Focused specifically on IRS LB&I Form 4564 Information Document Request (IDR) triage, redaction, privilege/restraint separation, and Bates production packaging. |
| OCR & Heuristic Detection |
Uses local Tesseract WASM English + deterministic regex/checksums/heuristics (remote neural CDN downloads blocked for zero egress). Mandatory counsel visual inspection required before IRS filing. |
| Stages 10-13 |
IRS portal upload, post-delivery deadline tracking, clawback notices, and matter close-out are manual counsel workflows recorded cleanly as external steps. |
| Native Office Rendering |
Excel/Word/PowerPoint XML text, comments, and hidden rows/sheets are flagged in-browser; paginated native sheet-to-PDF conversion requires desktop Office rendering prior to visual PDF boxing. |