Append-only session history writer and streaming delta coalescer.
Remarks
Streaming & Persistence Contract
Appends coalesced assistant deltas to .jsonl log without rewriting snapshots per chunk.
Under ${handle}.lock, checks for torn tails from unexpected crashes and truncates
in-place to the last valid byte offset, adjusting capacity accounting.
Materializes .json snapshot atomically upon message completion or turn_finished.
Holds back incomplete credentials using computeSafeCommitPoint from security.
Append-only session history writer and streaming delta coalescer.
Remarks
Streaming & Persistence Contract
.jsonllog without rewriting snapshots per chunk.${handle}.lock, checks for torn tails from unexpected crashes and truncates in-place to the last valid byte offset, adjusting capacity accounting..jsonsnapshot atomically upon message completion orturn_finished.computeSafeCommitPointfrom security.