Skip to content

fix(hooks): 무관한 커밋엔 spec 경고가 한 줄만 · contract: 추적 · 레인 공용 자원 (v0.7.6) - #38

Merged
bluecheat merged 4 commits into
mainfrom
fix/hooks-0.7.6-followups
Oct 3, 2026
Merged

bluecheat merged 4 commits into
mainfrom
fix/hooks-0.7.6-followups

Conversation

@bluecheat

Copy link
Copy Markdown
Owner

릴리즈 노트: changelog/0.7.6.md — 이미 main 에 머지된 #29 · #30 · #37 · #33 과 이 PR 의 이슈 3건을 묶어요.

이 PR 의 변경

검증

  • smoke 전체 통과 (macOS bash 3.2)
  • 추가: spec 완료 게이트 3건(무관 커밋 1줄·통과 / files: 디렉토리 아래 차단 / spec 디렉토리 차단) · spirit-lint F6 3건 · rules-index contract 1건

#34 (current-task.json 다중 작업)는 스키마 변경이라 따로 다뤄요.

Closes #35
Closes #32
Closes #36

🤖 Generated with Claude Code

https://claude.ai/code/session_01MW9uw5kSzPQhuMePpnsJYt

bluecheat and others added 4 commits October 3, 2026 23:27
…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
@bluecheat
bluecheat merged commit cd2337f into main Oct 3, 2026
2 checks passed
@bluecheat
bluecheat deleted the fix/hooks-0.7.6-followups branch October 3, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment