EXECUTION_PAYLOAD_TOTAL_CAP
const EXECUTION_PAYLOAD_TOTAL_CAP: number = 262_144;Defined in: src/execution.ts:216
Total payload text embedded across one history, in characters.
The per-payload cap alone does not bound a document: a 2,000-iteration Map is 2,000 entries, each free to carry its own capped input and output. Capture stops once this budget is spent, so a long run yields a document that opens rather than one that has to parse megabytes of JSON before it draws anything.