Verification Loop

Verification loop는 “agent가 끝났다고 말했다”와 “artifact가 실제로 correct하다” 사이의 gap을 닫습니다. 각 change 뒤에 agent는 concrete check를 실행하고, 그 결과를 다음 decision으로 다시 넣습니다.

이 loop는 claim 를 evidence 와 비교합니다.

Evidence가 missing, too narrow, stale, indirect라면 claim은 verified가 아닙니다.

Agent가 success를 summarize하기 전에 loop는 Evidence ledger에 evidence를 추가해야 합니다.

Verification ladder

LevelCheckProvesDoes not prove
Syntaxformat, parser, type, Markdown, schemaartifact can be read by the toolchainsemantic correctness
Local consistencyunit check, link check, small scriptnearby contract is not brokenend-to-end behavior
Build/integrationsite build, test suite, package buildintegrated artifact can be producedexternal deployment or content accuracy
Runtime/renderedsmoke test, rendered page, CLI run, browser checkuser-visible behavior works in one pathall edge cases
Reviewsecurity, privacy, leakage, scientific validityrisky claims and side effects were inspectedautomatic proof of truth

Choosing A Check

Change typeMinimum useful checkAdditional check when risk is higher
Markdown link or routewikilink/internal-link checkrendered page inspection
Public content about infrasensitive-info scanhuman review for operational risk
Code editfocused test or buildintegration test, diff review
Generated artifactfile existence and schemavisual/rendered inspection
External write or deployremote status querysmoke test from user-facing URL
Scientific or paper claimsource inspectionbenchmark/protocol review

실전 check

  • 모든 change는 build, test, lint, smoke run 같은 real check로 끝냅니다.
  • 가장 좁고 유용한 check를 먼저 쓰고, risk가 크면 넓힙니다.
  • failing check는 같은 action을 retry하라는 신호가 아니라 fix할 signal로 봅니다.
  • skipped 또는 impossible check 위에서 success를 보고하지 않습니다. not verified라고 말합니다.
  • result를 재현할 수 있도록 command와 output을 남깁니다.
  • check를 claim과 맞춥니다. Build 통과가 content accuracy를 증명하지는 않습니다.
  • green check는 실제로 cover하는 behavior에 대한 evidence로만 취급합니다.
  • broad objective 완료를 주장하기 전에는 Completion audit를 실행합니다.

Blog/Wiki Example

For this Quartz blog, a content change usually needs this ladder:

  1. Inspect the changed Markdown diff.
  2. Run wikilink and internal Markdown link checks.
  3. Run npx quartz build.
  4. Push only task-relevant files.
  5. Confirm GitHub Pages deployment when the public site should change.

This proves that the site builds and the changed links resolve. It does not prove that every scientific statement is correct unless the sources or formulas were separately checked.