checkpoint: refresh compact_transcript pointer on finalize
main·
Commit

backfillTranscript regenerates transcript.jsonl via replaceTranscript but did not rewrite the root metadata.json, so a compact transcript created during finalize (when the initial write skipped compaction) left sessions[].compact_transcript omitted. Re-derive the pointer from the tree entry after replaceTranscript and rewrite the root summary when it changed.
Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com Entire-Checkpoint: b0e1c7d96944
Checkpoints
Checkpoint 1