Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Task-Id: GF-127 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: in=146189 out=507 Tool-Calls: 2 Hooks-Commit: c44d145 Signed-off-by: coralstay <231006716+coralstay@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Task-Id: GF-127 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: in=331273 out=1399 Tool-Calls: 3 Hooks-Commit: a6e7568 Signed-off-by: coralstay <231006716+coralstay@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Task-Id: GF-127 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: in=0 out=0 (no-attributed-turn) Tool-Calls: 0 (no-attributed-turn) Hooks-Commit: 6e017c6 Signed-off-by: coralstay <231006716+coralstay@users.noreply.github.com>
commit-msg의 검증을 동작 그대로 옮기고 commit-msg를 삭제한다. --no-verify로 검증을 건너뛸 수 없게 된다. git revert가 만드는 Revert/Reapply "..." 제목은 형식·50자 규칙의 예외로 둔다. 스테일 마커는 거부 경로보다 먼저 지워 거부 시 마커가 남지 않는다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Task-Id: GF-127 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: in=1694468 out=722 Tool-Calls: 18 Hooks-Commit: 100d70e Signed-off-by: coralstay <231006716+coralstay@users.noreply.github.com>
gitformat.conf, post-commit, CI 워크플로 주석이 commit-msg를 검증 주체로 적고 있어 prepare-commit-msg로 바로잡는다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Task-Id: GF-127 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: in=398817 out=59 Tool-Calls: 3 Hooks-Commit: a55bda8 Signed-off-by: coralstay <231006716+coralstay@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Task-Id: GF-127 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: in=0 out=0 (no-attributed-turn) Tool-Calls: 0 (no-attributed-turn) Hooks-Commit: e70c3aa Signed-off-by: coralstay <231006716+coralstay@users.noreply.github.com>
AC #7의 증거가 될 테스트가 없었다. revert 제목 예외가 깨진 설정을 가리지 않는지도 함께 본다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Task-Id: GF-127 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: in=668636 out=1978 Tool-Calls: 5 Hooks-Commit: 149cc6b Signed-off-by: coralstay <231006716+coralstay@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Task-Id: GF-127 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: in=0 out=0 (no-attributed-turn) Tool-Calls: 0 (no-attributed-turn) Hooks-Commit: c74ba4e Signed-off-by: coralstay <231006716+coralstay@users.noreply.github.com>
DRAFT-22를 이 decision과 GF-128 AC #10 갱신으로 처리하고 보관한다. GF-128 착수. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Task-Id: GF-128 AI-Tool: claude-code AI-Tool-Version: 2.1.285 Co-Authored-By: Claude <noreply@anthropic.com> AI-Model: claude-opus-5-5 Tokens-Used: in=0 out=0 (no-attributed-turn) Tool-Calls: 0 (no-attributed-turn) Hooks-Commit: db96b3a Signed-off-by: coralstay <231006716+coralstay@users.noreply.github.com>
post-commit의 --amend 대신 메시지 파일에 interpret-trailers --in-place로 쓴다. 중복은 메시지 원문의 키(대소문자 무시)로 판정한다. AI-Tool/AI-Tool-Version/AI-Model을 AI-Agent 한 줄로 합치고 Verify-Bypassed를 없앴다. Signed-off-by는 AI 도구가 감지되지 않은 커밋에만 붙인다(decision-30). 토큰 측정 대상은 GIT_INDEX_FILE이 가리키는 커밋될 인덱스와 HEAD의 차이다. 귀속 기록은 트레일러를 쓴 뒤에 저장한다. hooks/post-commit은 같은 커밋에서 삭제한다(AC #9). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Task-Id: GF-128 AI-Agent: claude-code/2.1.285 (claude-opus-5-5) Tokens-Used: in=6721960 out=1760 Tool-Calls: 45 Hooks-Commit: 8c15c7a
검증마커의 유일한 소비자는 post-commit의 Verify-Bypassed 판정이었고, _GITFORMAT_AMEND_GUARD는 post-commit의 --amend 재귀를 끊는 장치였다. 둘 다 post-commit과 함께 쓸모를 잃어 마커 기록·무효화, gitformat.markerFile 키, 가드와 그 테스트를 지운다(AC #7). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Task-Id: GF-128 AI-Agent: claude-code/2.1.285 (claude-opus-5-5) Tokens-Used: in=1343974 out=377 Tool-Calls: 7 Hooks-Commit: 937573d
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Task-Id: GF-128 AI-Agent: claude-code/2.1.285 (claude-opus-5-5) Tokens-Used: in=0 out=0 (no-attributed-turn) Tool-Calls: 0 (no-attributed-turn) Hooks-Commit: ff6d252
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Task-Id: GF-128 AI-Agent: claude-code/2.1.285 (claude-opus-5-5) Tokens-Used: in=0 out=0 (no-attributed-turn) Tool-Calls: 0 (no-attributed-turn) Hooks-Commit: 08e26e9
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.
요약
post-commit의git commit --amend대신prepare-commit-msg에서git interpret-trailers --in-place로 메시지 파일에 직접 쓴다.hooks/post-commit삭제.Task-Id/Co-Authored-By중복을 없앴다.AI-Tool/AI-Tool-Version/AI-Model→AI-Agent: <도구>/<버전> (<모델>)한 줄.Verify-Bypassed제거.Signed-off-by는 AI 도구가 감지되지 않은 커밋에만 붙인다 (decision-30, DRAFT-22 보관).commit -a/commit <path>의 임시 인덱스 포함).검증
python3 -m unittest discover -s tests→ 129 tests OK,ruff check통과Signed-off-by있음 / 에이전트 커밋 → 없음, 앞 문단Task-Id중복 없음,git rebase재생 exit 0·트레일러 추가 없음알려진 한계
hooks/readme.md·.gitmessage·일부 backlog 문서의 post-commit 설명은 GF-132/GF-134에서 정리🤖 Generated with Claude Code