Move ShardFor/Kind() out of the understanding layer

main

Commit

Soph2mo ago

ShardFor (and the CheckpointID.Kind() method it used) had no production caller in this PR — their only consumer is the git-refs store's RefName, which lands with the ref-store work — so their doc comments had to forward-reference a per-checkpoint ref store that isn't here. Sharding is a storage concern, not part of recognizing/validating an ID, so move both (and their tests) to the ref-store change.

This PR now contains only the universal "understanding" layer: KindOf/Kind, isULID (oklog-backed), Validate/NewCheckpointID/UnmarshalJSON, and the Pattern/CheckpointPattern matchers. No unused exports, no forward-referencing comments; the Kind type doc drops its git-ref clause.

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

Checkpoints

Review Branch and Refactor Shard Methods

PiGPT-5.5
View session
Checkpoint 1

Build Checkpoints Store Based on Design

Claude Code
View session
Checkpoint 1