The byte-cursor ledger: tracking proxy state precisely
How accountLedger.ts answers "what did this account cost today" from a request log that runs to hundreds of megabytes, by keeping a byte-offset cursor per file and never re-reading a line it has already consumed.








