Every BLOCK is saved. This is what an RBI auditor downloads. Hash chains like blockchain.
| AuditId | Data | Region | Status | Reg | Hash |
|---|
-- This localStorage will become this table in prod CREATE TABLE audit_trail ( audit_id TEXT PRIMARY KEY, timestamp TIMESTAMPTZ, data_type TEXT, -- aadhaar, pan, payment storage_provider TEXT, -- AWS S3 region TEXT, -- us-east-1 reg_id TEXT, -- RBI-2018, DPDP-16 risk_id TEXT, -- RISK-02 status TEXT, -- BLOCKED / ALLOWED control TEXT, prev_hash TEXT, hash TEXT -- SHA256(prev_hash + this_row) = tamper proof ); -- For E2B sandboxing (Day 5), PII never leaves VM, only hash leaves