# Protocol Audit
<!--
ref: @protocol/protocol-audit
tags: [audit, meta, quality, skills, protocols, seams, groom-op]
triggers: [sometimes works sometimes doesn't, results inconsistent, never wows me, model upgraded, combined skills from different sources, audit my skills]
trigger_prompt: Use when a protocol or skill you rely on underperforms inconsistently, after model changes, after merging sources, or on a scheduled library scrub. Audits instructions, not code.
complements: [@protocol/compound-learnings, harvest-protocol]
version: 4
updated_at: 2026-09-10T16:26:54.568Z
-->

A five-phase audit of a protocol's instructions — decorative rules, seam failures where upstream decisions silently fail to propagate, trigger misfires, model drift, and contradictions in composed sources — with findings ranked by consequence.

## When you have frontier-model access, spend it here

Stronger models are differentially better at exactly what this audit needs: holding the whole system while catching detail-level propagation failures. Cheaper models audit the process shape (usually already fine); frontier models catch the seams. If you have temporary access to a stronger tier, auditing your daily-driver protocols is among the highest-leverage uses.

## Phase 0 — Ground before auditing

Ask the operator (or establish from evidence) before reading a line:

1. What outcome is underperforming? ("sometimes good, never wowing" is a valid answer)
2. Which codified rules matter most? (the ones the operator built from hard experience)
3. What feeds into this protocol, and what consumes its output?

An audit without grounding optimizes what's easy to see instead of what the operator needs.

## Phase 1 — Enforcement check

For each rule the protocol codifies, ask: **is it enforced by the wording, or decorative?**

- Does an instruction produce a *checkable artifact* (a file, a list, an explicit confirmation), or does it just say "make sure to…"?
- Would an agent under time pressure be able to skip it silently? If yes, it's decorative — add a gate or an artifact.

## Phase 2 — Seam analysis (the highest-yield pass)

Trace every input decided upstream through every downstream phase. The signature failure mode: **decisions made early (voice, constraints, specifics) silently fail to propagate to later phases** — each phase looks correct alone; the handoffs drop the payload.

- List each upstream artifact/decision. For each: which downstream step consumes it? Where is it restated or referenced? If nowhere — that's a seam failure.
- Multi-protocol libraries: audit the handoffs *between* protocols, not just each protocol.
- Where the output feeds an external tool, check for a missing **adapter step**: tools want input in their shape; dumping accumulated context on them is a seam failure too.

## Phase 3 — Trigger audit

- Does the description/short state **activation conditions** (symptoms, situations) — or does it summarize the workflow? Agents act on summaries instead of reading the body; a workflow-summary description is actively harmful.
- Under-triggering: would an agent facing the target situation find this? Are triggers phrased as the *symptoms* the agent will actually have?
- Over-triggering: does it fire on adjacent situations it shouldn't?

## Phase 4 — Drift and model regression

- Rerun the protocol's eval prompts (it should have 2-3; if it has none, that's a finding).
- After a model change, spot-check the discipline rules — newer models rationalize differently, and loopholes closed for one model reopen for another.
- Check dates: `last_reviewed`/`last_validated` older than the tools it references is a staleness flag.

## Phase 5 — Contradiction scan (composed sources)

When material is merged from multiple libraries/sources, scan for silent conflicts: two rules that can't both be followed, duplicated concepts under different names, tone whiplash (one section commands, another suggests). Composed sets conflict quietly — nothing errors, quality just wobbles.

## Output

Findings ranked by **consequence to the operator's outcome** (not by how easy they are to fix), each with:

- The failure mode class (enforcement / seam / trigger / drift / contradiction)
- Evidence (quote the line, name the dropped artifact)
- The fix, concrete enough to apply without re-deriving

Then a fix plan the operator approves before edits. Stopping condition: if Phase 2 finds the same seam failure in 3+ places, stop enumerating instances and propose the structural fix (usually a shared handoff artifact or adapter step).

*Part of the grooming ecosystem: this is the single-entry lint. The master pass is `@protocol/grooming`; sibling operations are `/search?q=tag:groom-op`.*

---

*Related: `@protocol/groom-protocols` · `@content/web/github/2026-11-25-claude-code-v2-1-332` · `@content/web/github/2026-11-24-builtin-ship-shadows-user-skill` · `@content/web/github/2026-11-17-open-artifact` · `@content/youtube/yifan-bth/the-openclaw-security-settings-i-actually-change`*

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*