feat: Git 操作を grape に移行 - #114
Merged
Merged
Conversation
safe-git-push を廃止し、push と rebase の手順・権限設定を grape に統一する。grape-usage external skill を Codex と Claude の配布対象へ追加した。\n\n検証: make deploy-dry-run\n検証: GOMODCACHE=/tmp/gomodcache GOCACHE=/tmp/gocache GOTOOLCHAIN=local go test ./...
Claude の競合処理許可を打ち消す ask ルールを除去し、履歴整理後の push も grape push --force-with-lease に統一する。\n\n検証: jq empty claude/settings.json\n検証: git diff --check
包括的な Bash(git *) 許可を安全なサブコマンド列挙へ置き換え、直接 rebase は競合処理の3操作だけを許可する。\n\n検証: jq empty claude/settings.json\n検証: git diff --check
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.
Git 操作を grape に移行
Summary
エージェントが行う push と rebase を grape のポリシー管理下へ移行し、Codex / Claude の手順と権限設定を統一します。
主な変更点:
safe-git-pushを廃止し、push をgrape pushへ統一grape rebaseへ統一し、Git 直接操作を競合処理に限定grape-usageexternal skill を Codex / Claude の配布対象へ追加やったこと
grape *を許可し、Claude の包括的な Git 許可を安全なサブコマンド列挙へ変更safe-git-pushの実装、許可設定、文書、eval の参照を削除grape-usageの Git tree hash を固定して両環境への配布を設定動作確認
make deploy-dry-runGOMODCACHE=/tmp/gomodcache GOCACHE=/tmp/gocache GOTOOLCHAIN=local go test ./...git diff --checkレビュー & 動作確認 チェックリスト
grape *が許可されていることgrape-usageが Codex / Claude の両方へ配布されること推奨テスト計画:
make deploy-dry-runでgrape-usageの hash 検証と配布先を確認するsafe-git-pushの参照が残っていないことを確認するその他気になることや相談ごと
git rebase -iは grape が対応するまで利用しません。実環境へのmake deployはこの PR では実行していません。