Repository navigation
feat(agents): run agent git inside the sandbox with unsigned commits - #172
Merged
Merged
Conversation
Signing kept agent commits outside the sandbox, so repository hooks ran outside it too. Agent commits and tags are now unsigned; git, its hooks, and push all run sandboxed. Main stays signed because agent changes reach it through squash merges GitHub signs. Closes #171 Co-Authored-By: Claude Opus 5.5 <[email protected]>
furedea
added a commit
that referenced
this pull request
Oct 17, 2026
) Agent git now runs inside the Claude sandbox (#172). Verification showed that git push -u pushes the branch but then fails to record the upstream, because the sandbox protects .git/config, so the command exits with an error and an agent can read it as a failed push. - git-workflow delivery steps use git push origin <branch> and gh pr create --head <branch>, and explain why -u is avoided. - The command rules still allow -u, which stays valid outside the sandbox. - Separate commit: agent-harness flake input moves to 7d3ae3d (docs for unsigned agent commits), committed at the user request. ## Verification - tests/agents/test_workflow_skill_layout.py: 64 passed; autocorrect and lefthook passed. - This branch was pushed from inside the sandbox with git push origin <branch> and no upstream error. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
1 task done
furedea
added a commit
that referenced
this pull request
Nov 12, 2026
agent-config 0.1.2(`3b3d9c5`)を取り込みます.#74 のモデル判定まわりの残りがすべて入ります. | 取り込む変更(furedea/agent-config) | 中身 | | --- | --- | | #172 | 「ルールの見本のフォルダ」の判定を 1 か所にまとめる | | #173 | jev-lint の子プロセスに `GIT_LITERAL_PATHSPECS=1` を渡す(#159) | | #174 | 時間に頼らないタイムアウトのテスト(#171) | | #175,#178 | Go と Rust のルールの穴と,境目の見本(#164) | | #180 | 読み取り専用の GraphQL の問い合わせのあとに `jq` を付けてよくする | | #177 | Stop のテストの行を,ランナーごとに 1 つの件数にまとめる(Rust は `312 passed` のように合計する) | - [x] `darwin-rebuild switch` で反映済み ほかのセッションが main の古い `flake.lock` で反映すると,これらが取り消されます.早めにマージします. 🤖 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.
Agent commits ran outside the Claude sandbox only because commit signing needs the SSH agent. That also ran repository git hooks outside the sandbox, so editing lefthook.yml, a script a hook calls, or build settings a hook tool reads could run code outside it at the next commit.
Closes #171
Verification
🤖 Generated with Claude Code