fix(gitignore): 중첩 .suggested 가 git status 로 새던 것 — 리터럴 grep 검사의 사각지대 - #11
Merged
Merged
Conversation
`.ax/*.suggested` 는 한 단계만 잡는다. provision 은 세 곳 더 만든다 —
.ax/spirit/{values,tone,README}.md.suggested (§6.10),
.ax/mistakes/README.md.suggested (§6.5),
.ax/_templates/spec/<f>.suggested (§4-b).
전부 무시되지 않아 git status 에 ?? 로 뜨고, 실수로 커밋될 수 있었다.
실사용 리포에서 업데이트 한 번에 두 건이 실제로 샜다.
.ax/**/*.suggested 를 더한다.
smoke 의 기존 검사가 이걸 못 본 건 리터럴 grep 이라서다 — 다섯 엔트리가
파일에 다 있어도 중첩은 안 잡히는데, 있는지만 봤다. 그래서 임시 repo 에
템플릿을 깔고 git check-ignore 로 실제 판정을 보는 검사를 더한다.
버전은 올리지 않는다. 0.5.10 (#12) 위에 리베이스해서 그 릴리즈에 같이 실린다 —
templates/ 안의 수정이라 버전이 안 오르면 프로젝트에 안 닿는데, .gitignore 한 줄
때문에 릴리즈를 하나 더 파는 건 과하다. changelog/0.5.10.md 에 항목을 더했다.
검증: 패치 되돌리면 중첩 3건이 실패하고 기존 엔트리 검사는 그대로 통과한다
(눈이 먼 자리가 그대로 드러난다). 전체 smoke 557 통과 0 실패.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HMJX7Dvtu6KFKQH5sx9W5z
bluecheat
force-pushed
the
feature/gitignore-nested-suggested
branch
from
September 9, 2026 04:46
154d1ef to
211626e
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.
무엇이 문제였나
.ax/*.suggested는 한 단계만 잡아요.provision.sh는 세 곳 더 만들어요..ax/config.yml.suggested·.ax/AGENTS.md.suggested….ax/spirit/{values,tone,README}.md.suggested.ax/mistakes/README.md.suggested.ax/_templates/spec/<f>.suggested무시되지 않으니
git status에??로 뜨고,git add -A한 번이면 임시 머지본이 리포에 들어가요. 실사용 리포에서 업데이트 한 번에spirit/README.md.suggested·spirit/tone.md.suggested두 건이 실제로 샜어요.왜 smoke 가 못 잡았나
기존 검사가 리터럴 grep 이에요.
.ax/*.suggested라는 줄이 파일에 있는지만 봐요. 그 패턴이 무엇을 실제로 잡는지는 안 봐요. 그래서 다섯 엔트리가 다 있는 채로 중첩은 계속 새고 있었어요.무엇을 바꿨나
.ax/**/*.suggested한 줄.git check-ignore로 네 경로의 실제 판정을 봐요.릴리즈
버전은 올리지 않아요. 0.5.10 (#12) 위에 리베이스해서 그 릴리즈에 같이 실려요.
templates/안의 수정이라 버전이 안 오르면 프로젝트에 안 닿는데(#7 이 그렇게 멈춰 있었죠),.gitignore한 줄 때문에 릴리즈를 하나 더 파는 건 과해서요.changelog/0.5.10.md에 항목을 더했어요.검증
패치를 되돌려서 이 검사가 정말 회귀를 잡는지 확인했어요.
기존 검사가 되돌린 상태에서도 통과한다는 게 이 PR 이 필요한 이유예요.
🤖 Generated with Claude Code
https://claude.ai/code/session_01HMJX7Dvtu6KFKQH5sx9W5z