Commit 4e95417
feat(harness): VD1 (void) — Terminal.app 단일 참조 강제 (#31)
* feat(harness): bitter-gate not_implemented 상태 추가 — 오판 dormant 보정
기존 문제:
- common.json 에 33 규칙 등록 but lint.hexa 는 ~14건만 구현
- bitter-gate 가 모두 dormant(폐기 후보) 로 판정 → false positive 29건
수정:
- is_implemented(rule) 추가 — lint.hexa 에서 "<RULE>|" 또는 "<RULE>-L" grep
- status 분기: total=0 & !implemented → "not_implemented"
- 카운터 not_implemented 별도 집계 + 출력
검증 (--audit):
- audited: 33, active: 3, dormant: 1 (실제 폐기 후보)
- not_impl: 29 (lint 미구현 — 수동 오버헤드 또는 신규 구현 대상)
- insufficient: 0
rules_usage.jsonl 에 "implemented":true/false 필드 추가.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* feat(harness): VD1 (void) — Terminal.app 단일 참조 강제
- check_vd1() 신설: void 프로젝트 .hexa/.c/.m 소스에서 외부 터미널 에뮬레이터 (iTerm2/kitty/Warp/Ghostty/Alacritty) 언급 grep → error
- _vd1_is_exempt(): archive/, docs/, _archive/, rules.json, CLAUDE.md, shared/harness/ 예외
- 인라인 예외: // @allow-terminal-mention
Smoke:
- nexus 자체: exit 0 (비활성)
- void 가짜 violation (src/fake.hexa with "iTerm2" + "Alacritty"): VD1 error 2건 감지
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a714413 commit 4e95417
10 files changed
Lines changed: 49 additions & 4980 deletions
File tree
This file was deleted.
0 commit comments