checkpoint: drop redundant summary re-normalization · Entire

checkpoint: drop redundant summary re-normalization

90b1515→main·

pfleidi·3w ago·1 file·+1 added/-1 removed

ReadCommittedCheckpoint re-normalized a summary that the underlying GitStore.ReadCommitted already normalizes, applying legacy-version defaulting a second time at the interface boundary. Defaulting belongs in the storage layer where persisted data is read, so trust the reader's contract here. Nil handling is unchanged, coming from the explicit guard above.

Sessions

99b8e4c8b3faView transcript

[?
Checkpoint Version Management and PersistenceCodex·GPT-5.5·2 steps](/content/gh/entireio/cli/session/019ef050-bbd5-7863-b97e-af881fab4c74#timeline-99b8e4c8b3fa/index.html)

Changes

1

49 unmodified lines

50
51
52
53
53
54
55
56

49 unmodified lines

if summary == nil {
        return nil, ErrCheckpointNotFound
    }
    return normalizeCheckpointSummary(summary), nil
    return summary, nil
}

// ReadLatestSessionContent reads the latest session from an already-resolved

Mcmd/entire/cli/checkpoint/committed_reader_resolve.go+1/-1