rewind picker: use CheckpointID.Path() directly · Entire
rewind picker: use CheckpointID.Path() directly
c00ae89→main·
pfleidi·1mo ago·1 file·+1 added/-1 removed
Drop the deprecated paths. CheckpointPath wrapper and the misleading //nolint:staticcheck comment that suggested a real migration was deferred.
Sessions
a8ec8fb8463bView transcript
Changes
1
cmd/entire/cli/strategy
Mmanual_commit_rewind.go+1/-1
209 unmodified lines
210
211
212
213
213
214
215
216
209 unmodified lines
var sessionPrompt string
var sessionPrompts []string
if metadataTree != nil {
checkpointPath := paths.CheckpointPath(cpInfo.CheckpointID) //nolint:staticcheck // deprecated but migration deferred
checkpointPath := cpInfo.CheckpointID.Path()
// For multi-session checkpoints, read all prompts
if cpInfo.SessionCount > 1 && len(cpInfo.SessionIDs) > 1 {
sessionPrompts = ReadAllSessionPromptsFromTree(metadataTree, checkpointPath, cpInfo.SessionCount, cpInfo.SessionIDs)
Mcmd/entire/cli/strategy/manual_commit_rewind.go+1/-1