Skip to content
This repository was archived by the owner on Jul 31, 2026. It is now read-only.
This repository was archived by the owner on Jul 31, 2026. It is now read-only.

[architecture] verify-pr 파서 슬림↔헤비 중복·드리프트 + detectRust/Go hasTests 오탐 #177

Description

@Ps-Neko

출처: 다중 에이전트 5축 코드리뷰 + 적대 검증. 2026-06-15.

1) verify-pr 파서/요약/증거기록 슬림↔헤비 중복·드리프트 (high)

슬림(packages/nekowork)의 parseVerifyPrArgs 와 헤비(packages/nekowork-cli/scripts/orchestrators/verify-pr.js:218)의 복제본이 평행 존재(writeEvidence 160-209·printVerifyPrSummary 239-284 도 복제). PR #151 수정이 헤비에 미반영. 보안/동작 수정을 두 곳에 따로 해야 하는 위험(이 리뷰의 range 가드·AST mode 수정도 양쪽 필요).

  • 권고: 파서/요약/증거기록을 verify-helpers 로 끌어올려 두 패키지가 단일 출처 공유.

2) detectRust/detectGo hasTests 오탐 (medium·정확성)

packages/nekowork/scripts/lib/project-detector.js:247-258, 277-287 가 마커 파일(Cargo.toml/go.mod) 존재만으로 무조건 hasTests=true → 실제 테스트 부재 시 헤비 게이트가 미검증 변경을 ALLOW 가능('검증' 약속 약화).

  • 권고: 실제 테스트 대상(#[test]/_test.go/test 디렉터리) 확인으로 강화하거나, 불확실 시 ALLOW 대신 INSUFFICIENT_EVIDENCE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions