본문으로 건너뛰기
cccskills
무료GitHub에 공개

verification-gate

Use before declaring any coding task complete, done, or finished.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.8 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Verification Gate

Before you say "done", PROVE it.

This is the final checkpoint. You must provide concrete, structured evidence for every acceptance criterion that can be verified automatically. Criteria marked MANUAL_REVIEW_NEEDED are listed for human follow-up, not skipped silently. Self-review notes may appear as background context, but they are not evidence.

<HARD-GATE> NO COMPLETION CLAIMS WITHOUT EVIDENCE FOR EVERY AUTOMATABLE CRITERION. Criteria requiring human judgment must be explicitly listed as pending review — never silently omitted. </HARD-GATE>

When This Skill Activates

  • After independent-qa returns SHIP or SHIP_WITH_HUMAN_REVIEW
  • Before any completion signal to the user
  • For micro tasks: this is the only Harnessed gate

Process

Step 0: Staleness and Governance Check

Before collecting evidence:

  1. Read .harnessed/qa-state.md if it exists
  2. Re-run QA if head_commit or contract_hash no longer match
  3. Read the QA report overview and note:
    • Review Mode
    • Risk Level
    • Calibration Status
    • Confidence
    • Uncertainty
  4. If confidence is low on a high-risk task, or calibration is stale/missing, the best possible outcome is VERIFIED_PENDING_HUMAN_REVIEW
  5. If the QA path required corroboration, verify the corroborating report exists
  6. If disagreement required a tie-break, verify the tie-break report exists

Step 1: Locate Criteria Source

  • Standalone mode: Read .harnessed/contract.md
  • Complementary mode: Read .harnessed/contract.md
  • Micro task: infer explicit criteria from the user's request

Step 2: Collect Evidence Per Criterion

For each criterion, provide one primary evidence type:

Evidence TypeFormatWhen to Use
Code citationfile.ext:42 — "{code snippet}"Implementation exists at this location
Test citationtest_file.ext:15 — test name: "{name}"A test covers this criterion
Command output$ command → {output}Running a command proves behavior
HTTP smoke test$ curl ... → {status + body}Tier 1.5 behavior check
Static analysissemgrep / CodeQL / bandit outputSecurity-sensitive evidence

Supplementary context (cannot be used as evidence by itself):

Context TypeUse
QA confirmationSupports, but never replaces, primary evidence
Self-reviewBackground only; useful for audit history, not proof

Rules:

  • evidence must be current
  • if you cannot produce evidence for an automatable criterion, the task is not complete
  • self-review can be cited only in a Background section, never in Evidence

Step 3: Check for Gaps

Verify:

  • every automatable criterion has primary evidence
  • QA ended in SHIP or SHIP_WITH_HUMAN_REVIEW
  • no unresolved ITERATE/BLOCKED findings remain
  • high-risk tasks have corroborating review coverage
  • tie-break reports exist when disagreement occurred
  • low confidence, stale calibration, heuristic security review, or missing security tools are carried into pending human review rather than silently ignored

Step 4: Write Verification Summary

Write .harnessed/verification-summary.md:

# Verification Summary

## Task
{task description}

## Status: VERIFIED | VERIFIED_PENDING_HUMAN_REVIEW

## Review Governance
- Risk level: {standard or high-risk}
- Review mode: {mode}
- Calibration status: {current / stale / missing}
- Confidence: {High / Medium / Low}
- Uncertainty: {summary or None}

## Evidence

### Criterion: "{criterion text}"
- **Evidence:** {type}: {citation}
- **Verified:** Yes

## Pending Human Review
{manual-review criteria, low-confidence boundaries, security-sensitive follow-ups}

## Background
- Self-review notes: {optional, informational only}
- QA confirmation: {optional, informational only}

## QA History
- Rounds: {number of QA iterations}
- Final grade: {SHIP or SHIP_WITH_HUMAN_REVIEW}
- Issues fixed during QA: {brief list or None}

## Files Changed
{list of modified files}

Step 5: Present to User

For fully verified work:

  • say the task is complete
  • mention criteria count and QA rounds
  • point to .harnessed/verification-summary.md

For pending human review:

  • say the task is code-complete or verified pending human review
  • state exactly what still needs human review
  • never imply the remaining checks were automated

Micro Task Verification

For micro tasks:

  1. state what changed and why
  2. cite the file:line
  3. confirm no obvious regression
  4. present a one-line summary

Anti-Rationalization

Your ThoughtWhy It's WrongWhat To Do
"The QA already passed, this gate is redundant"QA checks correctness; the gate checks evidence completeness and human-review carry-through.Complete the gate.
"My self-review proves the behavior"Self-review is biased background, not proof.Use self-review as context only.
"The reviewer confidence was low, but I'll still call it fully done"Low confidence is a governance signal. Ignoring it defeats the point of the gate.Downgrade to pending human review.
"No security tool complained, so we're safe"Tool silence is not proof of safety.Record the limitation and keep human review where needed.

What Verification Gate Catches That QA Doesn't

QA asks: "Does the implementation appear correct?" Verification Gate asks: "Can we prove every automatable requirement, and did we preserve uncertainty honestly?"

The combination of independent QA + verification gate creates a double-lock:

  • QA lowers self-evaluation bias and increases issue-finding rate
  • Gate ensures every requirement and every uncertainty is surfaced explicitly

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Use before starting any coding task when Superpowers is not present.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tt-a1i/harnessed22026년 3월 29일 업데이트

Use after completing a round of code generation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tt-a1i/harnessed22026년 3월 29일 업데이트

Use at the start of every session and before completing any coding task.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tt-a1i/harnessed22026년 3월 29일 업데이트

tt-a1i의 스킬 모두 보기

이 스킬의 문제 신고