Repository navigation
fix(hooks): Stop 게이트가 인계 노트의 spec ID 를 알아봐요 (v0.7.5) - #28
Merged
Merged
Conversation
spec-gate.sh 가 handoff.now 에서 spec 디렉터리 전체 이름만 grep 해서, 다른 스크립트의 --spec 처럼 "spec 2026-10-03-1b92 implementing" 으로 적은 노트를 불인정하고 한 번 더 막았어요 (실측). - goax_doc_key 로 ID(YYYY-MM-DD-<4hex> · 옛 순번 NNN)를 뽑아 경계 있는 매칭 (T0140·2014 는 014 아님, 1b92에서 는 인정). 전체 이름 부분 일치 · 24시간 조건은 그대로 - 안내 문구의 status-note 예시를 ID 로, ID 로도 통과한다고 알림 - hooks/README Stop 게이트 절, smoke 5건, changelog 0.7.5 Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015TshVdvCw3iHGj81WMDoMG
bluecheat
force-pushed
the
fix/spec-gate-match-spec-id
branch
from
October 3, 2026 14:14
0887ca9 to
d27dc40
Compare
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.
문제
stop/spec-gate.sh는 인계 노트(handoff.now)를grep -qF "$SPEC"로 봐요. 그래서 디렉터리 전체 이름(2026-10-03-1b92-sharing-movement-web-mvp)만 찾았어요. 다른 스크립트의--spec은2026-10-03-1b92같은 ID 접두로 spec 을 찾아요.실측
status-note.sh --set now "spec 2026-10-03-1b92 implementing — …"로 적었는데, 게이트가 "인계 노트에 적혀 있지 않다" 며 한 번 더 막았어요. 전체 이름으로 다시 적어야 통과했어요.변경
common.sh의goax_doc_key로 뽑아요. 이 함수가 형식 판별 SSOT 이고, 옛 순번NNN도 다뤄요. 노트에 ID 가 있고 그 앞뒤가 ASCII 영숫자가 아니면 인정해요.014가T0140·2014에 걸리지 않아요.1b92에서처럼 한글이 바로 붙어도 알아봐요. UTF-8 로케일의 awk 는 한글도[[:alnum:]]으로 봐서 그 클래스를 쓰지 않았어요.now_at) 조건은 그대로예요.status-note.sh --set now예시가 spec ID 를 써요. 끝 문장도 "spec ID(…) 나 전체 이름이 24시간 안에 적혀 있으면 다시 잡지 않아요" 로 바꿨어요.hooks/README.md의 Stop 게이트 절을 고쳤어요.검증
Stop 게이트 smoke 를 5건 더했어요.
T0140·2014는014로 보지 않아요.…-1b93)는 인정하지 않아요.🤖 Generated with Claude Code
https://claude.ai/code/session_015TshVdvCw3iHGj81WMDoMG