Cross-Studio Encrypted Session Batons: Passing Files & Text Between PDF, Converter, Plagiarism & Humanizer Studios at Zero Re-Upload Cost
How nandaiSessionBaton.ts moves drafts and binary PDFs across 19 studios in local browser storage with automatic 15-minute expiry.
Exporting a file from one tool, finding it in Downloads, and re-uploading it into the next tool wastes time and leaks copies across disk. Learn how Destiny’s Session Baton chains studios seamlessly inside browser storage.
1. Ending the Download-Then-Reupload Tax Across Single-Purpose Tools
Real workflows rarely stop after a single tool. An investigator extracts text from a scanned PDF, tightens sentence cadence in Humanizer, audits originality in Plagiarism Checker, verifies DOIs in Citation Checker, and exports a clean `.DOCX`. On disconnected websites, every hop means downloading a temporary copy (`essay (3).docx`) and uploading it again to another vendor’s server.
Destiny replaces temp disk copies and cloud transfer buckets with a strict client-side Session Baton defined inside `nandaiSessionBaton.ts`.
2. Dual-Tier Handoff: sessionStorage Text + IndexedDB Binary Files (15-Min TTL)
Compact text drafts serialize instantaneously into `sessionStorage` (`nandai_ai_session_baton_v1`), while full binary PDFs, audio clips, and high-res images write into the local IndexedDB object store (`nandai_ai_local_workspace_v1` / `baton_files`) if payloads exceed tab quota. Every envelope carries a `createdAt` timestamp.
When the destination studio mounts, `consumeBatonPayload(15 * 60 * 1000)` rejects anything older than 15 minutes, decodes the payload straight into editor state, and immediately deletes the stored baton record (`sessionStorage.removeItem` + `idbDelete`).
SaveBaton -> sessionStorage | IDB(baton_files, TTL=900s) -> TargetStudio.consumeBatonPayload() -> idbDelete("latest")3. Non-Extractable WebCrypto AES-GCM Keys for Reusable Autofill Vaults
Unlike short-lived cross-studio batons, contractor tax profiles inside `/pdf-autofill` must persist cleanly across repeat filings without ever exposing raw plaintext inside browser DevTools `localStorage`. Destiny generates a browser `CryptoKey` with `extractable = false` inside IndexedDB and encrypts profile JSON using 256-bit `AES-GCM` with a fresh `crypto.getRandomValues(12)` IV on every write.
- Click any studio Baton button (e.g., Transcribe Audio -> Humanizer -> Citation Checker) instead of saving intermediate files.
- Keep baton hops within the 15-minute expiration window to avoid stale context leaking later.
- Use the 1-click Vault Wipe button in PDF Autofill when leaving a shared campus terminal.
- Explore 114 pre-wired multi-studio chains on /workflows.
4. Navigating 19 Studios and 114 Chained Workflows From One Directory
Visit /all-tools or /workflows anytime to jump straight into pre-configured writing, PDF, career, legal, and media chains connected by the local Session Baton.
Multi-Studio Pipeline Handoff: Temp Cloud Buckets vs. Local Session Baton
| Handoff Dimension | Server-Backed File Pipeline | Destiny Local Session Baton |
|---|---|---|
| Cross-Studio File Transfer | Re-uploads file through S3/GCS bucket | Zero network hop; local session/IDB handoff |
| Payload Expiry Hygiene | Temp files persist 24–72 hrs on server | One-shot consume + 15-min hard TTL cutoff |
| Autofill Profile Key Security | Plaintext browser form autofill or cloud DB | Non-extractable 256-bit AES-GCM CryptoKey |
| Chained Execution Speed | Slow upload/download progress bars | Instant mount-time load on studio switch |
Connected Workflows & Technical References
Launch pre-configured interactive sandboxes or inspect the underlying primary specifications.
Draft technical papers with local GGUF inference in Unified Memory, eliminate hallucinated references via offline DOI/ISBN/arXiv checksum math, and publish a fast static HTML5 monograph.
Keep confidential M&A, vendor MSA, and employment drafts off third-party AI clouds—combining local clause screening, ISO 32000-2 PDF revision inspection, and post-quantum team messaging.
More in Local Apple Silicon AI, Zero-Upload Privacy & Post-Quantum Web Security
All 36 Articles →Local Apple Silicon AI, Zero-Upload Privacy & Post-Quantum Web Security — FAQ
- Does the Session Baton upload my document to Destiny servers to pass it to the next tool?
- No. Handoffs occur strictly inside your browser’s local sessionStorage and IndexedDB memory with zero remote storage.
- How long does a Session Baton stay stored in my browser?
- It deletes immediately once consumed by the next studio, and any unconsumed baton automatically expires after 15 minutes (900 seconds).
- Can binary PDFs and images pass across studios via the Session Baton too?
- Yes. Binary File objects route automatically through local IndexedDB (`baton_files`) and reconstruct cleanly as File instances on the target studio.
- How is the persistent Autofill Vault encrypted separately from temporary batons?
- Autofill Vault profiles are encrypted in IndexedDB using a non-extractable 256-bit AES-GCM WebCrypto key and unique 12-byte random IVs.