refactor(import): drop unused Provenance from imported checkpoints

main

Commit

computermode3mo ago

Provenance was written to metadata.json but never read: idempotency comes from the deterministic checkpoint ID (sha256(sessionID/turnUUID)), and explain never cited it. Removing the Provenance struct/field and the now-dead Turn fields (ParentUUID) and import-version constant. Imported checkpoints keep Kind and the Imported flag.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com Entire-Checkpoint: 4315ab0b3062

Checkpoints

Generalize Agent Import Across Platforms

Claude CodeOpus 4.8
View session
Checkpoint 1