Repository navigation
Conversation
Sessions on macos-claude could call /opt/homebrew/bin/gh, logged in as rfay with full scopes, and act as rfay. Document the replacement: the gh-read wrapper with a public-read-only fine-grained token on ddltest, kept in the login Keychain; why storing it over SSH failed with "Write permissions error"; replacing the token; installing gh-read and the deny-token hook; the managed CLAUDE.md and managed-settings.json; and how to check it all. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UrTUMwsmfRHgdVc15RPZ2Y Co-authored-by: randy.fay <randy.fay@ddev.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.
Sessions on
macos-claudecould call/opt/homebrew/bin/gh, which was logged in as rfay withrepo,read:organdgistscopes, so every session acted as rfay with write access. That login is now gone, and sessions read public GitHub throughgh-readwith a public-read-only token instead.New page
macos-runner-gh-read.mdcovers:gh-readis (from feat: gh-read, read-only gh with the owner's Coder GitHub login for runner sessions ddev/coder-ddev#267) and why it replaces the fullghloginddltestfine-grained token (public repositories read-only, no expiry), when to rotate it, and its rate limitsgh-read-token), the file alternative, and how to replace itWrite permissions errorfromsecurity add-generic-password: it was run over SSH, where the login keychain isn't unlocked; running it on the Mac's own screen fixed itgh-readand the deny-token hook (fix: refuse Bash commands that print a credential in runner sessions ddev/coder-ddev#266) in/usr/local/binCLAUDE.mdandmanaged-settings.jsonin/Library/Application Support/ClaudeCode/ghOAuth token)Also adds the page to the README index and a security note in
claude-self-hosted-environment.md.Generated by Claude Code