Skip to content

docs: read-only GitHub for macOS runner sessions with gh-read - #1

Open
rfay wants to merge 1 commit into
mainfrom
20261124_rfay_macos_gh_read
Open

rfay wants to merge 1 commit into
mainfrom
20261124_rfay_macos_gh_read

Conversation

@rfay

@rfay rfay commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Sessions on macos-claude could call /opt/homebrew/bin/gh, which was logged in as rfay with repo, read:org and gist scopes, so every session acted as rfay with write access. That login is now gone, and sessions read public GitHub through gh-read with a public-read-only token instead.

New page macos-runner-gh-read.md covers:

Also adds the page to the README index and a security note in claude-self-hosted-environment.md.


Generated by Claude Code

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants