# Verdict file template Copy this verbatim to `//-external-audit-verdict.md`. Replace placeholders in ``. Every section below is REQUIRED — the `verdict-fact-table-gate.sh` won't pass if any required section is missing or empty. --- ```markdown # `` — External Audit Verdict **Outcome:** PASS | NEEDS_FIX **Audited dev commits:** `` … `` (chain of commits) **Audited audit commit:** (this verdict's own commit, hardcoded after writing per Rule 2 immutable-anchor — leave as `TBD` in the working draft, fill after commit) **Auditor:** `` **Audited at:** `` ## 1. Executive summary One sentence stating PASS or NEEDS_FIX + the key reason. Examples: > "PASS. All 15 facts verify; no P0/P1 findings; lesson codification streak advances to N-of-N with novel `` preservation." > "NEEDS_FIX. P1 findings, all R1.3.1-shape (fix the example, miss the contract); fix-round must address the full input domain of the affected Protocol method." ## 2. Findings | Id | Priority | Summary | Evidence | |---|---|---|---| | F-``-1 | P0 / P1 / P2 / P3 | `` | `` | | F-``-2 | ... | ... | ... | If no findings: state "No findings." ## 3. Lesson codification result Apply the protocol from `lesson-codification-protocol.md`. Output one of: - **Streak advance**: `` advances to streak `N-of-N`. The novel preservation type observed this round is `` (first-seen ↔ ``). - **Streak break**: `` streak broken at `N`; root cause: ``. The lesson itself needs amendment OR a new lesson splits off. - **No applicable lesson**: this round didn't exercise any tracked lesson. (Lessons only track recurring patterns.) - **Propose new mandate**: the 3rd observation of `` was seen this round. Propose mandate ``. ## 4. Mistake-pattern checks | Pattern | Applied? | Result | |---|---|---| | Fix-example-vs-contract | (only if fix-round) | PASS / FAIL with evidence | | Sibling-doc-sweep | (only if round edited canonical docs) | PASS / FAIL with sibling list grep-quoted | | Doc-vs-impl re-grep | (always when claims about impl are in handoff) | PASS / FAIL per claim | ## 5. Reference scan compliance For every reference cited in the round (handoff § Reference triplet section): | # | 用了哪个 (Which) | 为什么用 (Why) | 用了什么部分 (What part) | NOT used | |---|---|---|---|---| | 1 | `references//:` | `` | `` | `` | Confirm each row is fully populated (no empty cells). Confirm reference tier (RT0/RT1/RT2/RT3) is declared. ## 6. Cross-mandate compliance For every standing mandate from project CLAUDE.md / AGENTS.md: | Mandate | Honored? | Evidence | |---|---|---| | `` | YES / NO | `` | ## 7. Fact table **Schema reminder**: every fact has an exact expected value (no `≥ N` or `> 0` patterns). Every command starts with `cd`, `git`, `uv run`, or `bash` (per `audit_check.py` parser-recognition contract, generalized). | # | Fact | Command | Expected | Actual | |---|---|---|---|---| | 1 | Handoff exists | `git cat-file -e :` | exit 0 | exit `` | | 2 | All dev commits resolve | `cd && git log --oneline \| wc -l` | exact N | actual M | | 3 | Test count | `cd && bash ` | exact "N passed" | actual | | 4 | Spec claim grep | `awk -v s='' 'index($0,s){n++} END{print (n>0)?1:0}' ` | `1` | actual | | ... | ... | ... | ... | ... | **Sub-total:** N/N facts PASS (must equal N/N for outcome=PASS) ## 8. Forward-debt observations Anything noticed during audit that's OUT OF SCOPE for this round but worth tracking: - D-``-1 (P2/P3): `` — owner: `` - ... These get appended to `/docs/tech-debt.md` (or equivalent) by the founder or next planner, not by the auditor directly. ## 9. Author's note (optional) Free-form auditor commentary on the round's quality, trends, or recommendations for the next round. Cannot influence PASS/NEEDS_FIX outcome (those are mechanical). --- **Verdict line (mandatory final paragraph):** > Outcome: PASS / NEEDS_FIX. Audited dev commits: ``…``. Fact table: N/N PASS. Findings: P0+P1, P2, P3. ```