Repository navigation
Let the helper address the repository itself, and record the rule - #10
Merged
Merged
Conversation
An empty path now means the repository, which is what you want for reading its description and topics; it was refused along with everything else that did not begin with a slash. .claude/settings.json carries the one permission rule that makes tools/github.sh usable without a prompt. It is checked in rather than kept locally because it is a decision about this project - which single command an assistant may run unattended - and that decision should be visible to anyone reading the repository rather than living in one machine's settings. Co-Authored-By: Claude Opus 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.
Two small things.
tools/github.shrefused an empty path along with everything else that did notbegin with a slash, but an empty path is the useful way to ask about the
repository itself - its description, its topics, whether Discussions are on. It
now means exactly that and nothing looser.
.claude/settings.jsoncarries the one permission rule that makes the helperusable without a prompt. It is checked in rather than kept on one machine
because it is a decision about this project - which single command an assistant
may run unattended - and a decision like that should be readable by anyone
looking at the repository.
The helper is still fixed at everything except a method, a path under this one
repository, and a body: no other host, no other repository, no other credential.
🤖 Generated with Claude Code