Repository navigation
docs: expand the CLAUDE.md sample's shared-memory guidance - #9
Merged
Merged
Conversation
Add scope behaviour (store needs a scope, reads cover all readable scopes, list_scopes, an ungranted scope reads as "not found"), a status-tag sweep with a tags_all example, a public-bot warning, what update and delete do, the categories list, and why secrets must never be stored. Co-Authored-By: Claude Opus 5.5 <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.
Why
The sample CLAUDE.md in
docs/claude-md-sample.mdlacked guidance that agents need in practice. One gap showed up today: an agent tried to store into a scope its token had no grant on, gotScope '…' not found, and fell back to local notes without knowing why.What
storeneeds a scope.scopesnarrows them.list_scopesshows the scopes you can use and your access to each.list_scopesrather than retrying.tags_allfilter (feat(search): add a tags_all filter that requires every tag #8) that gets one repo's open work without filtering on the client.update, and moving a memory between scopes.deleteis soft. Restoring is shell-only, throughscripts/admin.ts restore.The sample is docs only and still uses placeholders throughout.
🤖 Generated with Claude Code