Repository navigation
fix(hooks): 무관한 커밋엔 spec 경고가 한 줄만 · contract: 추적 · 레인 공용 자원 (v0.7.6) - #38
Merged
Merged
Conversation
…c 에 걸릴 때만 자세히 봐요 문서 한 줄만 커밋해도 활성 spec 의 미완료 task·AC 경고가 매번 나와서, 에이전트가 읽지 않게 되고 그 spec 을 커밋할 때의 경고도 묻혔어요 (#35). - 걸린다 = 스테이지 파일이 `.ax/docs/spec/<spec>/` 안이거나 tasks.md `files:` 경로(파일·디렉토리)와 겹쳐요 (펜스 안 예시는 건너뛰고 `./`·끝 `/` 는 정규화) - 안 걸리면 `[goax gate] spec X 미완료 N — 이번 커밋과 무관해 건너뛰어요` 한 줄 + 통과, mode=fail 에서도 - smoke §26: 무관 커밋 1줄·통과 / files: 디렉토리 아래 차단 / spec 디렉토리 차단 Closes #35 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MW9uw5kSzPQhuMePpnsJYt
lane-worker 의 금지 규칙이 파일 소유권만 다뤄서, 명령 하나로 소유 목록 밖을 고치는 일 (`biome check --write src/shared`), 다른 레인의 브라우저 세션을 닫는 일(`close --all`), 레인마다 빌드 캐시를 따로 쌓아 디스크를 채우는 일을 막지 못했어요 (#32). - agents/lane-worker.md 절대 금지: 공용 자원을 통째로 쓰기 (포매터는 소유 파일만 · 세션 이름 · 공유 빌드 경로 · df -h) - skills/lane §10 브리프: `## 공용 자원` 칸 (비우지 말고 해당 없음이면 "없음") - lane-mode §2: 브리프 필수 항목에 공용 자원 — 비어 있으면 띄우기 전에 채워요 Closes #32 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MW9uw5kSzPQhuMePpnsJYt
…에 안 나오는 SP-ID
SP-CTR-001("약속은 계약으로")이 말뿐이었어요. 실사용 프로젝트는 룰 frontmatter 에 손으로 `contract:` 를
적고 테스트 이름에 SP-ID 를 넣고 있었는데, doctor·spirit-lint 는 그 키를 몰랐어요 (#36).
- common.sh goax_rule_contracts: frontmatter 의 contract:(스칼라·주석·인라인/블록 목록)와 contract_ids: 를 읽어요
- spirit-lint F6: 테스트 파일이 없으면 finding, contract_ids 로 적은 ID 가 테스트 본문에 없으면 finding.
contract_ids 가 없으면 파일의 모든 SP-ID 를 대상으로 보고 빠진 건 알림(uncovered)만
- rules-index: 계약이 막는 룰에 contract:true · 텍스트 🧪
- doctor §3.7 출력 줄 · 룰 템플릿 frontmatter 안내 · smoke §34 4건
Closes #36
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MW9uw5kSzPQhuMePpnsJYt
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MW9uw5kSzPQhuMePpnsJYt
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.
릴리즈 노트:
changelog/0.7.6.md— 이미 main 에 머지된 #29 · #30 · #37 · #33 과 이 PR 의 이슈 3건을 묶어요.이 PR 의 변경
pre-commit/spec-completion-gate.sh— 스테이지 파일이 활성 spec 디렉토리나 tasks.mdfiles:경로와 겹칠 때만 자세히 · 차단. 아니면 한 줄만 내고 통과 (mode=fail 에서도)agents/lane-worker.md절대 금지,lane§10 브리프## 공용 자원칸,lane-mode.md§2contract:짝 테스트 —goax_rule_contracts(common.sh),spirit-lint.shF6,rules-index.shcontract 열·🧪, doctor §3.7, 룰 템플릿 안내검증
#34 (current-task.json 다중 작업)는 스키마 변경이라 따로 다뤄요.
Closes #35
Closes #32
Closes #36
🤖 Generated with Claude Code
https://claude.ai/code/session_01MW9uw5kSzPQhuMePpnsJYt