Repository navigation
feat(agents): mint the agent GitHub token from a GitHub App - #170
Merged
Merged
Conversation
This reverts commit fe13ca5. Co-Authored-By: Claude Opus 5.5 <[email protected]>
agent-harness moves to 79fd03c, which adds the agent GitHub token option and its App source. Co-Authored-By: Claude Opus 5.5 <[email protected]>
gh now runs inside the sandbox with a one-hour installation token refreshed every 50 minutes. The App private key stays in ~/.ssh and is denied to Claude tools and the sandbox. Co-Authored-By: Claude Opus 5.5 <[email protected]>
4 tasks
This was referenced Nov 11, 2026
furedea
added a commit
that referenced
this pull request
Nov 12, 2026
agent-config の最新を取り込みます.#74 のモデル判定の改善がまとめて入ります.#452 の置き換えです(#452 はこの PR の前の版の `flake.lock` でした). | 取り込む変更(furedea/agent-config) | 中身 | | --- | --- | | #157 | Stop に判定の秒数を出す.`model-rules/**/fixtures/**` をモデル判定に送らない | | #160 | `model-rules/*/fixtures/*` をテストの検証で数えない | | #163 | Python と TypeScript の誤検知を直す(M-05 は原則の書き直しと基準値,M-21 は送る範囲を `located` に) | | #167 | 保存結果の数を下見から取る | | #158 | Go と Rust の M-05,M-21,M-60 を追加.保存した基準を相対パスで取り直した | | #170 | Stop の表示を `jev-lint: 0 findings · 74 subjects · passed · $0.0004 · 4.3s` の 1 行にする | - [x] `darwin-rebuild switch` で反映済み 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
Enables the agent-harness agent token with the GitHub App source, so gh runs inside the Claude sandbox and git push authenticates without the user token.
Evaluated settings (nix eval of the composed Claude settings): GH_CONFIG_DIR is ~/.config/agent-harness/gh; excludedCommands drops gh and keeps git add, commit, push, and status; github.com and api.github.com are allowed; the key path is in sandbox denyRead and Read(//…/github_app.pem) is in permissions.deny. The launchd job agent-harness-github-app-token runs agent-harness github-app-token refresh at load and every 3000 seconds.
Verification after merge and switch
🤖 Generated with Claude Code