---
name: audit
description: "Run context-isolated dual-axis evaluation (Goal/Spec Fidelity vs Standards/Reasoning Craft, never merged), min-axis 0-10 scoring, Gate Integrity checks against lowered bars, Sideways Sweeps for defect classes, Lead Judgment anti-nit filtering, Fix-First vs Ask-First triage, and Sell Tests."
---
# Audit
## Mandate
Demand 100x evaluation integrity. Single-pass self-review suffers creator blindness, hides lowered bars behind "good enough" prose, and averages fatal flaws into polite 7/10 scores. Ground this skill in the Problem-Solver Kernel (`references/KERNEL.md`) and `references/principles/prove-it-works.md`: split Goal Fidelity from Standards/Reasoning Craft into isolated passes, score with `overall = min(axes)`, audit gate integrity ruthlessly, and accept `No findings` cleanly when clean.
## Entry Gate
1. Check lazily for `TASTE.md`, `GLOSSARY.md`, `DECISIONS.md`, and the originating goal/spec/frame.
2. Pin the exact **Target Snapshot** (before-vs-after diff, draft vs final, current plan vs frame) and verify non-empty substance to evaluate.
3. **HARD STOP against cross-axis averaging:** Evaluate **Axis 1 (Goal / Spec Fidelity)** and **Axis 2 (Standards / Reasoning Craft)** independently (using separate clean-context subagents when available; print `DEGRADED: single-context audit` if forced into one thread). NEVER blend or average Axis 1 and Axis 2 findings into one mixed list.
## AI Responsibilities
The AI runs a principal-level audit separating true defects from noise:
- **Axis 1 (Goal / Spec Fidelity):** Check symmetrically for **(a)** omissions or partial fulfillment, **(b)** unrequested scope creep, and **(c)** letter-fulfilled-but-spirit-wrong deviations, quoting exact target lines.
- **Axis 2 (Standards & Reasoning Craft):** Check against `TASTE.md`, `GLOSSARY.md`, plus universal reasoning/communication smells (hidden premises, equivocation, unfalsifiable claims, buried lead, false dichotomy, sunk-cost bloat, AI slop). Recognize that fluent polish is no longer a signal of correctness.
- **Silent Decisions & Blind-Spot Audit:** Look past surface presentation to list what defaults, tradeoffs, and reinterpretations the creator/agent made implicitly. Enforce: *"If you cannot state what automated/quick checks would miss, require a full review rather than quick approval."*
- **Gate Integrity (Anti-Self-Deception):** Flag every silent weakening of criteria, softened objection, moved threshold, or omitted test. ALWAYS classify as Ask-First (`Restore | Keep justified | Keep other | Leave open`).
- **Sideways Sweep:** Treat any confirmed flaw as a **defect class**: scan all sibling sections, tiers, or claims for the same pattern and rate severity on the worst instance.
- **Lead Judgment (Anti-Nit Filter):** Drop stylistic nitpicking, ungrounded hypotheticals, and "I would have phrased this differently" non-defects before reporting.
## Protocol
1. **Pre-Flight Scope & Sell Test:** Classify target type (`plan | prose/argument | UI/artifact | technical diff | decision`), mark out-of-scope axes `Not applicable`, and for external communications run the **Sell Test** (*What changed? Why care? What to do next?*).
2. **Execute Isolated Dual-Axis Evaluation:**
- **Axis 1 (Goal Fidelity):** Score `0-10` on omissions, fidelity, and scope discipline. Quote exact lines.
- **Axis 2 (Standards & Craft):** Score `0-10` across logical coherence, evidence rigor (Certainty Ladder), clarity (`GLOSSARY.md` compliance), and taste (`unslop`).
- Run **Gate Integrity** check across constraints/assumptions, **Silent Decisions Audit**, and **Sideways Sweep** across sibling areas. State explicitly **what quick/green checks missed**.
3. **Compute Min-Axis Verdict & Second-Look Pass:** Set **`overall = min(Axis 1, Axis 2, Key Sub-dimensions)`**. Never average away a `3/10` fatal flaw with surface polish. State **"What moves the lowest axis to 10/10"**, run a final fresh-context **"Did we miss anything?"** check, and for high-stakes sign-off optionally include a **3-Question Ownership Quiz** so the human confirms they can explain load-bearing choices before putting their name on them (`references/principles/no-cognitive-surrender.md`).
4. **Filter & Triage Findings:**
- Apply **Lead Judgment**: prune nit-gravity and speculative fluff (`Suppressed count: N`).
- Classify remaining defects strictly:
- **Fix-First (`[AUTO-FIXED]`):** Mechanical/unambiguous errors (typos, math errors, broken links, slop words) -> fix cleanly if reversible and log 1-line summary.
- **Ask-First (`[ASK]`):** Gate weakenings, thesis/tone shifts, structural changes, or value tradeoffs -> batch cleanly into numbered options (`Recommended` first).
5. **Validate Clean Exit:** If zero defects survive filtering, explicitly declare `No findings` (never invent fake nits to appear busy). Cap iterative re-audit loops at max `3` cycles.
## Output Contract
```markdown
## Audit Report (`overall = min(axes) = <X>/10`)
- **Mode:** `Isolated Parallel` | `DEGRADED: Single-Context` | **Filtered Noise Dropped:** `<N>`
- **Lowest Axis to 10/10:** <exact single barrier + concrete fix>
### Axis 1: Goal / Spec Fidelity (`<X>/10`)
- **Omissions / Partial:** ...
- **Unrequested Scope Creep:** ...
- **Wrong Behavior / Spirit Mismatch:** ...
### Axis 2: Standards & Reasoning Craft (`<Y>/10`)
- **Gate Integrity, Silent Decisions & Sideways Sweep:** ...
- **What Green/Quick Checks Missed:** ...
- **Reasoning / Clarity / Taste Defects:** ...
### Second-Look & Ownership Check
- **Did We Miss Anything?:** <fresh-context catch or `Nothing additional caught`>
- **Ownership Quiz (High Stakes Only):** <3 sharp questions on load-bearing choices if needed before sign-off>
### Triage Actions (`Fix-First` vs `Ask-First`)
- `[AUTO-FIXED]` <mechanical repairs>
- `[ASK]` <numbered judgment calls or `No findings`>
```
## Failure and Exit Criteria
- **DONE:** Both axes evaluated independently without cross-ranking, `overall = min(axes)` reported honestly with path to 10, Gate Integrity checked, Sideways Sweep run, and all findings cleanly sorted into `Fix-First` / `Ask-First` (or `No findings`).
- **BLOCKED:** Target snapshot or original intent/goal is missing; ask user or pull from `frame` / `granulate` first.
- **Self-Rejection Trap:** Automatically reject if you merged Axis 1 and Axis 2 into one list, averaged away a low critical score, silently accepted a lowered success bar, or invented minor nits when nothing real was broken.