attribution: collapse duplicate candidate/context structs into one type

main

Commit

Soph3mo ago

attributionCandidate and attributionCheckpointContext declared identical field lists with identical JSON tags, kept in sync only by a candidateFromContext() cast. Adding a field meant editing both. Alias attributionCandidate to attributionCheckpointContext so there is one definition, and drop the now-noop conversion helper.

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

Checkpoints

Attribution Bugs and Refactoring in CLI

Claude CodeOpus 4.8[1m]
View session
Checkpoint 1