Unexport ulidPattern (extraction shape, not a validator)

main

Commit

Soph2mo ago

After moving ULID validation to oklog/ulid, the ULID regex no longer validates — it only composes CheckpointPattern to extract a candidate ID token from free text (the Entire-Checkpoint trailer). Nothing outside the id package referenced the exported ULIDPattern, and an exported "shape" regex that looks like a validator is a footgun, so unexport it to ulidPattern. Pattern stays exported (run IDs in investigate/provenance use it); CheckpointPattern stays exported (trailer scan).

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

Checkpoints

Build Checkpoints Store Based on Design

Claude Code
View session
Checkpoint 1