rewrite-checkpoints: faithful prompt + metadata replay (review)

Commit

Soph2mo ago
  • Split the stored prompt blob back into the original prompt list via SplitPromptContent instead of wrapping it in a one-element slice — so an empty prompt file stays empty and RedactedJoinedPrompts reconstructs the original prompts (and count) rather than re-redacting the joined text. [cursor]
  • Forward the remaining session-level fields the replay dropped — Attribution, PromptAttributions, SessionMetrics, Kind, ReviewPrompt/Skills, Investigate run/topic, and the root HasReview/HasInvestigation flags — so a rewritten ref matches the branch checkpoint the tool evaluates. [cursor]

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com Entire-Checkpoint: 78d184424eb8

Checkpoints

Build Checkpoints Store Based on Design

Claude CodeOpus 4.8
View session
Checkpoint 1