Repository navigation
AGENTS.mdへAI間の連携・追加承認不要の作業を追加し、.claude/settings.jsonでコマンドを許可する - #64
Merged
Merged
Conversation
Refs lisbun/lisjong-project#118 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01L9AMGjgj5ECwK8rn9tkbmf
Refs lisbun/lisjong-project#118 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01L9AMGjgj5ECwK8rn9tkbmf
許可規則は前方一致のため、git branch / switch / push の許可が削除・ 変更破棄・強制pushの形にも一致する。ask規則(deny→ask→allowの順で 評価、Autoモードでも確認)で、これらの形を常に確認させる。 引数なしの重複規則(git status)を除く。 Refs lisbun/lisjong-project#118 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01L9AMGjgj5ECwK8rn9tkbmf
3 tasks done
Owner
Author
レビュー記録(lisbun/lisjong-project#106の継続承認の条件)対象head:
結論: merge可。squash mergeする。 Generated by Claude Code |
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.
Refs lisbun/lisjong-project#118
目的
lisbun/lisjong-project#118(2026-10-25のユーザー決定)を反映し、AI間の中継・段階ごとの承認待ち・ツール実行の確認を減らす。作業branchの指定により、同じrepositoryで2本のPRに分けず、目的ごとにcommitを分けた。
変更
commit 1: AGENTS.md(共通core)
#### AI間の連携を### デフォルトの作業分担の末尾に追加#### 追加承認なしで進めてよい作業(継続承認)を#### repository settingsとその他の承認境界の前に追加commit 2〜3:
.claude/settings.jsonpermissions.allow(35件): 読み取り系git、python -m ruffの検査、python -m unittest、読み取り系gh、Git書き込み(git add/commit/push -u origin/switch/checkout -b)permissions.ask(38件、Bash / PowerShell): 許可規則が前方一致で一致してしまう危険な形(git branch -D、git switch --discard-changes、+付きrefspec等)と、強制push、reset --hard、clean、gh workflow run、gh pr merge、gh issue close、awsを常に確認させる。評価順はdeny → ask → allowで、ask規則はAutoモードでも確認を出すhooks(12件)は変更しない。hookがblockした呼び出しは許可規則があってもblockのまま確認
git diff --check: OK.claude/settings.json: JSONとして読めること、hooksが12件のまま残ることを確認python -m unittest tests.test_claude_workflow_guard tests.test_claude_git_global_option_guard: 18 tests OK(ローカルはCPython 3.13。full suiteはCIで確認)🤖 Generated with Claude Code
https://claude.ai/code/session_01L9AMGjgj5ECwK8rn9tkbmf