Skip to content

feat(gate): objective-check default-on + no spec tags in shipped code (v0.1.13) - #31

Merged
HyeonsangKim merged 1 commit into
mainfrom
feat/objective-default-and-clean-comments
Jul 10, 2026
Merged

feat(gate): objective-check default-on + no spec tags in shipped code (v0.1.13)#31
HyeonsangKim merged 1 commit into
mainfrom
feat/objective-default-and-clean-comments

Conversation

@HyeonsangKim

Copy link
Copy Markdown
Contributor

Summary

도그푸딩 + 블라인드 A/B 심판이 짚은 품질 이슈 2개 수정. v0.1.13.

Changes

  1. 출하 코드에 내부 명세 태그 금지 — 빌드 에이전트가 프로덕션 코드 주석에 FR-###/§x.x/M-# 참조를 남기던 문제(A/B 블라인드 심판이 "PRD 없는 독자에겐 노이즈"로 지적). opus48-tuning.md에 공유 원칙 추가 → 13개 에이전트 전부 전파(모두 이 파일 참조). 추적성은 커밋/PR/PLAN, 가독성은 코드.
  2. 객관 체크 게이트 기본-on (이전 opt-in) — auto-commit Step 3.5가 빠른 검증 명령(package.json typecheck/lint, 또는 tsconfig tsc)을 감지하면 .wigtn/checks.sh자동 스캐폴딩. 별도 설정 없이 PASS 날조 방어가 켜진다. graceful(명령 없으면 무파일→false-block 없음), 커스텀 파일 미덮어씀, 느린 전체 테스트 대신 빠른 체크 우선(동기 hook 지연 방지).

Verification

스캐폴드 로직 격리 테스트 10/10(생성·실행권한·문법·graceful·tsc 폴백·미덮어씀). hooks.json 유효.

정직한 한계

  • 기본 스캐폴드는 typecheck/lint만(빠름) → 전체 테스트 날조는 팀이 npm test 추가해야 막힘.
  • checks.sh는 .wigtn/(gitignore)라 로컬 per-clone — 팀 공유하려면 별도 커밋 위치로 이동 필요.

🤖 Generated with Claude Code

… (v0.1.13)

Two quality fixes surfaced by dogfooding + the blind A/B judge:

- No internal spec tags in production code: build agents were leaving
  FR-###/§x.x/M-# reference tags in shipped source comments (flagged by the
  blind A/B judge as noise for readers without the PRD). Add a shared
  opus48-tuning principle — traceability lives in commits/PR/PLAN, code comments
  explain the code. Propagates to all 13 agents (they all reference the tuning file).

- Objective-check gate default-on (was opt-in): auto-commit Step 3.5 now
  auto-scaffolds .wigtn/checks.sh from detected fast verify commands
  (package.json typecheck/lint, or tsconfig tsc) when absent, so anti-fabrication
  is on by default. Graceful (no command -> no file -> no false block); never
  overwrites a custom checks.sh; prefers fast checks over the full test suite to
  avoid slow synchronous hooks.

Verified: scaffold logic 10/10 (create, executable, valid syntax, graceful,
tsc fallback, no-overwrite). Bump 0.1.12 -> 0.1.13.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@HyeonsangKim
HyeonsangKim merged commit fea026b into main Jul 10, 2026
1 check passed
@HyeonsangKim
HyeonsangKim deleted the feat/objective-default-and-clean-comments branch July 10, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant