Answer the question. Never send the file — the permission is killed by the network, not a promise.
A tenant in Mumbai is asked for a payslip to rent a flat. The landlord wants to know one thing: can this person pay ₹25,000 a month. What he receives is a PDF carrying the tenant's employer, employee ID, PAN, bank account number, home address, designation, joining date and exact salary. It goes into a WhatsApp thread, a broker's laptop and an email archive. One bit was wanted and a whole document was surrendered, because handing over the document is the only mechanism that exists. The same trade happens at HR verification, NBFC loan desks, school admissions and gig onboarding.
The usual repair is a deletion promise, and that repair is not available. Broadbent and Islam (TCC 2020) proved certified deletion is impossible with classical information, because classical ciphertexts can be copied. What the industry actually ships as proof of deletion is NIST SP 800-88r2 §4.6: a certificate listing the name, job title and phone number of the person who says they did it. India's DPDP Act §8(7) makes erasure on withdrawal enforceable to ₹250 crore, and the ability to demonstrate it does not exist.
So deletion is the wrong primitive. Non-collection is the right one: you cannot prove you deleted it, you can prove you never held it. AskOnly is built entirely around that swap.
How it works, as two parties with two wallets. The owner connects a wallet; their address is their identity. A document is encrypted in their browser — AES-GCM-256, key derived by PBKDF2 at 210,000 iterations from a passphrase that never leaves the page — and the ciphertext is written to Arkiv as an entity carrying its own death block. Each party's wallet signs one EIP-712 session per browser, good for a week, naming a key in that browser, and from then on that key signs with no popup. The server checks the session against the wallet and the action against the session, and every record keeps both signatures. The owner signs one grant: this reviewer, until this time, and this key in my browser may answer them. That is the only decision the owner makes. The reviewer signs EIP-712 requests under any permission they hold, so each question lands as askonly.request state=pending with no popup. Because only the owner's device holds the passphrase, only the owner's browser can answer, and it does so by itself: it decrypts locally, sends the fewest lines that can settle the question to a glm-5.3 enclave on 0G Private Compute, widens only if those cannot, and signs the answer back with the key the grant named. The reviewer never holds the passphrase, the document key or the document. The server pays the Arkiv gas and runs verifyTypedData on every seal, grant, request and answer before it writes, so the operator can pay for those records but cannot author one. The owner's browser checks the same signatures before it pays to answer, so a server that invents a question gets nothing answered. Refusals are not signed, and the reviewer's screen does not re-check answers yet; the README's "What we don't claim" section says so.
Two sponsors, two jobs nothing else does. Arkiv holds the capability, and the capability's $expiresAt is the permission's life: when it runs out, nothing has to remember to switch it off and no job has to run. Ending one early is a signed revoke. 0G is the only reader: a model in an Intel TDX enclave is the first universal adapter from unsigned, unstructured Indian paper to one bit, which is why ZK credentials never reached payslips.
What is genuinely novel is the asymmetry underneath. Arkiv emits an event when an entity's life is extended and emits nothing at all when one expires. Letting a permission die is silent and free; keeping one alive is a signed, timestamped, publicly observable act. Everywhere else, retention is the default and deletion is the thing you must evidence — impossibly. Here deletion is the default and retention is the thing you have to explain.
Live: https://askonly.vercel.app — ask its sample payslip anything and a real 0G TeeML enclave answers, with the request id. The full two-party app runs on your own machine at localhost:5173, the one browser origin 0G's router accepts; the README shows how.
Partner technologies. Arkiv holds every record AskOnly keeps: the encrypted document, the permission, each question, each answer and each refusal, and a permission's $expiresAt is its lifetime, enforced by the network. 0G Private Computer is the only thing that ever reads document lines: glm-5.3 inside an Intel TDX enclave, called from the owner's browser, with every answer carrying its 0G request id.
Stack. A Node ≥22.10 server with no framework. Arkiv Rabdi (chain 7794095, 2 s blocks) via @arkiv-network/sdk@1.0.1 with viem@2.x; five askonly.* schemas; writing wallet 0x4CA8176777D44B76235684b63334088C618994e4. Solidity and Hardhat for AskOnlyGate.sol and MockENSRegistry.sol, an ENSv2 role gate that is built and tested but not used by the app, with 19 contract tests, deployed to Sepolia and verified by reading the constructor values back — AskOnlyGate 0xc0Aa8494d24EB40878cE9B3505Fe3023C75CF204, MockENSRegistry 0x782E197F213c7eb04D578459a3b42bE861aC2E88. ENSv2 ETHRegistry at 0xd4ebcbbdf463c9c45784603db0ddd499bc44a8b4 on Sepolia. 0G Private Compute at https://router-api.0g.ai/v1, glm-5.3, Intel TDX / dstack, trust mode private. Front end is React 19 with Vite, wagmi and viem, using WebCrypto (AES-GCM-256, PBKDF2 at 210,000 iterations) and eth_signTypedData_v4; EIP-712 verification server-side in src/auth/typed.mjs. Self-hosted variable woff2 — EB Garamond for display, Figtree for UI, Geist Mono for every hash and address. No key ships in the repo.
Six things learned the hard way, each of which changed the code:
0G's CORS allowlist is per exact origin, including the port. http://localhost:5173 gets Access-Control-Allow-Origin back; :4319, :5174, :8080, :8000, :4200 and the deployed Vercel origin all get 403. The earlier mistake was trusting a 204 preflight — a 204 without the ACAO header still fails in a real browser, and only loading an actual page revealed Failed to fetch. On any other port the browser cannot reach the enclave, and the app does not fall back to relaying through the server, which would reintroduce exactly the trusted middleman this design exists to remove. Hence npm start serves on 5173 and nowhere else.
watchEntityEvents is a chain-wide firehose, and nothing documents it as one. It has no schema, owner or key filter — .ownedBy() and .createdBy() exist on the query builder, which makes it natural to assume the subscription has them. Measured on unfiltered subscriptions: 8 events in 20 s with 0 of them ours, then 45 events in 24 s with 1 ours — 44 belonged to strangers. Unfiltered, the retention monitor shows unrelated wallets' retention as if it were the data subject's, which is not merely wrong output but a false accusation. src/arkiv/watch.mjs now filters client-side, reports the drop count (GET /api/retention) as the evidence that the filter is load-bearing, and throws rather than starting unfiltered.
The 0G enclave signature endpoint does not exist. The receipt was designed around an enclave signature verified against the provider's on-chain signer. Eight path shapes were probed with a live chatcmpl id: all 404. The design changed instead of the claim: the asker signs the question before anything is answered, and the owner's browser signs the answer, binding the question hash, the answer hash and 0G's request id. 0G cannot prove the enclave said it; we can prove the landlord asked and what they were told, which is the record DPDP Rules 2025 First Schedule Part B item 3 actually requires.
Arkiv writes need typed value tags, not just query predicates. The docs are emphatic about str() / addr() / u64() in predicates; createEntity values need them too. The first write failed with Column "owner": a addr column, but the value is a str. Write addr(...) around the value — an unusually good error that names the column, both types and the fix. What made it cost anything is that a bare JS string is accepted for a str column, so partial tagging appears to work right up to the first non-string column. Every value is now tagged, strings included.
Load-balanced RPC can serve two reads from nodes at different heights. On Sepolia, two eth_calls issued back to back right after a write returned mayAsk = true while permittedSets returned income = false in the same breath — a self-contradictory answer. The fix generalises: pin every group of reads that must agree to a single block number, and throw if two pinned reads of the same fact still disagree rather than quietly picking one.
extendEntity takes an object, and the positional form produced a false pass. It is extendEntity({ entityKey, expiration }, txParams). The positional form throws InvalidExpiryError, so the test asserting "every operation on a dead entity fails" passed while proving nothing. A false proof is worse than a missing one; the test now uses the object form and prints each failure's reason beside it, so a pass for the wrong reason shows. Related sharp edge: str is 128 bytes, not characters — ₹ costs 3 bytes and मियाद is 5 characters and 15 bytes — so fitStr() truncates on a code-point boundary.
One more worth stating: rabdi({ accessKey }) path-encodes the access key into the RPC URL, so every error leaving the Arkiv layer is scrubbed of ark_live_* and of URLs before it can reach a log, a terminal or a UI toast.
The hosted landing page at askonly.vercel.app is a static Vite build plus one Vercel function (web/api/ask.js). It runs the app's own line picker and enclave call on a public sample payslip, because 0G's router rejects browser calls from any origin but localhost:5173.

