Document snippets and bump to 0.2.0 for release#31
Merged
Conversation
Adds the snippet surface to user- and contributor-facing docs ahead of the 0.2.0 release that ships snippet support: - README: new Snippets CLI section (list snippets/snippet-paths/ snippet-locations, get snippet/snippet-match), MCP tools table updated (snippet on `list`, the `snippet_match` tool, no get/update), and the Snippet locator form - CLAUDE.md: ERD (Revision->Snippet->SnippetMatch), architecture tree, the four snippet endpoints, the Snippet model entry with its API quirks, and Future Work (reject/unreject + cross-revision compare) - Bump version 0.1.0 -> 0.2.0 (Cargo.toml + Cargo.lock) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Release-prep for the 0.2.0 release that ships snippet support. Adds the snippet surface to the docs and bumps the version.
list snippets/snippet-paths/snippet-locations --with-lines,get snippet/snippet-match); MCP Available Tools table updated (snippetonlist, thesnippet_matchtool, note that snippets are list/drill-in only — noget/update); Snippet locator form.Revision → Snippet → SnippetMatch), architecture tree, the four snippet API endpoints, theSnippetmodel entry with its documented API quirks (stringid,matchPercentage0–100 vs 0–1 elsewhere, trailing-blank-EOF off-by-one), and Future Work (reject/unreject + cross-revision compare, out of scope for v1).0.1.0→0.2.0.Test plan
cargo buildsucceeds.src/cli/mod.rs.Release path
Merge this into
feature/snippets, then PRfeature/snippets→main, then tagv0.2.0onmainto trigger the cargo-dist release workflow.🤖 Generated with Claude Code