feat(cli): render scoped snapshot refs in their pinned form
Merged
ST
14h ago+188+188+012345678901234567890123456789-15-15-01234567890123456789
Summary
When snapshot -s (or any scoped snapshot) emits refs, the text output renders them as bare @eN even though only the pinned form @eN~sG is accepted afterwards, so copying a ref out of the output fails on the next use. Scoped output now renders each ref in its pinned form and discloses refsGeneration, closing the ADR 0014 contract gap for the text surface (the JSON surface already carries both).
3 files changed (snapshot text formatter + tests).
Validation
- Head: a765b06ea on a68693c72.
pnpm run typecheck,pnpm run lint, snapshot-output and help tests, integration-progress--check, fallow, freerange: pass locally.- Independent cold review: APPROVE. CI runs the full gates on push.
🤖 Generated with Claude Code
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.