JSONL is easy to underestimate. One object per line sounds like a format you can parse with a short loop. A live coding-agent transcript adds the cases that make that loop unsafe: a partial final append, an unusually large record, duplicate events, provider-specific envelopes, and old completio...
Source: [Dev.to](https://dev.to/agentis/parse-ai-coding-jsonl-safely-before-you-infer-completion-8j8)