You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(lint+scripts): code-reviewer 7개 이슈 일괄 fix + .gitignore
검증 에이전트 보고 7건 모두 재검증 후 CONFIRMED → 적용.
scripts/_doc_lint.py:
- Major: validate_broken_link / validate_cross_link 의 code-fence false
positive — _strip_code() helper 추가 (```...``` + 인라인 백틱 제거).
본 fix 없이는 향후 spec 의 예시 link 가 violation 으로 오인식
- Minor: parse_frontmatter 가 trailing inline comment ('foo: bar # x')
를 value 로 흡수 → quote 시작 아닌 경우 ' #' 로 split
- Minor: _validate_supersede_chain 의 path depth 가정 (vX.Y.Z 2-level
하드코딩) → _supersede_base() 도입, meta-level 1-level 평면도 지원
scripts/generate_spec_trace.py:
- Minor: ast.walk 가 class 컨텍스트 평탄화 → class TestFoo: def test_bar
의 nodeid 가 ::test_bar 만 출력. _SpecMarkerVisitor (NodeVisitor +
class_stack) 로 정확히 ::TestFoo::test_bar 출력
scripts/update_upstream_pin.py:
- Minor: _previous_pin 의 SemVer 매치 실패 시 (0,0,0) silent fallback
(전역 fail-fast 정책 위반) → ValueError raise
.github/workflows/docs.yml:
- Minor: paths 의 '**.md' 가 lint 무관 .md (README/CHANGELOG/PR template
등) 변경에도 fire — 'docs/**' 가 이미 docs 하위 .md 포괄하므로 제거
.gitignore:
- .claude/scheduled_tasks.lock 추가 — ScheduleWakeup hook 의 PID/세션ID
lock 파일 (런타임 머신-로컬, repo 추적 무의미)
검증: 합성 케이스 4종 (fence false positive / class method / 잘못된
pin key / meta-level supersede) 모두 expected behavior. 기존 lint 0
violation 유지.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
0 commit comments