← Files ThinkMatch BooksARCHIVED FILE
references/data-handling.md
4.57 KB · Nov 30, 2026 · 15:12 UTC
# Private-preview data handling This describes the tested implementation. It is not a replacement for ThinkMatch's published privacy policy, the AI provider's policies, or Amazon's terms. Novel-specific public disclosures require review before public release. | Data | Where and why it is stored | Retention/control | | --- | --- | --- | | Reader's account ID, book title, author label, language, word target, revisions, object references, sizes/hashes | Isolated novel SQL database on the existing server | Private owner-scoped access; removed with the project or deleted-account cleanup | | Plans, characters, continuity, drafts, feedback, artwork and generated EPUBs | Dedicated private Cloudflare R2 bucket | Saved versions retained until project/account deletion; no public bucket access | | Access/refresh tokens and authorization codes | Hashes in the isolated novel SQL tables | Expire, rotate or are revoked; stale/deleted-account records purged by daily maintenance | | Browser/EPUB links | Hashed bearer-link records in novel SQL | Until revoked by default, or creator-selected 1–365-day expiration; anyone holding a valid link can use it; downloaded copies remain with the recipient | | Native image-upload URL | Signed temporary grant, tied to one owner/book/revision/slot | 10 minutes; keep it private; normal revision checks prevent conflicting reuse | | Incoming image bytes | Memory for validation/resizing, then private R2 | No manuscript/image files written to EC2 by the running service; embedded image metadata is stripped | | AI conversation, generation and image hosting | Reader's chosen ChatGPT/Codex account and its providers | Provider/account settings apply; ThinkMatch does not erase provider conversations or promise their retention policy | | Optional Kindle transfer | User's Amazon account after explicit submission | Amazon/device policies apply; ThinkMatch deletion cannot recall these copies | The service authenticates every MCP request and checks project ownership. It uses the existing ThinkMatch identity through read-only views and cannot modify the main account/session tables. Normal ThinkMatch logout, plugin disconnection, individual project deletion and account deletion are distinct actions. Account deletion immediately prevents novel authentication, private-link downloads and pending image uploads. The daily cleanup removes book SQL rows, all private object versions under each book prefix (including unreferenced objects left by failed SQL writes), download links, novel credentials and the novel reader record. Failed storage deletion retains an inaccessible tombstone and retries on subsequent daily runs. It does not delete downloaded files, Kindle copies, independent sample source files in the development repository, or AI-provider conversations. Signed file URLs, full tokens, manuscript bodies and image bytes must not be logged or added to support issues. The image-download diagnostic records only stage, hostname and HTTP status, not signed paths/queries. Private R2 is access-controlled, not end-to-end encrypted from the service operator. Operational/hosting provider retention and backup policies require explicit public-release disclosure; no immediate erasure guarantee is made for provider-managed residual copies. Image downloads accept public HTTPS attachment sources across regions, with DNS validation and pinning. Private or mixed public/private DNS results, nonstandard ports, embedded credentials and redirects are rejected. Storage quotas account for SQL-referenced checkpoints; unreferenced objects from interrupted writes can remain private until project deletion. A reference-aware orphan reconciliation job is a remaining broader-rollout improvement. New get_book_download links default to no expiration and use stable saved editions. Anyone possessing a link can read/download without an account; creators can list and revoke them. Previously issued expiring links keep their original expiry. EPUB downloads use the saved edition title as a sanitized Unicode filename, with an Untitled Book fallback. Public publication is a separate explicit creator choice. Available listed editions expose title, author, description, cover, reading/download URLs and aggregate ratings publicly and in the public sitemap. Withdrawn, hidden, deleted-account and deleting-book editions are excluded. Private and unlisted bearer URLs are not indexed. External services may retain previews or downloaded copies. Story-logic audits, quotes and chapter revision references are stored as private checkpoint documents. The publication widget receives only public metadata and URLs.
SHA-256: 39d58888905c42e9dbe7748b57581aefad1114ac3c7aa802bab130a560ce8f91