Data Lifecycle: Three Distinct Layers
We keep raw PDF bytes out of persistent storage and separate short-lived review previews from compact duplicate-protection receipts.
| Data Category | What It Contains | How Long It Lives | What We Never Store |
|---|---|---|---|
| 1. Raw PDF Bytes | Binary PDF downloaded from the Deal attachment you select (max 4.5 MB live). | In memory only. Mutable binary buffers are zero-filled (finally cleanup) on success, error, timeout, or abort. Immutable V8 runtime strings are reclaimed by normal Node.js garbage collection when the request ends. |
Never written to SQLite, disk, error payloads, or logs. |
| 2. Structured Previews | Extracted counterparty name, dates, line descriptions, totals, and short source excerpts (zero raw PDF bytes). | 30 minutes max. Purged automatically every 60 seconds by background sweep and immediately on server startup. | No raw PDF binaries, no payment cards. |
| 3. Commit Audit Receipt | Filename, one-way SHA-256 hash, HubSpot Deal & line-item IDs, grand total, currency, footing verdict, any reviewer override cause/note, renewal task outcome. |
Retained while portal is active to prevent duplicate writes on retries and maintain your review trail. Deleted on full portal erasure request. | No unrelated HubSpot Contacts, Companies, or full PDF text. |