Skip to content
Back to skills

Dcness Impl Validator

ASecurity

Use when dcNess routes impl-validator merge-review or internal CODEBASE_SANITY work to Codex after implementation to review the requested diff or semantic scope, verify evidence read-only, classify findings as spec-gap or quality-gap, and report PASS/FAIL/ESCALATE.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 15, 2026
developmentgoshellbashnodegitapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add Daeguk-Sun/dcNess --skill dcness-impl-validator --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dcness Impl Validator?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dcness Impl Validator
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/daeguk-sun-dcness-impl-validator/badge)](https://www.skillsdirectory.com/skills/daeguk-sun-dcness-impl-validator)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dcness-impl-validator
description: Use when dcNess routes impl-validator merge-review or internal CODEBASE_SANITY work to Codex after implementation to review the requested diff or semantic scope, verify evidence read-only, classify findings as spec-gap or quality-gap, and report PASS/FAIL/ESCALATE.
---

# dcness-impl-validator

## 언제 쓰나

dcNess가 `impl-validator`를 Codex 교차 검토로 보낼 때 사용한다. 구현 뒤 story PR, `/impl` local diff, 또는 다중 story의 최종 stack tip vs main diff가 merge 가능한지 읽기 전용으로 검증한다.

## 목적

Claude-side `impl-validator` prompt의 clone이 아니다. merge candidate diff 가 제공된 plan과 현재 repository state를 만족하는지 보고, 동시에 merge risk와 유지보수성을 본다. 병합의 핵심은 분리돼 있던 구현 검증과 머지 리뷰 호출을 하나로 줄이되 `impl-validator`를 머지 리뷰어로 세우는 것이다. 재진입 라우팅은 finding-class로 보존한다. 용어·공개 진입점·분기 표현을 수정하거나 리뷰할 때만 [`terms.md`](../../../docs/plugin/terms.md)를 확인한다.

검토 단위는 "지금 merge 하려는 diff" 이다. 단일 story 또는 `/impl` PR이면 그 PR diff를 보고, 다중 story/epic invocation이면 개별 PR을 순차 리뷰하지 않고 호출자가 제공한 stack tip vs main diff를 1회 holistic 통합 리뷰한다. fixed task/commit fan-out은 금지한다. 실제 unresolved high-risk 또는 넓은 context가 발견된 경우에만 같은 reviewer가 selective extra investigation을 하고 child reviewer를 기본 생성하지 않는다. 제품 AC 검수는 `product-acceptance` 책임이다.

Epic close에서는 같은 holistic merge-review invocation에 `CODEBASE_SANITY` semantic 렌즈를 포함한다. 다음 `/design`의 직전 receipt가 stale일 때 affected scope 재감사에는 기존 내부 mode를 재사용할 수 있다. 전체 repo 또는 affected dependency cone을 semantic scope로 받아 dead code·warning·scaffold·replacement/refactor 잔존을 감사한다. 별도 public command나 agent가 아니다.

## 입력

- 검토 대상이 커밋으로 존재하면 커밋 id와 변경 파일 목록. 다중 story/epic이면 최종 stack tip 커밋 id와 비교할 base를 함께 받는다.
- 커밋이 아직 없는 uncommitted local diff이면 로컬 diff 맥락 또는 호출자가 제공한 diff 파일. PR 번호나 URL은 검토 범위를 보조하는 맥락으로 받을 수 있다.
- implementation plan 경로. Lite 경로처럼 없으면 그 사유
- 대상 GitHub issue 와 진입 시 확보한 target GitHub issue AC snapshot. issue 없는 작업이면 그 사유
- 호출자가 제공한 테스트 실행 결과
- `CODEBASE_SANITY`이면 code revision/tree identity, 적용 scope, 메인이 발견·실행한 test/lint/build/typecheck/coverage 명령별 exit code와 warning
- 구현자가 자유 prose로 남긴 build-worker impact 보고. direct 구현이면 같은 의미 축의 Cartography impact 보고
- impact가 가리키는 affected Root Cartography 좌표와 tracked/local-only 문서 정책
- 재리뷰이면 retry round, 직전 `step_completed` receipt 식별자인 `prose_file` + `sha256`, receipt 전문, 직전 candidate HEAD/tree/workspace root, 현재 candidate HEAD/tree/workspace root, 직전 candidate HEAD..현재 candidate HEAD의 commit·변경 파일 목록
- 다중 story/epic invocation이면 포함된 story PR/조건부 QA PR 목록과 최종 stack tip

## 먼저 볼 기준

- merge candidate 의 changed code와 diff. 커밋 id가 있으면 `git show`, `git diff`, `git log` 같은 read-only 조회로 커밋 진본을 직접 펼치고, 호출자가 만든 diff 사본을 요구하지 않는다.
- 계획 문서가 있으면 Must contract, public interface, scope boundary
- 대상 issue 가 있으면 target GitHub issue AC 와 호출자가 제시한 항목별 실행·관찰 증거
- 관련 local convention, architecture, domain-model, design token, DB schema
- 화면을 새로 만들거나 바꾸는 diff 이면 impl 계획의 `## 디자인 참조` 가 가리키는 확정 목업 HTML 과 `의도적 차이`. design 라벨과 상관없이 확정 목업이 있으면 읽는다.
- design:required UI 작업이면 impl 계획의 `## 디자인 참조`, `docs/design.md`, 확정 목업 경로, 구현 diff 의 theme/component/style 상수
- 호출자가 제공한 test evidence
- implementation Cartography impact가 있으면 구현 diff, build-worker impact 보고, affected Root Cartography 좌표, 상태 증거, 관련 epic/decision
- 이전 impl-validator 결과가 있으면 재검증 delta

## 재리뷰 delta mode

첫 라운드는 base..candidate 전체 holistic 리뷰다. 첫 라운드 `FAIL` 뒤 root-cause 수정으로 새 candidate가 생긴 같은 close 재리뷰만 delta mode 후보다. 직전 receipt는 최종 판정 재사용이 아니라 직전 라운드의 검토 범위와 finding을 보존한 이력이다.

delta mode에서는 직전 receipt의 모든 `MUST FIX` finding이 현재 tip에서 근본 원인으로 해소됐는지 다시 추적하고, 직전 candidate HEAD..현재 candidate HEAD의 commit·변경 파일과 직접 영향 표면에서 신규 spec/quality/Cartography 위험을 찾는다. Epic close면 활성 `CODEBASE_SANITY` 렌즈의 신규 위험도 같은 delta에서 판정한다. 직전 holistic 리뷰가 확인했고 candidate delta가 건드리지 않은 영역은 검토 이력으로 재사용할 수 있지만, 이는 안 본 영역을 새로 통과 처리하는 것이 아니다. 이전에 읽지 않은 영역, transitive 영향, finding 판정에 필요한 owner·registration·test·contract는 선택적으로 더 읽는다.

다음 신호가 있으면 좁힌 범위를 고집하지 않고 전체 재독으로 승격한다. 이는 자동 threshold가 아니라 reviewer 판단 기준이다.

- `prose_file`/`sha256` 부재 또는 digest 불일치
- 직전 candidate HEAD/tree/workspace root나 현재 candidate HEAD/tree/workspace root 부재, history rewrite·base/workspace 변경으로 계보와 delta 증명 불가
- public contract, module owner, dependency/registration, schema, security boundary, Cartography system boundary의 넓은 변경 또는 Epic close `CODEBASE_SANITY` cheap global signal이 가리키는 delta 밖 신규 위험
- 직전 finding의 근본 원인 해소를 delta와 직접 영향만으로 판정할 수 없거나 반복 finding이 구조 결함을 시사함
- changed files/영향 범위가 merge candidate 대부분과 겹쳐 delta mode 이점이 없음

결과 prose에는 delta인지 전체 재독인지, 직전 receipt 식별자와 직전/현재 candidate identity, 실제로 읽은 finding·delta·추가 영향 표면, 판정 범위와 그 근거를 남긴다. delta mode에서도 전체 재독으로 승격할 조건을 어떤 근거로 검토했고 이번에는 왜 해당하지 않았는지 밝히며, 승격했다면 그 이유를 남긴다. 이전 holistic 검토 이력 중 재사용한 범위와 새로 읽은 범위를 밝혀 좁힘이 안 본 영역을 새로 통과 처리한 것으로 읽히지 않게 한다. 고정 heading이나 schema가 아닌 자유 prose 의미 요구다.

## 판단 축

### `CODEBASE_SANITY` semantic 렌즈

Epic close holistic invocation 또는 mode가 명시됐을 때 적용한다. 작은 repo는 전체 repo, 큰 repo는 affected module과 dependency cone을 기본 scope로 하며 cheap global signals를 함께 본다. Release 경계에서는 호출자가 명시한 full-repo scope로 확장할 수 있다.

- lint exit 0을 warning-free로 보지 않는다. warning 원문과 affected surface를 읽는다.
- coverage 도구·리포트가 없으면 coverage는 `UNKNOWN`이다. test count나 green 결과로 추정하지 않는다.
- 제품 계약을 검증하지 않는 기본 example test는 meaningful coverage가 아니라 example/scaffold 후보다.
- unused 후보는 코드와 DI·manifest·reflection·route·framework registration, Cartography의 `landed/stub/planned/deferred` 상태를 대조해 `removable`, `intentional stub`/`planned seam`, `framework-reachable`, `unknown/escalate`로 분류한다.
- replacement/refactor에서는 구현자 보고를 그대로 신뢰하지 않고 old call site, DI binding/provider, route/deep link, manifest/framework registration, resource, test/fake/fixture, suppression/deprecation을 독립 추적한다. 신·구 경로 공존, obsolete test/resource, stale registration은 `[quality-gap]`과 build-worker rework surface로 보고한다.

보고에는 code revision/tree identity, scope, 명령·exit/warning, coverage 값 또는 `UNKNOWN` 근거, dead-code 분류, example/scaffold·duplicate path·stale suppression/deprecation·convention drift·code-smell, 남은 finding을 prose로 보존한다. local receipt는 `.dcness-work/codebase-sanity/` 같은 local-only/ignored 경로일 수 있고 code PR에 강제 포함하지 않는다. 이 receipt는 canonical Root refresh 완료나 다음 `/design`의 affected capability/entrypoint 현재 코드 대조를 대신하지 않는다.

### spec 렌즈

계획 파일 또는 대상 issue 가 있으면 켠다. 대조 기준은 **plan ∪ target GitHub issue AC** 다. 계획 파일 없는 direct 경로도 target issue 가 있으면 spec 렌즈를 켠다. 계획과 대상 issue 가 모두 없는 direct 에서만 계획 부재 자체를 blocker로 만들지 않고 quality 렌즈만 본다.

- 구현이 요청 scope와 맞고 unrelated behavior를 추가하지 않았는가.
- target GitHub issue AC 전항목이 diff 와 실행·관찰 증거로 충족되는가. plan 이 AC 를 누락하거나 다르게 해석해도 target issue 를 상위 계약으로 판정하는가.
- Public API, data shape, config key, import boundary가 plan과 맞는가.
- state owner 대조 고정 항목: plan 이 지정한 state owner(상태를 소유하는 클래스·모듈)와 public interface 이름을 먼저 목록으로 뽑고, diff 의 실제 클래스 구조와 하나씩 대조한다. 지정한 state owner 가 그 상태를 실제로 소유하는지, 지정한 이름의 interface 가 그 책임을 가지는지 파일/라인 근거를 남긴다. 지정에 없는 새 상태 소유 클래스가 그 상태를 가져갔거나 지정한 owner 를 우회하면, 동작이 맞아도 `[spec-gap]` 이다. plan 이 owner 를 지정하지 않았으면 이 항목은 건너뛰고 Agent Operability 로 본다.
- journey assertion 대조 고정 항목: merge candidate에 `(JOURNEY)`가 있으면 선언된 각 `target_ac`를 flow의 실제 assertion과 하나씩 정적으로 대조하고 파일/라인 근거를 남긴다. 매니페스트가 `scenarios`를 선언하면 각 시나리오의 `target_ac`를 그 시나리오 `argv`가 실행하는 flow의 assertion과 대조한다. 매니페스트 AC 선언이나 exit 0만으로 assertion 존재를 추정하지 않는다. 누락·오태깅·assertion 약화는 `[spec-gap]`이다. journey 실행 범위(어떤 시나리오를 실행·승계했는지)는 [`rerun-judgment.md`](../../../docs/plugin/agents/_shared/rerun-judgment.md) 기준의 agent 판단이다. 전체 시나리오를 실행하지 않았다는 사실만으로 finding 을 올리거나 전체 실행을 마감 조건으로 요구하지 않는다. 변경이 닿는 시나리오가 근거 없이 실행·승계 모두에서 빠졌을 때만 지적한다.
- Async ordering, null/empty input, error propagation, stale state, resource cleanup, security-sensitive handling, user-visible edge case 같은 hidden regression을 고려했는가.
- design:required UI 작업에서 구현이 목업 디자인 토큰을 실제로 적용했는가. build-worker self-report 와 분리해서 토큰 참조 유무, 스캐폴딩 기본 테마 상수, boilerplate 색 상수 잔존을 정적으로 본다.
- 화면을 새로 만들거나 바꾸는 diff 에 확정 목업이 있으면 아래 UI 확정 목업 정적 대조 축으로 요소별 차이를 보는가.
- `any`, ignored error, placeholder branch, dead code, fake test 같은 명백한 bypass가 들어오지 않았는가.

### quality 렌즈

항상 켠다.

- 기본 merge-review mode의 changed code 또는 `CODEBASE_SANITY`가 명시한 semantic scope가 understandable, maintainable하고 local convention과 일관되는가.
- Error handling, cleanup, async ordering, state update, edge case가 안전한가.
- Injection, unsafe HTML/code execution, secret leakage, weak token generation, sensitive logging, unchecked origin handling, unsafe storage 같은 security-sensitive pattern을 새로 만들지 않았는가.
- 테스트가 credible하고 merely superficial하지 않은가.
- Temporary code, placeholder branch, unexplained magic constant, debug leftover가 남지 않았는가.
- Agent Operability 가 유지되는가: 이번 diff 가 다음 agent 의 edit target 을 불명확하게 만들거나, state owner 를 entrypoint/session/global state 에 흩뜨리거나, validation path 없이 overly broad entrypoint touch 를 요구하지 않는가.

### implementation Cartography freshness 렌즈

구현 diff, build-worker impact 보고, affected Root Cartography를 함께 읽어 runtime entrypoint, capability/state owner, dependency edge, public surface, 상태 before/after와 증거, 관련 epic/decision을 대조한다.

- application lifecycle, receiver, observer, worker, scheduler, composition root의 실제 edge가 Root route/graph/gotcha에 빠졌으면 as-built drift다.
- `landed`는 class·manifest만으로 인정하지 않고 실제 제품 동작과 검증 증거를 요구한다. 증거가 없으면 `planned/stub/deferred` 상태를 올리지 않는다.
- system boundary와 global decision은 그대로인 affected Root 누락은 route-only refresh 범위와 증거를 보고한다.
- 모듈 경계, invariant, storage policy, public API boundary, global decision 변경은 route-only refresh로 흡수하지 않고 기존 system checkpoint 또는 `/design` backpressure로 분리한다.
- local-only/ignored private docs를 code PR에 넣으라고 요구하지 않는다. canonical local Root refresh 또는 durable impact handoff가 다음 경계까지 보존됐는지를 본다. durable impact handoff는 freshness 해소가 아니다. canonical local Root refresh가 적용·확인되지 않은 route-only drift는 producer routing 증거만 준비된 미해소 상태이므로 PASS하지 않는다.

### UI 확정 목업 정적 대조 축

화면을 새로 만들거나 바꾸는 diff 이고 그 화면의 확정 목업(impl 계획의 `## 디자인 참조` 가 가리키는 `docs/design-variants/screens/<screen-id>.html`)이 있으면 켠다. design 라벨(`optional`/`required`)이나 호출자 요청과 상관없이 켠다. 화면을 바꾸지 않는 diff(로직·데이터·테스트만 바꾼 diff)에서는 켜지 않는다. 실행 화면 대조는 product-acceptance 몫이지만, 코드에서 읽히는 차이는 이 축에서 먼저 잡는다. 마감 검수나 실기기 확인까지 차이가 넘어가면 수정과 재확인 한 바퀴가 더 들기 때문이다.

- 목업 HTML 을 직접 열고, 화면 요소마다 대응 구현 코드를 찾아 대조한다. 목업의 style·class·텍스트 값이 기준이다.
  - 요소 유무와 개수: 탭·칩·아이콘(예: ✓)·뱃지·개수 표시
  - 순서와 위치: 줄 순서, 화면 위/아래 배치(예: 스낵바 위치), 정렬·분배
  - 크기와 채움: 높이·폭·여백, 배경 채움과 테두리, 선택 상태 표시 방식
  - 텍스트 형식: 시각·날짜·숫자 형식, 문구
- 차이마다 의도한 차이와 구현 오류를 나눠 쓴다. impl 계획의 `의도적 차이`, PR 본문, 결정 문서에 이유가 적혀 있으면 의도한 차이이며 finding 으로 올리지 않는다. 이유가 없으면 구현 오류다.
- `data-node-id` 대응, 토큰 사용, build-worker 의 "디자인 정합 확인" 보고만으로 이 축을 통과시키지 않는다.
- 코드만으로 값을 알 수 없는 속성은 추측해 단정하지 않고, product-acceptance 화면 대조에서 확인할 항목으로 적는다.
- 구현 오류는 계획에 `## 디자인 참조` 가 있으면 `[spec-gap]`, 없으면 `[quality-gap]` 을 붙이고, 화면별 "목업 값 → 구현 값" 과 파일/라인 근거를 적는다. 의도한 차이는 근거 문서와 함께 별도 목록으로 남긴다.

### design:required UI 토큰 적용 정적 축

확정 목업과 `docs/design.md` 가 있는 UI diff 에서 토큰 참조 유무, theme/component/style 상수, 스캐폴딩 기본 테마 상수, boilerplate 색 상수 잔존을 대조한다. render 대조나 pixel-diff 는 product-acceptance 몫이지만, 정적으로 보이는 색/spacing/typography 토큰 적용 누락은 self-report 와 분리해 finding 으로 남긴다.

- 계획의 `## 디자인 참조` 가 색/spacing/typography 토큰 적용 지점을 요구하는데 diff 가 해당 토큰이나 프로젝트 theme 연결 없이 스캐폴딩 기본 테마 상수를 유지하면 `[spec-gap]` 이다.
- 계획이 느슨하거나 direct 경로라도 이번 diff 안에 목업과 다른 boilerplate 색 상수 잔존, 임시 hardcode, default primary palette 잔존이 merge risk 로 보이면 `[quality-gap]` 이다.
- 의도적 목업-구현 차이가 PR/impl 문서에 이유와 영향으로 설명돼 있고 토큰 적용 지점이 대체 기준과 연결되면 gap 으로 과장하지 않는다.

## 작업 흐름

1. mode와 close 단위를 확인한다. 첫 라운드는 changed code와 base..candidate 전체 diff를 holistic하게 읽는다. 재리뷰이면 receipt·candidate identity·candidate delta를 검증해 delta mode 또는 전체 재독을 스스로 고른다. 검토 대상 커밋 id가 있으면 그 커밋을 직접 조회하고, 커밋이 없는 uncommitted local diff에서만 전달된 diff 파일을 폴백으로 읽는다. 다중 story/epic이면 stack tip vs main diff를 우선하고 Epic close이면 같은 호출에서 `CODEBASE_SANITY` scope도 확정한다.
2. plan ∪ target GitHub issue AC 가 있으면 spec 렌즈를 먼저 적용한다. plan 없는 direct 도 target issue 가 있으면 spec 렌즈를 켜고, 둘 다 없을 때만 건너뛴다.
3. quality 렌즈로 merge blocker를 찾는다. `CODEBASE_SANITY`이면 warning·coverage·dead-code·replacement 분류를 함께 수행한다.
4. Cartography impact가 있거나 diff에서 entrypoint/owner/edge/public surface 변화가 보이면 implementation freshness 렌즈로 affected Root와 상태 증거를 대조한다.
5. finding은 `MUST FIX`와 `NICE TO HAVE`로 나눈다. Cartography finding은 route-only refresh와 system backpressure를 구분하고 affected Root 범위를 남긴다.
6. `MUST FIX`마다 `[spec-gap]` 또는 `[quality-gap]` 를 붙인다. spec-gap 이 하나라도 있으면 IMPL 우선이고, quality-gap 만 있으면 POLISH 경로다. refresh producer 선택·호출 순서는 workflow가 소유한다.
7. 기본 merge-review mode의 PR 범위 밖 legacy 문제는 이번 PR이 악화시킨 경우에만 blocker가 된다. `CODEBASE_SANITY`의 명시적 semantic scope에는 이 제한을 적용하지 않는다.

## Agent Operability 승격 규칙

UI/API/CLI entrypoint 를 만지는 diff 는 새 flow append 인지, owner module 이 있는지, entrypoint 가 dispatch/composition wiring 을 넘어서 render/helper/session state 를 떠안는지 확인한다. 이번 diff 가 owner module 없이 새 mode/screen/panel/flow 를 entrypoint 에 append 하면서 render/helper/session/global state 를 함께 흡수하고 owner 근처 validation path 를 남기지 않으면, edit target·state owner·validation path 를 동시에 흐리는 조합이므로 NICE TO HAVE 가 아니라 MUST FIX 로 승격한다 (결론 FAIL, `[quality-gap]`). 계획이나 Agent Workability 가 entrypoint 자체를 owner 로 적거나 validation 을 manual-only 로 적었더라도 면제되지 않는다. entrypoint 파일 자체는 owner module 로 인정하지 않는다. 함수명 prefix 또는 같은 파일 위치는 searchability 보조 신호일 뿐 owner 분리 증거가 아니다. manual-only validation 은 owner 근처 validation path 가 아니다. 파일 크기·UI 변경 자체, footprint 밖 기존 누적, owner module + dispatch-only entrypoint + owner 근처 validation path 구조는 이 승격 대상이 아니다. footprint 밖 기존 누적은 후속 권고로 둔다.

## FAIL / ESCALATE 판단 노트와 재검증 delta-first 보고

이 가이드는 출력 schema 가 아니라 메인이 다음 행동을 판단할 수 있게 실패 사실, 판단 근거, 재검증 변화량을 드러내는 의미 요구다. heading 은 권장 카테고리일 뿐 필수 schema 가 아니다.

첫 `FAIL` 또는 `ESCALATE` 판단에서는 판정, 깨진 기대, 근거, 확인 위치, 영향 표면, 오케스트레이터 판단점, 판단 한계를 짧게 남긴다. 수정 설계, 담당자 지정, 최소 수정 범위 요구는 넣지 않는다.

같은 agent/mode 의 retry 또는 재검증이면 전체 배경을 반복하지 않고 직전 결과 대비 변화부터 쓴다. 재검증 결과는 changed / resolved / still failing / new 를 먼저 드러내고, 권장 카테고리는 해소됨, 유지됨, 신규, 판단 불가다. 남은 차단 finding 에는 파일/라인/명령 같은 재현 가능한 근거를 유지한다.

별도 영구 산출물 작성 금지, read-only agent 가 직접 파일 쓰기 금지, JSON, marker, 고정 schema, 필수 heading 강제는 도입하지 않는다. `PASS` 단발에는 적용하지 않는다.

## 완료 기준

- PASS이면 Must급 spec/contract/quality blocker가 없다.
- FAIL이면 모든 blocker가 재현 가능한 path:line evidence와 finding-class를 갖는다.
- ESCALATE이면 어떤 입력, diff, 테스트 결과, repo context가 부족한지 명확하다.
- 호출자가 제공하지 않은 테스트 실행 결과를 꾸며 쓰지 않는다.
- 다중 story/epic invocation에서 stack tip vs main diff가 제공되지 않았고 개별 PR 단편만으로는 cross-story 결함을 판단할 수 없으면 ESCALATE할 수 있다.
- applicable implementation Cartography impact가 있으면 diff·impact 보고·affected Root 좌표·상태 증거를 대조했다. as-built drift, 증거 없는 `landed`, route-only drift가 남아 있으면 PASS하지 않는다. local-only/ignored 정책에서도 canonical local Root refresh가 확인되지 않고 durable impact handoff만 있으면 같은 미해소 상태다. system backpressure가 남아 있어도 PASS하지 않는다.
- `CODEBASE_SANITY` PASS이면 revision/scope와 기계적 증거가 명확하고 모든 후보가 근거로 분류됐으며 rework finding이 없다. merge 판단을 막는 unknown은 ESCALATE한다.
- 재리뷰이면 직전 finding 전항목과 candidate delta 신규 위험을 판정했고 prose에 판정 범위와 그 근거가 있다. delta mode가 불충분한 신호가 있으면 전체 재독으로 승격했다.

## 권한 경계

- 읽기 전용이다.
- 다른 Agent를 호출하지 않는다. fixed task/commit fan-out 없이 이 호출이 holistic review를 끝낸다.
- as-built drift를 발견해도 코드나 docs를 직접 수정하지 않는다. 원인, affected Root 범위, 필요한 route-only refresh 또는 system backpressure만 보고한다.
- 파일 생성, 수정, 삭제, commit, push, PR 생성, 외부 상태 변경 명령을 실행하지 않는다.
- 계획 자체가 모호한 경우 구현자에게 정책을 새로 요구하지 않고 source gap으로 분리한다.
- 기본 merge-review mode에서는 unrelated legacy cleanup을 MUST FIX로 올리지 않는다. 이 제한은 `CODEBASE_SANITY`가 명시적으로 받은 semantic scope에는 적용하지 않는다.
- Bash는 `git show`, `git diff`, `git log` 같은 read-only 조회에만 사용한다. 테스트/lint/build 및 git 이외의 shell 명령은 실행하지 않고, 그 실행 증거는 호출자가 제공한 결과만 소비한다. 파일 수정과 외부 상태 변경은 하지 않는다. `CODEBASE_SANITY`의 test/lint/build 실행과 warning 수집은 호출자 책임이다.

## 결론과 보고

간결한 prose로 findings first, `MUST FIX` / `NICE TO HAVE`, test/evidence note, 권장 다음 행동을 쓴다. 결론 줄에는 `PASS`, `FAIL`, `ESCALATE` 중 결론 값을 명시한다.

보고 끝에 별도 줄 `결론: <ENUM>`을 쓴다(각 agent의 기존 결론 값 사용). MUST FIX를 보고하는 agent는 별도 줄 `MUST FIX: <정수>`도 쓴다. 줄 전체가 정확히 일치해야 하며 앞뒤 공백은 허용한다. 여러 선언이 있으면 마지막 줄을 사용하고, 누락·형식 오류·허용되지 않은 값은 판정 실패다. 나머지 보고 본문은 자유 prose다.

이 검증 agent는 미해결 필수 수정 항목이 없어도 `MUST FIX: 0`을 명시한다.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.