/pape:harness-audit [--quick | --deep] [--theme:light | --theme:dark]from PAPE — Coach & Harness Audit
Audits a repository's agent harness configuration — guidelines, autotests, and guardrails — reporting what's missing, incoherent, unenforced, or failing open with severity ratings and evidence.
Ships in PAPE — Coach & Harness Audit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The guide's Big Idea: a harness is a workflow bounded by three constraints — guidelines (how the agent should behave), autotests (ground truth from the environment), guardrails (limits it can't cross). This skill reviews the one a repo actually has.
The full guide ships at ${CLAUDE_PLUGIN_ROOT}/guide.md. The check catalogue is ${CLAUDE_PLUGIN_ROOT}/skills/harness-audit/checks.md — read all of it before auditing.
Read-only, except the report. Never edit, move, or delete a file. Never run tests, builds, installs, or migrations. Never git add/commit/checkout/stash/clean. The only writes are the two report files in harness-audits/.
Presence is the cheap half. "Is there a hook?" is a glob. The findings worth the reader's time come from opening files and cross-referencing them:
CLAUDE.md files giving contradictory orders, so behaviour depends on working directory|| trues its own failure — so the harness looks gated and is not.gitignore pattern that near-misses the file it was written to excludeEvery one passes a presence check. checks.md has two classes and Class C is the point — a run that reports only Class P has done the easy work and stopped.
An independent review of a shipped report re-checked every claim against the working tree and returned: diagnosis sound · three of seven findings misstated · one false. Its architecture held; its citations did not. The single pass that wrote it had used 14 of its 35 allowed reads — budget was never the constraint. A grep hit was being treated as a read.
That is not fixable by trying harder in one context, and the skill already knew why: the session that wrote a recommendation should not be the only one that checks it. This is Tip 3.7 — review with fresh eyes, not the context that wrote it — applied to the audit itself.
| Pass | Job | Count |
|---|---|---|
| 1 · Finders | Produce candidate findings. Run in parallel, each with a different lens, each read-only | 2 by default |
| 1b · Re-checker | Re-test the previous run's open issues. Runs beside the finders and returns first | 1, when a prior report exists |
| 2 · Pooling | Merge, dedupe, flag conflicts. Mechanical — done in the orchestrating context, no agent | — |
| 3 · Verifier | Falsify every pooled finding against the tree. Returns verdicts, not opinions | 1, always |
Fan-out buys coverage, not correctness. Class C checks are open-ended — "find contradictions between instruction files" has no fixed answer set, and one pass finds what its lens is shaped for. The shipped report cited ci.yml and playwright.config.ts and never noticed that a comment in one contradicts the ternary in the other; a finder told to cross-read pairs would plausibly have caught it.
Spawn each as a subagent with the read-only constraint, checks.md, and one lens:
| Lens | Told to look for |
|---|---|
| Enforcement | Class P absences, C-2, C-4, C-5, C-10, C-12 — what is stated versus what holds |
| Coherence | C-1, C-3, C-6, C-8, C-9, C-11 — contradictions between files. Every claim must rest on two files read together |
Under --quick the single finder carries both lenses, not one of them. An earlier version ran Enforcement alone, which quietly made the cheap mode the shallow mode: Coherence owns the cross-file reading — C-1, C-3, C-6, C-8, C-9, C-11 — and dropping it drops the half this skill opens by calling the point. Class P absences are the easy half; a --quick run that returns only those has done the inventory and called it an audit.
Specialisation is a two-finder technique. With two, divergence is the product: different lenses read differently, and where they clash pooling has a signal. With one, there is nothing to diverge from, so a narrow lens is loss with no compensating gain. Give the single finder the union and a smaller budget — it sees less of everything rather than none of something.
Under --deep, add Hygiene (C-7, secrets, tracked state, machine paths) and Economy (context budget, always-loaded cost, duplication between instruction files and skills).
Each finder returns candidate findings in the §Findings shape, each with the file:line it rests on. Finders do not write the report.
Spawn it alongside the finders, not after them. It re-tests the previous run's open issues against the tree, and because every one of them arrives with a file:line and a stated condition, its work is targeted reads rather than an open-ended sweep. It finishes long before the finders do.
Give it the issues inline — never the report path. The orchestrating context has already opened the previous report; it extracts each open issue's subject, file:line and the condition claimed, and passes that list in the prompt. Handing over a path instead makes the re-checker read a hundred-kilobyte document to find its own worklist — an observed run spent more than the pass it was supporting this way, more than the finder it was supposed to undercut, and most of it before any re-testing began.
The whole premise of this pass is that it is cheap because its targets are known. Make them known to it.
Worst first, capped at ten. All Highs, then fill by severity. More than that and it stops being the fast pass.
Three verdicts per issue, and the third is not a failure:
| Verdict | Means |
|---|---|
| fixed | The condition is gone. Name what changed — "the gate now exits non-zero" |
| still open | The condition holds. It carries into this run's findings with its original open since date |
| can't tell | The evidence moved or the check no longer applies. Say so; do not guess either way |
This is what makes Trend evidence instead of inference. Trend has been deriving fixed from a key's absence in the new run — but a key can vanish because the problem was solved, or because nothing looked there this time. Under --quick, with one finder on a smaller budget, the second is likely and indistinguishable. A re-checked fixed is a fact; a diffed fixed is a guess wearing the same word. Where the two disagree, the re-checker wins.
A correction to the previous report gets its own line, not a subordinate clause. A re-check re-derived one issue's measurement to 66% where the earlier report said 69%, and reported it at the tail of a sentence about what was still open. The audit correcting its own prior number is the strongest trust signal it has — stronger than any finding, because it is the only evidence a reader gets that the process catches itself. Give it the line:
Correction to the 27 Jul 11:28 report:
ISSUE-3's measurement re-derives to 66%, not 69% —CLAUDE.mdhas grown ~800 characters since.
Report it the moment it lands, before the finders return:
Re-checked the last run's 7 Highs: 2 fixed, 8 still open.
Closed: the pre-push hook now blocks on a failing build, and
verifyexits non-zero when the link checker can't reach the network. Still open, worst first:CLAUDE.mdandSTYLE.mdstill define disjoint palettes · the outbound-link check is still skipped on every automated path ·"lint": "eslint"is still invoked by nothing.Harness audit · krivitskydotcom — Standard · 2 finders + verifier · light
✓ setup → ✓ re-check → ▸ research → · cross-check → · fact-check → · report· 12m · 287k + 1 runningNow finding what's new. Next update when research returns.
Name them. A count is not a finding. "8 still open" tells the reader a number about a document they have not opened; three named conditions tell them about their repo. These are the most reportable facts the whole run produces — verified against files minutes ago, about issues the reader already agreed were real, available before anything else exists. Reporting them as an integer is the single largest waste in the display.
Three to five still-open, worst first, one clause each. Never all eight — the tail of a re-check list is where interest dies. Take five only when the fifth is a distinct condition rather than another face of the first. The full set is in the report.
Never build a live tracker of the candidates. Two designs were tried and both failed on their own terms:
| Tried | What happened |
|---|---|
| A four-column markdown table | The tip column carried a full https://…/tier-2#tip-2-10, ate half a hundred-character terminal, and squeezed the claim to three words a line |
Tip: / Claim: / Where: / Status: blocks | Four lines per finding — forty-four for eleven — with trailing empty fields where a row had no data |
But the layout was the symptom. The content was the problem: every row read ⏳, because nothing resolves until the verifier runs. A status column that says pending on every line for ten minutes carries no information, and a reader shown one asked "what's the value?" There isn't one.
A third of candidates have historically been misstated or cut, so anything shown before the verifier runs must say so plainly and once — "none verified yet" — and must not carry a severity, which is a judgement about a claim that is not yet settled.
But not naming the candidates was over-correction. The claims are known at cross-check — pooled, deduped, ranked. Withholding them is not caution, it is a fifteen-minute wait with nothing in it. What failed was tracking them through states in a live table, not saying what they are.
So name three at cross-check, in prose, once:
Strongest of the eleven, none verified yet:
CLAUDE.mdcalls its palette the single source of truth and forbids going outside it, whilespecs/slides/STYLE.mddefines a second, disjoint one — 31 off-palette hexes already ship. The outbound-link checker is skipped on every automated path, and the one invocation that runs it is the one your own docs say not to trust."lint": "eslint"is defined, configured and installed — and invoked by nothing.Now re-opening the file behind each of these. If any is wrong, you'll know before I do — say so.
| Kept | Dropped |
|---|---|
| Three claims, prose, at one boundary | Rows, a status column, …N more, a live tracker |
| "none verified yet", said once for all three | ⏳ repeated on every line, which was the only thing the column ever said |
| The claim in the reader's terms | A https://…/tier-2#tip-2-10 column eating a third of the width |
The invitation is the point. A reader who works in that repo settles "eslint is invoked by nothing" in two seconds — faster and more reliably than a subagent re-deriving it. Withholding the claim to protect them from a possible error also denies the run its best available check.
Whatever is named must be accounted for in the report. If the verifier cuts one, §6 says so by name. A claim shown live and then never mentioned again reads as quietly true, which is worse than never showing it.
Three to five, and only at cross-check. Same rule as the re-check list: five only if the fifth says something the other four did not. Not at research (nothing is pooled yet, so the ranking is one lens's opinion) and not repeated at fact-check (the reader has them; what they want next is which survived).
The budget is facts about their repo, not lines. An earlier version of this rule capped each boundary at one line, which is how "8 still open" got written where three named conditions belonged. Prose that says what is wrong with their repo is never the thing to cut — cut the sentences about how the audit works, the reassurances about options they already chose, and the counts standing in for content.
Do not name the display. A run said "three rows on the board already" — coining a noun for its own progress readout, which the reader had never heard and could not look up. The reader has a screen, not a board; there is nothing here that needs a name.
Name the phases in the reader's words, not this file's. Finders, pooling and verifier are the vocabulary of the design; nobody watching a progress strip knows what pooling is. The strip shows five phases, and each says what is happening to the repo rather than which agent is running:
| Shown | Is | Means |
|---|---|---|
| setup | flags + confirmation | what shape was agreed, before anything spawns |
| re-check | pass 1b · re-checker | re-testing last run's open issues — skipped when there is no prior report |
| research | pass 1 · finders | reading the repo and collecting candidate claims |
| cross-check | pass 2 · pooling | comparing what the lenses found, resolving disagreements |
| fact-check | pass 3 · verifier | re-opening the file behind every claim, trying to break it |
| report | writing | both files land in harness-audits/ |
These six words are the only words for these six things — in the strip, in the prose beside it, and in every agent description. A run's strip read ▸ research and the sentence directly beneath it said "waiting on the re-check, then the reading pass": a synonym invented one line below the word it was a synonym for, leaving the reader to work out whether the reading pass meant research, cross-check, or both.
❌ "Presence checks done here. Waiting on the re-check, then the reading pass." ✅ "The quick file-and-config checks are done in this session. Waiting on re-check, then research."
This is the Enforcement-under-▸ research defect one layer in. The strip was rewritten into the reader's vocabulary and the sentence beside it was left in the design's — so the fix moved the leak rather than closing it.
It binds every term in the block, not only the phase nouns. "Presence checks" shipped in that same line: it is this file's name for a glob that answers a question without opening a file, and it names nothing the reader has been told about.
Test before sending: every noun in the message either appears in the six-row legend the introduction printed, or is ordinary English. A third label is never the answer — use the phase name, or describe the activity plainly.
fact-check carries a counter — fact-check 12/19 — because it is the only phase whose progress is a number the run actually knows. Every other phase is one agent working until it is done; this one has a claim list with a length. It is also the phase where the reader has just been shown five claims and is waiting to learn which survive, so a moving number answers the question they actually have.
It is not the longest phase — research is. An earlier version of this line justified the counter by duration, which was an assumption rather than anything measured. Do not reason about which phase is slow, and do not state it either — the strip reports elapsed time as it accrues, and that is the only duration this skill ever shows.
A phase that will not run this time is not shown at all. Under --quick there is one reading pass, so cross-check has nothing to compare; with no prior report, re-check has nothing to re-test. Both come out of the strip and out of the legend, and the strip is five phases instead of six.
Do not show it greyed and then explain it. An earlier version kept the phase visible so the reader could see which step they traded away — and the run, having a visible-but-empty phase to account for, wrote a sentence accounting for it:
❌ "One lens ran, so cross-check has nothing to compare — that's the coverage you traded away, and it's the only thing you traded: every claim above still goes to the verifier."
That is the run arguing with a decision the reader made thirteen minutes earlier, and it is the third time the same fact has been stated: the option label said one lens instead of two, the confirmation block said it again, and this says it a third time with a defence attached. Nobody needs reassurance about the option they chose; they need the run to get on with it.
Where the traded coverage belongs is the record, not the wait. The strip header carries the resolved mode (Quick look · 1 finder + verifier) and so does the report cover — so a reader comparing two reports can see the difference in the place where comparing happens. A ghost phase mid-run reaches only the one person who already knows.
These are two things with two different costs, and bundling them was a mistake. The strip is two lines. The substance a boundary carries is longer, and there is only something to say when a boundary has actually changed.
| Emitted | |
|---|---|
| The strip — identity, phases, meter, and the line naming what comes back next | at the end of every message this skill sends during a run, without exception |
| The substance above it — what closed, what conflicted, what got cut | only when a boundary actually changed something: setup, re-check, research, cross-check, fact-check |
The closing line says what comes back, never what was dispatched. A run closed cross-check with:
❌ "Thirteen go to the verifier — the eleven new ones in full, plus the two carried claims whose framing is most contestable." ✅ "Next update is the last one: which of these survived."
Routing arithmetic is the audit describing its own plumbing. Which claims were forwarded, and on what basis one was judged more contestable than another, is a decision the reader neither made nor can act on — and it arrives at the exact moment their attention is on the five claims they were just shown. The only thing they want to know is what the next message will contain.
A run sent a bare one-line status with no strip beneath it, because that moment was not one of the boundaries — so a reader who had just been given a phase display was shown a loose sentence and left to wonder whether the display still applied. Any message without the strip under it is a message that abandons the reader mid-run.
Two lines is not a token sink. Repeating a boundary's full content on every message would be, which is why only the strip repeats.
Boundaries stay at five blocks — one per phase, never one per finding. A block for each claim would bury the report under its own progress before the report existed.
A user thirty minutes into a real run asked "what is this audit? common issues it finds?" — which is the run's own fault. It had shown them agent names, tool counts and a token meter, and never once said what it was for.
So the block that appears when research finishes carries one short paragraph, once, naming the shapes it hunts. Absences are the cheap half and everyone expects them; name the other half:
What this is looking for. Not "you're missing a file" — that half is easy. The valuable findings are where the setup looks complete: two instruction files giving opposite orders · a rule written as NEVER with nothing that could catch a violation · a gate that exits clean when it couldn't run · the command you're told to run not being the command CI runs · reference material in the file that loads every session, crowding out the real rules.
Then, if the claims already show it, say so: "Your repo has four of those five." That single sentence is the moment the reader stops watching a tool and starts reading about themselves — and by then the run has the evidence to say it honestly.
Once, and never again. It is orientation, not a lesson: a paragraph on the second block and nothing on the third or fourth. A run that re-teaches at every boundary is a run that has confused the reader's attention with its own.
This is the same content the tip links serve, at a different altitude. The paragraph says what kind of thing goes wrong; the per-row links say what to do about the specific one. Neither replaces the other, and both cost almost nothing next to a thirty-minute wait.
The strip shows agents, phases and tokens — all of it about the audit. These three are about them, and each costs one line at a boundary that is already emitting one.
Open with the delta, when there is one. A repo with a prior report gets this in the first block, before any finding exists:
Last audit, 25 Jul: 16 issues, 5 High. Let's see what moved.
This is the retention line and it is currently buried in §4 of a document nobody has opened yet. The audit's product is not a report — it is the difference between two of them, and a reader who never sees that difference has no reason to run a third. Close the loop at the end: "5 fixed since 25 Jul, 3 still open, 16 new."
But it may not claim a fix count — only §Pass 1b may do that. A run opened with "you've since shipped 15207ce closing three of them", read off the commit; the re-checker then tested them and found two. Commit messages describe intent, and intent overshoots. Say what is observable without opening a file — that commits have landed since — and let the re-check supply the number a minute later with the files behind it.
✅ "Last audit, 27 Jul 11:28: 24 issues, 7 High. You've shipped since — let's see what actually moved." ❌ "…and you've since shipped
15207ceclosing three of them."
The second reads better and is wrong, which is the whole reason this pass exists.
Say one thing the repo does well, at cross-check. The scorecard's credit line is the only place the report says anything good, and it lands at the very end:
Worth saying: 561 commits, median two files — checkpointing (T3) already holds.
One line, drawn from what the finders actually counted, never invented. It changes the shape of the wait from how bad is this to here is where you stand — and it is what makes the criticism land instead of bounce. A run that lists twenty-four problems and never once says what works has written an accusation.
Show where the gaps cluster, at fact-check, once the tiers are known:
Clustering: T3 (9) · T4 (7) · T5 (5) · T6 (1).
That histogram is the most transferable thing the audit produces. A specific issue is about this repo; the shape of the distribution is about how the reader works, and it will look similar in their next one. It also previews the lever honestly — the reader can see T3 leading before §1 says so, which makes the verdict feel derived rather than pronounced.
All three are facts the run already holds. None requires an extra pass, an estimate, or a judgement it has not already made.
Carry elapsed time and tokens in the strip. "12m · 287k" is a measurement of what has already happened, which is the only kind of cost figure this skill is allowed to show. There is nothing to compare it against, by design — see §Say nothing about how long it takes.
The token figure must be on the same basis as the estimate, or it is noise. Count every pass — each finder, the verifier, and this context — not the orchestrator's own slice. A run showed 1m · 34k while its finder was still working: the finder's ~120k had not landed, so the number was a third of the truth and would have stayed flat for ten minutes before jumping. A meter that cannot be compared to the quoted figure fails the only job it has.
Subagent cost is unknown until the agent returns. That is a fact about the runtime, so state it rather than hiding it:
✓ setup → ▸ research → · cross-check → · fact-check → · report · 1m · 34k + 1 finder running
Then drop the qualifier the moment it resolves — 12m · 287k once every spawned agent has reported. Never print a bare total while an agent is outstanding; a number that silently excludes the largest contributor is worse than no number, because it reads as reassurance.
Elapsed time needs no qualifier — it is wall clock and always true.
Nothing cds — not the subagents, and not the orchestrating context. Everything already starts in the repo root. Runs have been observed emitting cd /Users/alexey/src/<repo> before every command, which spends the visible width of the line on a constant, and then the actual command is what gets truncated. The reader is left with a path they already know and an ellipsis where the evidence was.
This binds the orchestrating context too. It now runs the presence checks itself while research is out, and a run was observed prefixing each of those with cd /Users/alexey/src/<repo> — the same waste, on the line the reader is actually watching, since these are the only tool calls visible during the wait.
Ask for short tool descriptions too. A finder's Bash calls are the only window into what it is doing while it runs; rg for hook definitions tells the watcher something, and a truncated multi-line echo banner does not.
The runtime prints every subagent's description directly beneath the strip, so the two are read together. A run showed ▸ research in the strip and Agent(Enforcement lens finder) on the next line — two vocabularies for one activity, stacked, with nothing connecting them. A reader who has just been taught five phase names is then shown a word from none of them and cannot tell whether it is the same step or a different one.
Every subagent description begins with its phase name:
| Phase | Agent description |
|---|---|
| re-check | re-check · last run's open issues |
| research | research · what's declared vs what actually holds · research · contradictions between files |
| fact-check | fact-check · try to break each claim |
The phase word does the joining; the clause after it says which pass this is. Under --quick there is one research agent, so it carries both jobs: research · what holds, and what contradicts.
Lens names never appear here either. Enforcement and Coherence are this file's labels for bundles of check IDs — useful when spawning, meaningless to whoever is watching. The same rule that keeps pooling out of the strip keeps it out of the agent list.
Only three of the five phases spawn anything — re-check, research, fact-check. cross-check and report run in the orchestrating context, so the screen shows no agent activity at all while they work, and those are the two phases most likely to look hung. They are also, not coincidentally, where a reader has most recently been promised something: the candidates have just appeared, or every claim has just resolved and the file is being written.
So the strip is the only signal during those two, which is why the block must be emitted at both boundaries — and why the report phase says where the file will land rather than going quiet until it exists.
Determine the mode before spawning anything. Two ways a user arrives, and both must resolve to exactly one row of the table below:
| How they invoke | Resolve by |
|---|---|
Slash command — /pape:harness-audit --deep | Read the literal flag. It wins over everything, including contradicting prose |
| Natural language — "audit my harness", "is this repo agent-ready" | Map intent: quick · fast · just a look · rough → --quick · thorough · deep · comprehensive · don't miss anything · be exhaustive → --deep · anything else, including a bare request, is the default |
Never upgrade silently. A plain "audit this repo" may pre-select two finders, and "don't miss anything" may pre-select four — but neither spawns anything until the user has seen the shape and its cost and said go. The word doing the work is silently: mapping intent is fine, spending on it unasked is not.
Introduce yourself before doing any work. A run was observed reading two files, listing a directory and running three shell commands before it said what it was — so the user's first information about the skill was a tool-use summary.
One exception, and only one: locating a previous report. A single glob of harness-audits/ costs nothing and buys a better opening — "There's a run from earlier today" tells the reader more than "checking for a previous run", and they were never going to notice the intervening second. Reading that report's contents waits until after the introduction; so does everything else.
The test is what the user sees first. A directory listing that resolves instantly, then the introduction, is fine. A tool-use summary standing alone at the top of the transcript is not.
harness-audit v0.44 · from the Professional Agentic Product Engineering (PAPE) guide
I read the agent setup checked into this repo — instruction files, skills,
hooks, permissions, tests, CI — and rate it against the guide's six tiers.
I change nothing: read-only, apart from the report I write to harness-audits/.
Six phases. This strip closes every message, so you always know where it is:
setup agree the depth and the output format — nothing spawns until you do
re-check re-test the issues the last run here left open
research read the repo, collect candidate findings
cross-check line up what research found, resolve where it disagrees with itself
fact-check re-open the file behind every claim and try to break it
report write it to harness-audits/
· setup → · re-check → · research → · cross-check → · fact-check → · report
There's a run from earlier today. Reading its cover for the baseline, then three
questions before anything spawns.
Spell the phases out here, once, before anything runs. A reader watching ▸ research → · cross-check → · fact-check has been given six words and no key to them, and cross-check and fact-check are near-synonyms in ordinary English — nothing in the strip says which one re-opens the files. The strip is a position indicator, not an explanation, and it was being asked to be both.
It costs six lines at the one moment a reader is deciding whether to commit to the run at all, and it buys everything after: every later message can then say research on its own, because the word has a definition the reader has already seen. This is the same trade as §Say what the audit looks for — orientation once, early, never repeated.
Say the strip will recur. "This strip closes every message" is what turns it from a thing that appeared once into a thing the reader tracks — and a run that then drops it has visibly broken a promise rather than quietly omitted a display.
Print only the phases this run will actually reach — no re-check row without a prior report, no cross-check row under --quick. A phase that never fills teaches the reader to distrust the strip, and a phase that has to be explained costs more than it shows. One clause in the closing line covers the absence: "No previous run here, so nothing to re-check — starting from scratch."
Name the version, and read it from ${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json — the same source the report cover uses. A user comparing two reports, or reporting a bug, needs to know which version produced what, and the cover is too late: it arrives at the end, and only if the run finishes.
Say what happens next, in one clause. Not a plan, not a numbered procedure — "checking for a previous run, then three questions" is enough to tell someone the tool calls they are about to see are not the audit starting without them.
This run is not cheap and the user has not agreed to it yet — so the introduction is followed by a two-line frame and one AskUserQuestion. Short: they came for an audit, not a form.
State no duration and no token figure here. Not a range, not a hedge, not a prior run's measurement — see §Say nothing about how long it takes for why every figure this file ever carried was wrong. Say what it does and what it writes; the live meter reports the rest as it happens.
Harness audit — rates this repo's agent config against the six tiers.
Read-only; writes to harness-audits/.
Then one AskUserQuestion call carrying two questions, so it is a single interaction:
| Question | Options | Default |
|---|---|---|
| How deep? | Quick look · Standard · Thorough | pre-select whatever the flag or the phrasing implied — Standard when nothing did |
| What output? | Markdown only · Markdown + light HTML · Markdown + dark HTML | Markdown + light HTML, or whichever theme --theme: named |
| Rate T1 too? | No — repo only · Yes, read this project's prompt history | No. The only read outside the repo, and the one most worth refusing |
Three questions, still one interaction. The T1 question is the difference between six rated rungs and five, and it cannot be inferred from anything in the tree — so it is asked once, here, where the reader is already deciding what the run may do.
Format and theme are one question, not two. Theme is the least consequential axis in the run and asking it separately spends a decision on it. Folded in, it is only asked where it means something — and the Markdown only path never has to answer it at all.
Say what Markdown only buys structurally: it skips the layout pass entirely. The HTML is generated serially by the same context after the markdown, so choosing markdown-only removes a whole phase of writing. Do not quantify it — no fraction, no minute count, no token figure. What runs is a fact; what it costs is not one this file gets to state.
Recommend Standard, and say why it is the recommendation — the reason is not "more coverage", and stating it wrong oversells the other two:
| Option | What to tell them |
|---|---|
| Quick look | One lens. Every finding is still verified, so nothing unchecked ships — you just see less of the repo, and no finding gets flagged as contested, because there is no second reading to disagree with it. |
| Standard — recommended | Two lenses read independently. Where they disagree, the clash itself is the signal: pooling flags it and the verifier takes it first. A real run had one finder report site/eslint.config.mjs missing when it exists — the second lens is what turned that from a shipped finding into a caught error. |
| Thorough | Four lenses, adding hygiene and context-economy — twice the finders, so materially more time and spend. Worth it when you want the sweep exhaustive, not when you want it right. |
Do not claim the second finder is what makes findings true. The verifier does that, and it runs in every mode. What the second lens buys is disagreement — a contested claim surfaced before the verifier sees it, and prioritised when it gets there. Say that, not more.
Pre-select, don't interrogate. A user who typed --deep has answered the first question; show it answered and let them confirm with one tap. The interview exists to make the spend visible, not to make them specify it twice.
Ask for intent, never for a number. "Quick look / Standard / Thorough", not "how many finders?" — nobody's first question is how many agents they want, because nothing has told them what a finder is. The mapping to --quick / default / --deep is this skill's job.
Say the cost structurally, in the option labels — "one lens instead of two", "twice the finders". That is a fact about what runs, not a prediction about the clock, and it is the honest way to make the trade visible where the choice is made. A number nobody can stand behind belongs nowhere; a number two paragraphs above the buttons belongs nowhere either.
Say what the T1 option reads, in the option label itself. "reads this project's prompt history" — not "enables T1". A permission question whose label describes the feature rather than the access is not a permission question.
Say what it writes before it writes it. Two files into harness-audits/, and nothing else touched. That is the only write this skill makes, and it lands in the user's repo — it is the real consent moment, more than the finder count is.
No duration, no token figure, no comparison to a previous run — at setup, in the report, or anywhere in between. Not a range, not a hedge, not "a few minutes", and not "the last run here took 38m" either. A measured past run is still presented as guidance for this one, and repo size and depth move it enough that the number misleads exactly when it matters.
Every figure this file has carried was wrong. It said 5–10 minutes, then 15–20, then 18, against real runs of 26 and 38. Each correction was written by someone who believed the new number was the accurate one. The pattern is the evidence: the problem is not which number, it is that a number is being stated at all.
What replaces it is the live meter in the strip — elapsed time and tokens as they actually accrue. That reports what is happening rather than predicting what will, and it needs no baseline to be honest.
The moment the answers come back, emit the progress block and nothing else. Its header line already carries the resolved config, so a separate "Running Standard — 2 finders + verifier…" sentence says the same thing twice:
Harness audit · krivitskydotcom — Quick look · 1 finder + verifier · markdown only
✓ setup → · re-check → · research → · cross-check → · fact-check → · reportSpawning both passes now.
A run given both forms emitted the sentence and skipped the block, then produced the strip two minutes later once the agents were already out — so the reader spent the opening with no phase display at all, which is the one moment it is most needed. One mechanism: the block is the confirmation.
The header echoes the resolved config, so a misread is catchable while it is still cheap.
Describe the lenses, never name them. "1 finder (Enforcement)" tells the reader nothing — Enforcement is this file's word for a bundle of check IDs, and it leaks the same way pooling and finders did before the strip was rewritten. Say what it is doing, anchored to the phase word: "research reads what's declared against what actually holds". Under Standard, "research runs twice, independently — one for what holds, one for what contradicts".
Anchor it to research, because a loose description becomes a name. An earlier version of this line said "two passes reading independently", and a run compressed that into "then the reading pass" — a seventh phase word, invented from a sentence meant to explain the third one. Descriptions get shortened by whoever repeats them; if the phase name is not the thing being shortened, the shortening replaces it.
Never mention ctrl+b. The runtime already prints (ctrl+b to run in background) beneath every agent it spawns, so saying it again is a second spinner — the same duplication §Say something at each pass boundary forbids for progress bars, applied to a keybinding.
And it is not reliably true. That affordance backgrounds the agent the runtime is showing, not the skill invocation; the orchestrating context still holds the session. A run that promises ctrl+b "backgrounds it safely" is describing behaviour it does not control.
The wait no longer needs escaping anyway. Findings stream, the re-check lands in the first minutes, and the strip closes every message. Telling the reader to look away is an argument against everything else in this section.
The first characters you emit are harness-audit v. Not a sentence about what you are about to do — that string, literally, as the opening of the first message.
This is stated as a test rather than a prohibition because the prohibition failed three times, each with a new phrasing:
❌ "I'll run the harness audit on this repo." ❌ "I'll start with the frame, then confirm the shape before spawning anything." ❌ "I'll start with the audit intro, then two questions before anything spawns."
Banning examples teaches the shape, not the rule, and the shape has infinite variants — every one an announcement that the next line is coming. If your first message does not begin harness-audit v, delete whatever is above it.
The introduction is the first thing said; the frame is the second. Nothing precedes them.
❌ "I'll run the harness audit on this repo." — restates the command back at the person who typed it ❌ "I'll start with the frame, then confirm the shape before spawning anything." — narrates the procedure it is about to perform
The second is the one that keeps returning, because it reads as helpful orientation. It is not: the reader learns the shape from the frame one line later, and announcing an intention to do a thing is never worth a line when the thing itself is the next line.
The auditor field on the report cover carries the resolved shape, so the mode is also verifiable after the fact.
| Flag | Finders | Gauntlet | Budget | Verifier |
|---|---|---|---|---|
| (none) | 2 — Enforcement, Coherence | rendered | ≤20 reads each | always |
--quick | 1 — both lenses in one pass | dropped | ≤12 reads | always |
--deep | 4 — adds Hygiene, Economy | rendered | ≤25 reads each | always |
--theme:light · --theme:dark is orthogonal to the three above and combines with any of them. It changes the report's appearance and nothing about the audit.
| Value | Build |
|---|---|
--theme:light (default) | inline report.css |
--theme:dark | inline report.css, then report-dark.css after it |
Both themes are named. Not a bare --dark — a boolean flag leaves the other theme with no way to ask for it, so the report can only tell a reader to remove something rather than to request what they want.
The report never advertises its own theme. A line reading "Dark theme. For the light version, re-run the audit with --theme:light" spends the most-read position in the document telling the reader how to regenerate what they are already holding. The auditor field on the cover records the resolved flags, which is where a fact about how the run was configured belongs.
Cheap mode reduces recall, never precision. --quick buys speed by looking at less, never by checking less — there is no flag that skips verification, because unverified findings are the failure this design exists to prevent. A user who wants it faster gets fewer lenses and the same standard of evidence.
The verifier is the last thing to cut, not the first. It is the only phase whose removal changes what the report is, rather than how much of the repo it covers. Roughly a third of candidates get cut or corrected there. A run without it does not produce a quicker audit; it produces a document where one finding in three is wrong, addressed to someone who will act on it in their own repo. Speed that costs correctness is not a cheaper version of this skill, it is a different and worse one.
Nor may the finder verify its own claims to save the pass. The context that formed a claim is the worst available judge of it — it already has the reasoning that produced the error. Verification works because the verifier arrives with no memory of how the claim was reached and only the file in front of it. Folding the two together removes the mechanism while keeping the word.
The report's default register drifts abstract, and abstract prose reads as authoritative while saying nothing. A shipped scorecard note read: "Two instruction layers, neither authoritative and both resident, with no step that reconciles them when one changes." The reader's verdict was "I don't understand this." They were right — three nominalisations, no picture, nothing a person could point at.
❌ "Two instruction layers, neither authoritative and both resident, with no step that reconciles them when one changes." ✅ "
CLAUDE.mdand five skills both hold rules. Neither one wins, both load every session, and when one changes nothing updates the other."
Same claim, same length, and the second one can be pictured.
CLAUDE.md, not "the instruction layer". Five skills, not "the extension surface".Confirmed, Probable and Not assessed: they are labels in a table, not nouns in a sentence.This applies everywhere — scorecard notes, summary, issue prose, backlog items. Evidence gets to be technical; the sentence around it does not. LINK_CHECK_SKIP=1 is precise and belongs; "disables a deterministic verification pathway" is fog around it.
Every finding gets a display ID — ISSUE-1, ISSUE-2, … — unpadded, carried over from the previous report where the key matches and allocated fresh otherwise; see §Display IDs are allocated once and never reused. They will not run in table order, and should not. And this shape; the middle three are what separate a report from a linter.
Sort by severity, then by tier ascending — in the issues table and the backlog alike, and check the backlog against §1 before shipping. A run shipped a §1 reading "the next lever is T3" above a backlog opening T5 · T5 · T4, with the first T3 item fourth. Both halves were defensible on their own — the backlog had ordered itself by cost, cheapest-and-loudest first, and said so in its own lead — and together they told the reader two different things to do first. The lever is the report's single most actionable sentence; a backlog that opens somewhere else has overruled it silently.
The check is mechanical: the first backlog item must sit on the rung §1 named. Where it does not, one of the two is wrong — fix that, don't reword around it. Severity-then-tier produces the right order by itself, because the lever is by definition the lowest rung that doesn't hold, so its Highs sort above every other High.
And §3's lead must describe the order it actually used. The same run's lead promised "items early on are cheap and stop something from lying to you; items later are larger reorganisations" — a third ordering, matching neither the sort above nor the lever, and not consistently followed either. A lead that describes a different sort than the list below it is worse than no lead.
Severity alone interleaves rungs inside a band — a High on T3 sitting under a High on T5 — which contradicts the scorecard's lever and the backlog's order in the same document. The lower rung comes first because the higher one rests on it. The backlog uses the same key, and each backlog item carries its rung (— T3 · ISSUE-1) so the ordering is visible rather than asserted.
Not H-. An earlier version used it (for harness), never defined it anywhere, and put it one column away from a severity column containing High — so H-013 · Low read as a contradiction to anyone scanning the table. A prefix that collides with a value in the neighbouring column is a bad prefix however defensible its etymology, and an abbreviation the report never expands is a decoding tax on every reader to save four characters. Spell it.
| Criteria | The standard, stated positively — not "you're missing X". Take it from the guide tip the finding cites, so the bar is the guide's and not this pass's invention. A criteria line the audit made up is the first place a wrong finding hides |
| Condition | What is true, with file:line and an excerpt quoted from the file read in full context — never lifted from a grep hit. Where two files bear on one claim, read both and say what the pair shows; a contradiction between them is usually the better finding |
| Cause | Why it drifted. Almost always process, not ignorance: "the allowlist grew by accretion — each entry added to unblock one session, and nothing treats a permission change differently from any other config change." Guess honestly and say you're guessing |
| Consequence | What it costs in practice. Name the failure mode, not the rule |
| Corrective action — now | The smallest thing that closes it, with the literal lines to paste |
| Corrective action — structural | What stops it recurring |
A report once recommended the wrong hook event with total confidence. The reader's verdict — "trust the report's problem, not its wiring" — is the whole design brief: when diagnosis and prescription speak in one voice, a wrong prescription discredits a correct diagnosis. Separate them and a bad fix costs only the fix.
Every corrective action carries three things the finding does not:
| The requirement, stated before the mechanism | "The rule fires at push time; the gate must fire there too." A reader can then accept the requirement and reject your mechanism — which is the point. Fuse them and they can only accept or reject both. |
| The assumption it rests on, written as a refutable sentence | "This assumes npm run verify is deterministic outside CI — checked at playwright.config.ts:38." This line is the actual control: you cannot write it without opening the file, and once written it can be proved wrong by someone who knows more than you. Unstated assumptions are the ones that ship. |
| Its own confidence | A Confirmed finding routinely carries a Probable fix. Say so: "Fix: Probable — I have not run this against your dev-server setup." Collapsing them into one number is how a solid diagnosis inherits a shaky prescription's risk. |
Where the reader knows more than the audit, ask instead of answer. A static review cannot see which server is warm on :3007, how long the suite takes, or which rules the team has already given up on. Turning those into questions — "before wiring this into a gate, check how your Playwright config resolves the server outside CI" — gets the right answer from the person holding it, and costs nothing when they already know.
Ship runnable content, at the altitude you can defend. This is not a licence to hand back homework — a corrective action with nothing executable in it is worthless. But the mechanism is the part this pass is most often wrong about, and the acting reader can check it in seconds where the audit could not. So the requirement binds, the lines illustrate, and the check that would falsify them is named. "Baseline — confirm X before applying" is worth more than a confident block of JSON, because the confident block is what shipped wrong twice.
Design target: a report an agent with more context can trust and act on. Whoever acts on this — a person who has worked in the repo for a year, or an agent that can run the suite, read every file, and try three approaches — is very often better positioned than this pass was. That sets the altitude for everything below. This audit is a budgeted, read-only, single-pass review; where it descends into specifics it cannot check, it manufactures exactly the claims a better-positioned reader will refute, and each refuted claim spends trust the sound findings needed.
So state the standard, state what was seen, and mark the uncertainty — then stop descending. Requirement-level statements anchored in a guide tip survive review; mechanism-level assertions are what get overturned.
The failure to avoid is a ceiling: hand an agent working JSON and it pastes the JSON. It will not look for the better mechanism, because nothing asked it to — and the one thing this audit was most confident about is the thing it got wrong.
So each corrective action makes the requirement the contract and the code the baseline:
Requirement: the gate must fire at push time, run the same command CI runs, and not tax commits. Baseline that meets it: (the literal lines) Better welcome: if you can satisfy the requirement more cheaply or more robustly with what you can see from inside the repo, do that instead — the requirement is the contract, not this implementation.
And give them what they need to go past you. The .md twin's job is not "the same report, machine-readable" — it is a briefing, so it carries what the HTML doesn't need:
open-questions:
- Does `npm run verify` complete in under 60s on a warm machine?
Not measurable statically; decides whether a push gate is tolerable.
- Are any of the 56 rules already known-dead? Killing them beats enforcing them.
- Is `edge-tts` expected on PATH for other contributors, or is audio a solo task?
budget-hit: no — finders 18 + 14 of 20 each · verifier 21 of 25
cost: 18m · 340k tokens · 2 finders + verifier
cost: records what this run took — wall time from start to report written, total tokens across every pass, and the shape that produced them. It is a measurement of something that already happened, which is the only kind of cost figure this skill states. Nothing reads it back as an estimate, and no run quotes it at the reader; see §Say nothing about how long it takes.
Open questions are not hedging. Each one names something the audit genuinely could not determine and says what it would change. A question that would not change a recommendation is noise; cut it.
Then say so in §6: "If you find a better solution than the one proposed, the finding is what mattered — take it."
The correction is altitude, not breadth. Do not offer three options and let the reader choose — that is decision-dumping, and it is the same mistake as gating by tier. Climb one rung above the mechanism, state the requirement there, then commit to a single mechanism that meets it:
❌ "Add a
Stophook runningnpm run verify." ✅ "The rule fires at push time, so the gate must too — that meansPreToolUsematched ongit push, the only event that fires there."
Same one recommendation, one sentence longer, and now refutable. The failure it prevents is pattern-matching: enforcement means hook reaches for the hook in the tip's example instead of the hook the rule needs. Writing the requirement first forces the mechanism; skipping it lets the example pick.
Say it once in §6: corrective actions are proposals; a finding stands even if its fix is wrong.
Say when findings compound. "Combined with ISSUE-1, the configuration reads as gated to anyone reviewing it, while in practice nothing blocks." Two findings that multiply are worth more than their sum, and a reader who fixes one and not the other has fixed nothing. Look for these deliberately.
| Critical | A single bad turn is unrecoverable — destroyed work, rewritten shared history, leaked live credential |
| High | Silently wrong behaviour, or a guardrail that doesn't hold |
| Medium | Real cost, recoverable — waste, drift, inconsistency between sessions |
| Low | Friction or a latent trap |
| Info | Worth knowing, no action |
Never collapse these. Medium / Probable and Medium / Confirmed are different asks. A reader deciding what to do this afternoon needs both numbers.
A finding may only assert what a file shows. Absence of a positive is not a negative — if the tests might be in an unusual place, that's Probable with the search printed, never a confident miss.
Redact secrets. A credential is reported by shape and location, never reproduced: "sk_live_••••••••••••". The report gets committed; do not put the key in it twice.
Observations (O-1…) are not findings. Things with no measurable effect on behaviour, recorded so they're not mistaken for oversights — including praise that's actionable: "the API file uses worked examples rather than prose rules; that's the strongest writing here and worth copying to root." Say explicitly they need no response.
The axis is the tier ladder, not the check catalogue. checks.md categories stay where they are good — filing a finding — but the scorecard is indexed T1–T6, so a reader who sees a weak rung knows which part of the guide to open. Take the names from guide.md's ## Tier N — headings, never from a mirror:
T1 Prompt · T2 Plan · T3 Verify · T4 Enforce · T5 Orchestrate · T6 Supervise
Each finding already cites a tip; the tip number gives its tier. A finding that blocks two tiers counts against both — a missing .claude/settings.json genuinely stops you doing T4's hooks and permissions and T6's guardrails for unattended runs, and a rating reads as "can this repo do this tier's work", not as a fault tally.
Rate each Strong · Satisfactory · Moderate · Weak · Missing · Not assessed, with a one-line note.
This is not tier-gating. ## Method forbids inferring how ambitious a repo should be and withholding findings above an imagined ceiling — a claim about intent a repo cannot support. Reporting where the harness currently sits is an observation, and the guide's own "which tier do you need?" exists so the reader sets their own finish line.
Close the lead with a short "where that is, for this repo" paragraph. Which rungs carry this repo's weight is the most useful thing the tier axis can produce, and leaving the reader to derive it from six ratings wastes the axis.
Three conditions make it a recommendation rather than the ceiling ## Method bans:
| Built on what the repo shows | "All 561 commits are by one author and only three are merges, so work lands on main directly." Countable. Not "this looks like a side project" — an earlier run guessed exactly that about a 561-commit live site and was wrong. |
| Marked as an assumption | Say plainly it is drawn from the repo's shape and can be wrong. The reader knows their own plans; the audit is offering a reading, not a verdict. |
| Changes nothing that ships | State outright that no issue was withheld, renamed, or downgraded because of it. Every issue is listed at its own severity regardless of which rung it lands on. The moment focus starts filtering findings, it has become the ceiling. |
Signals worth reading for this: author count and merge ratio (git log --format=%an, --merges), whether anything runs unattended, whether a push reaches production directly, whether skills already dispatch subagents. Where a rung genuinely doesn't bite, say what it depends on — "nothing here runs unattended, so T6 has nothing to supervise" — never "above your level." That belongs in the rung's own note, not the lead.
Name only the rungs that carry the weight. A draft went on to say "T6 has nothing to supervise. T5 matters in one way only…" — both of which are the table's own rows, in the table's own words, eight lines above the table. The lead says where to look; every other rung speaks for itself in its row.
Walk the rungs from T1 upward. The next lever is the lowest one not rated Strong or Satisfactory. Name that rung and no other.
The rule falls out of the ladder itself: each rung rests on the ones below, so a weak lower rung caps everything above it. Working on T5 while T3 is broken is effort spent on a rung that cannot hold.
| Ratings | The lead says |
|---|---|
| T1 Satisfactory · T2 Satisfactory · T3 Weak · T4 Moderate · T5 Weak | "T1 and T2 hold, so the next lever is T3. T4 and T5 are weak too, but both rest on T3, so it goes first." |
| T1 Weak, anything above | "T1 is the next lever" — even if the interesting problems look higher up |
| Everything holds to where the work stops | Say so plainly; no lever is a real answer |
Higher weak rungs get named as resting on the lever, never as parallel priorities. A range — "the weight sits on T3–T5" — is not an answer to what do I do next, and it contradicts the sentence above it by implying T1 and T2 were skipped. Where lower rungs hold, say they hold; they were passed, not ignored.
When the lever lands on T1 — or on T2's planning habits — the fix is a person, not a file. T1 is how the operator prompts and keeps the context window clean, and T2's planning half is how they shape and slice work — there is nothing to add to the repo, so the usual corrective action has nothing to act on and "write better prompts" is not one. T2's other half is files (CLAUDE.md, Skills, MCP, secrets, hand-off notes); a T2 lever that rests on those gets an ordinary corrective action. Name the two things that do work, in one line: the coach (/pape:agentic-coach, catches it in the flow of real work) and the tutor (the guide repo's CLAUDE.md, which teaches the rung and reads real prompts to tailor it). This is the only place in the report where the recommendation is a tool rather than a change.
what this repo is → the verdict, and the mechanism behind it → the direction → the lever, and why that rung. Four beats, roughly 200 words.
Context comes first because it frames everything after it, and a draft that opened with the verdict and put the methodology second read as three disconnected blocks — the reader's verdict was that it did not hold together. Rating machinery is never the second thing anyone needs.
The middle beat used to be how it is doing, and that is what went wrong. It is a prompt with no test attached, so it got filled with whichever findings were freshest — and the result passed for a summary while being the findings table at greater length. Replacing it with the verdict, and the mechanism gives the beat something it can fail at: a paragraph either names the cause behind the cluster or it does not, and one that lists symptoms is now visibly missing its second half.
The mechanism is the single most valuable thing the lead produces. Every tier cell describes symptoms on its own rung; nothing else in the report is allowed to look across rungs and say why. A reader who learns that twelve issues are one uncontrolled layer can fix the layer; a reader given twelve issues fixes twelve issues and gets twelve more.
Each beat carries a disqualifying test:
| Beat | Fails if |
|---|---|
| What this repo is | it does not say what an agent can reach from here — the stakes are the orientation |
| Verdict + mechanism | it names symptoms without a cause, or the cause does not account for the count it just cited |
| Direction | it states a delta the baseline cannot support (see below) |
| Lever | it names a rung without saying why that one before the others the reader can see are also weak |
The reader can see the other weak rungs, because the tier table is directly below. A lead that names T3 and says nothing about the other Weak row has left the most obvious question in the report unanswered.
New means new to the audit unless the baseline can prove otherwise. A run reported eleven new issues against a baseline from ninety-nine minutes earlier, in a different mode, at a different version — nothing was introduced into that repo in ninety-nine minutes. Say which one it is, and where a re-check left keys untested, say the direction is partly unknown rather than quietly counting unknowns as closed.
Where a tier genuinely doesn't bite yet, say what it depends on — "nothing here runs unattended, so T6 has nothing to supervise" — never "above your level." That is Not applicable with a reason, and it is a real answer, not a gap.
Avoid: the findings table in prose. That is the name for this defect — a paragraph whose sentences are the table's rows, restated at greater length and stripped of the IDs, severities, confidence marks and links that made the table worth reading. It can appear in the lead, in a rating cell, or in §6, and it is always the same mistake: a level of the report doing the job of the level below it, worse.
The lead names the pattern and at most one instance of it. It never recites the findings. A shipped lead spent its middle paragraph on three issues in near-full detail — the palette contradiction with its thirty-one colours, the two files disagreeing about publishing, the outbound-link checker and which caller skips it. Measured across that report, palette, outbound-link and eslint each appeared four times: the lead, the tier cell, the summary row, and the finding itself. Three restatements before the one place that carries the evidence.
Each restatement was worded differently, so a reader could not tell whether they were meeting one issue four times or four related issues once each — which is the specific cost, beyond the length.
| Level | Says | Never |
|---|---|---|
| Lead | the standing condition, its shape, and how much of the report it accounts for | a list of instances |
Rating cell (HERE) | what the grade rests on — count and kind | a findings index in prose |
| Summary row | the issue's one-line identity | — |
| Finding | the evidence | — |
❌ "Two files load into every session and disagree about what finishing means. A third disagreement is new and louder: the always-loaded file declares a colour palette the single source of truth and says never to go outside it, while a second palette in the slides spec ships thirty-one colours that are not in it. And the outbound-link checker…" ✅ "The instructions are where it hurts, and wider than the last run showed. Two layers load into every session —
CLAUDE.mdand five skills — and nothing reconciles them when either changes: nine of the twelve T2 issues are one of them contradicting another, the newest being a colour palette declared single-source-of-truth that a second palette already overrides. The pattern now reaches past instructions into the gates themselves."
One instance, and it must be doing a job abstraction can't. Stripping every specific is the opposite failure — §Write it plainly exists because abstract prose reads as authoritative while saying nothing. The lead earns one concrete anchor; the second and third are the table's.
The distributional facts are the lead's own material, and nothing else has them: nine of twelve, wider than the last run, the pattern reaches past instructions into the gates. A count of how the issues cluster is a statement about the repo; a list of the issues is a statement the table already makes better.
Never claim a pattern the instances do not share. That same lead opened "the pattern is wider than the last one showed" and supported it with two instruction files contradicting each other (T2), a palette contradiction (T2), and a working gate bypassed by its callers (T4) — a different tier and a different mechanism, with no contradiction in it. The paragraph asserted a pattern and then changed subject to fill it out.
The connectives are the tell. "A third disagreement is new and louder" · "And the outbound-link checker…" — enumeration words. A lead doing analysis needs because, which is why, in the same window; a lead reaching for a third item to make a paragraph needs and.
Test before writing the sentence: do the cited instances share a mechanism, or only a report? Different tiers with different causes are two findings about one repo, not one pattern with two faces. Say two things, or say one thing and let the table carry the rest.
The strongest version of this beat is a direction, not a state. Counts of what is wrong are in §2; what only the lead can say is which way the numbers are moving and why:
✅ "Twelve of the twenty issues are one instruction layer contradicting another. Eleven are new since Sunday, in the same window where you closed two gates — the fixing is working and the drift is outrunning it. Nothing reconciles
CLAUDE.mdagainst the five skills when either changes."
Distribution, delta, direction, mechanism — four facts the run already holds, none of them available anywhere else in the report.
The failure to avoid: notes written as findings-in-miniature, which turn the scorecard into another index of the same events.
❌ "Four live contradictions between
CLAUDE.mdand the skills, one of which already produced a false 'done' in production." ✅ "Two instruction layers —CLAUDE.mdand five skills — with no reconciliation step between them."
The first is an event and belongs in the findings table. The second is a standing condition, and a rating is a rating of a condition. Test each note: if it could be pasted into the findings table unchanged, it is written wrong. Findings say what happened; the scorecard says what the repo is like.
This rule keeps being read as applying to one sentence. A shipped T2 cell obeyed it for its opening clause and then enumerated four findings in a row — "Two instruction files give opposite orders about finishing a publish. A palette declared the single source of truth is contradicted by a second palette that already ships. Two skills forbid a dev server that two other places require. Three pointers…" Each of those is an incident; four of them is an index.
The grade rests on count and kind, not on instances. "Twelve issues, nine of which are one instruction file contradicting another, and three of which are pointers to things that no longer exist" tells the reader what Weak is measuring and sends them to §2 for which twelve. A reader who can reconstruct the findings table from the scorecard has been given the same list twice at different lengths.
A rating of a condition raises a question the report has to answer, and a reader asked it outright: "T2 is Weak and there are three High T2 issues — is fixing those three all it takes?" Usually not, and nothing in the report said so.
So each rung carries a third line beside FOR and HERE:
T2 · Plan — Weak FOR Shape and slice the work before you build, and give the agent the context it needs. HERE Two instruction files and five skills hold rules on the same subjects. Neither wins, both load every session, and when one changes nothing updates the others. TO LIFT IT One layer wins, or a step reconciles them when either changes. Closing ISSUE-1, 2 and 3 clears today's contradictions — not the structure that keeps producing them.
Name the condition that has to change, then say plainly whether the listed issues are sufficient. They usually are not, and saying so is the difference between a rating and a score: a fault tally goes down when you fix faults, a condition does not change until the thing generating the faults does.
Where the issues are sufficient, say that too — "closing ISSUE-7 lifts this; there is nothing structural behind it." That is the cheerful case and the reader deserves to know which one they are in.
Do not turn it into a fix list. §3 owns the backlog. One sentence naming the structural change, one clause on whether the issues cover it, and stop.
A rung with no findings still gets the line. "Nothing to lift — checked and it holds." Silence there reads as an omission rather than a pass.
This matters most for tiers with no findings — those notes are the section's actual contribution, and they have nothing to restate. A tier where the audit looked and found the work already done should say so plainly; "checked, and it holds" is information the findings list structurally cannot carry.
Never total them. No overall score, no percentage, no averaged bar, and no "you are at T4" sentence. An earlier version drew a fill bar per group; the bars ended up identical and cheerful regardless of content, and a repo with excellent CI and no agent guardrails scored as healthy. A gauge is read as a grade whatever the caption says — so a rating may only ever appear per tier, next to the note that explains it, never summed and never collapsed into a level.
Not assessed was doing three incompatible jobs, and a reader could not tell them apart. Use the one that is true:
| Mark | Means | Test |
|---|---|---|
| Not applicable | This rung does not apply to this work — "nothing here runs unattended, so there is nothing to supervise." Explicitly not a gap. | Would the mature version of this repo still have nothing here? Then it applies |
| Not assessed | The audit did not reach the evidence. Always name why — "consent for transcript access was not given" is a different state from "needs evidence this method cannot reach", and only the second is a limit of the audit rather than a choice | Could another pass have got this? Then say what it would take |
| A real rating | The audit looked and found the answer, including when the answer is "nothing is there." | Is this backed by a finding? Then it is assessed |
T1 is assessable, and a run that skips it must say the reader declined — not that the audit couldn't. Prompting lives in session transcripts rather than in the repo, so it needs a source outside the tree; the plugin ships one. ${CLAUDE_PLUGIN_ROOT}/scripts/mine-prompts.sh <filter> reads ~/.claude/projects/*/**.jsonl read-only and prints a digest of real prompts, and its positional argument is a substring filter — pass the repo's directory name so it reads only this project's history, never a sweep of every local project.
Ask for it in the same AskUserQuestion as depth and output — a third question, still one interaction: "Rate T1 as well? It reads this project's prompt history — read-only, scoped to this repo, nothing leaves the machine." Default no. It is the only read this skill makes outside the repo it was pointed at, and it is the one a reader has the strongest right to refuse.
On yes, rate T1 from the digest against the tips in Tier 1: bare imperatives against outcome-plus-constraint, whether files and paths are named, whether scope is bounded, whether the ask arrives in one message or in five, whether /clear and /compact are used deliberately. The digest is a sample, so the rating is a rating of a sample — say so, and cite prompts rather than characterising them.
On no, the row says what was declined and how to get it:
✅
HERE— "Not rated: reading your prompt history was declined at setup. Re-run and accept the T1 question, or ask/pape:agentic-coach— it reads the same history." ❌ "The audit did not ask to read your prompts, so this rung was not reached."
The second sentence shipped, and it is wrong twice — it implies a run that could have asked and chose not to, and it leaves the reader with no way to get the answer. It then spent a TO LIFT IT line on "nothing to change in the repo", which tells them a third time that nothing is happening here.
TO LIFT IT is dropped on any unrated rung. There is nothing to lift until there is a rating, and the line was reliably producing filler.
Distinguish it from a rung this run happened not to reach. T6 went unrated because the schedulers publishing to that site live in the surrounding workspace, outside what was read — contingent on where the audit was pointed, and another run would answer it. T1's gap is consent, T6's is scope, and both are recoverable. Say which, and say what recovers it.
The trap: marking a confirmed finding as Not assessed because the thing is absent. A rung where delegation is dispatched from three skills but no agent definition is versioned has been assessed — the answer is that it does not hold. That is Weak, and a run once wrote Not assessed over exactly that, burying a Medium finding behind a non-rating. Absence you looked for and confirmed is evidence, not a gap in evidence.
Render the two non-ratings visibly but neutrally — they are answers, not footnotes, and a mark that whispers reads as a pass.
Link every tier name to its chapter — https://agenticengineering.guide/tier-<N> — and the section's opening line to …/climb-the-six-tiers. A weak rung that does not tell the reader where to read is the tier axis doing none of the work it was chosen for.
A guarantee is addressed to a suspicion, and printing it is how the suspicion arrives. Three separate lines were cut for this, all saying the same kind of thing to the wrong audience:
❌ "That is a reading, not a filter: every issue below keeps its own severity." ❌ "Ratings are per tier, never totalled, and never collapsed into a level." ❌ "19 candidate claims · 15 hold · 2 misstated · 0 cut."
Each states a rule this file already enforces at write time. Nothing is totalled, so the reader can see nothing is totalled; nothing was filtered, so there is nothing to reassure them about. A report that behaves correctly does not need to announce that it did.
The test: who is this sentence addressed to? If the answer is "someone worried the audit cheated," cut it — the sentence creates that reader rather than serving one.
The exception is a fact that changes what to trust: what verification removed — "one candidate was cut: the quoted line was a fallback" — belongs in §6, because a reader deciding whether to act on this report is better off knowing a claim was withdrawn. That is information, not reassurance.
A run once opened the scorecard with "Ratings are per tier, never totalled, and never collapsed into a level." Nothing is totalled, so the reader can see that; the sentence exists to stop the author doing something, and it was addressed to the wrong person. Same defect as the verification tallies on the cover — the audit narrating its own machinery instead of the repo.
Rules that constrain how the report is written stay in this file. The report explains only what the reader cannot infer from the page in front of them: what a mark means, what a tier is, where to read next.
Both files, every run, same basename in harness-audits/:
| File | For | Written |
|---|---|---|
<YYYY-MM-DD-HHMM>-report.md | agents — a briefing (see below) | first |
<YYYY-MM-DD-HHMM>-report.html | humans — the designed report | second |
.md Lands First, and the Run Says SoWrite the markdown completely, announce its path, then render the HTML.
Findings written to
harness-audits/2026-07-27-1142-report.md— readable now. Rendering the HTML.
Two reasons, and the second is the one that matters:
Latency. The markdown is the content; the HTML is the presentation of it. A reader who has been waiting twenty-five minutes can open the content while the render finishes, instead of waiting on a layout pass for a document they already paid for.
Durability. Everything expensive has already happened by this point — the finders and the verifier have all reported. Until something is on disk, all of it is held in one context and an interrupt, a crash, or a context limit loses the entire run. Writing the .md first makes the audit survivable at the earliest moment it can be, and the HTML is then re-derivable from it at any time by a fresh session at trivial cost.
This is not the re-render exemption. §A re-render is not a run governs re-presenting an existing finding set as a new report; this is one run writing its two outputs in a sensible order. Same timestamp, same basename, one audit.
The findings are written and the reader has them. Then ask once, and stop:
Findings are in
harness-audits/2026-07-27-1128-report.md. Want the designed HTML too — light or dark? It renders from this file, with no re-auditing.
Ask after, not before, because now the question is cheap. Up front, "do you want HTML?" is a guess about a document they have not read. Afterwards they have the findings in hand and know whether this is something to send someone.
Rendering later is the same run, not a new one. Same timestamp, same basename, same auditor line — the audit happened once and is emitting its second output late. It spawns nothing, re-reads nothing, and re-derives every word from the .md already on disk. A later session can do it too, which is the durability point paying off: the .md is sufficient input, so the render is never trapped in the context that produced it.
One offer. If they decline, do not ask again, and do not append it to the hand-off as a fourth option — §The hand-off already caps that at two.
| File | For |
|---|---|
<YYYY-MM-DD-HHMM>-report.html | humans — self-contained, no external fonts or assets, print stylesheet |
<YYYY-MM-DD-HHMM>-report.md | agents — a briefing: same findings plus open-questions and the budget actually spent, so a better-positioned reader can go past where this pass stopped |
target · branch · audited · auditor. That is the whole HTML cover:
target krivitskydotcom
branch main
audited 2026-07-25 21:35
auditor harness-audit v0.24 · 2 finders + verifier · claude-opus-5 · xhigh
The auditor value is <skill> v<version> · <shape> · <model id> · <effort>. Read <version> from ${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json at run time — never from the example above, which is a sample cover and goes stale every release. No effort label — beside a model ID, xhigh can only be one thing. Shape is one of 1 finder + verifier (--quick) · 2 finders + verifier (default) · 4 finders + verifier (--deep).
Count agents, not steps. Pooling is bookkeeping in the orchestrating context — no agent, no model, no tokens — so it is not a pass. An earlier cover said "three-pass (2 finders · pooling · verifier)", which inflated the number and spent a line saying nothing.
Record the resolved model ID and the effort level — never an alias. Which model ran the finders, and how hard it was allowed to think, decide what the output is worth; a reader comparing two reports needs both. opus is a request, not a fact: it is what you passed, and it resolves to something else.
Resolve it from the session transcript rather than assuming — the values are recorded per turn:
f=$(ls -t ~/.claude/projects/"$(pwd | tr '/.' '--')"/*.jsonl | head -1)
grep -o '"model":"[^"]*"' "$f" | sort | uniq -c | sort -rn | head -3
grep -o '"effort":"[^"]*"' "$f" | sort | uniq -c | sort -rn | head -3
The alias you passed appears alongside the resolved ID — take the resolved one. If passes ran different models, write finders <id> / verifier <id>. If effort was inherited rather than overridden, it is still a fact about the run and still gets recorded — inherited is not unknown, and the command above tells you which it was. What is forbidden is printing a level you did not verify.
target is the repo name alone. No (local checkout) qualifier — this skill only ever reads the working directory, so the parenthetical distinguishes against alternatives that do not exist, and branch already says where in the repo. Add a qualifier the day a run can target something else.
Not findings — the severity counts are already tiles in §2, and a cover that repeats them is a cover doing §2's job.
Everything else the run knows — keys-open, keys-was-wrong, verification tallies, per-pass read budgets, the method sentence — goes only in the .md cover fence. It is provenance written for the next run to parse, not for a person.
The audit does not report on itself in the human file. "19 candidate claims · 15 hold · 2 misstated · 2 over-scoped · 0 cut" is the audit admiring its own machinery; the reader came to learn about their repo. The one place verification belongs in the HTML is a single line in §6 stating what it removed — "one candidate was cut: the quoted line was a fallback" — because that changes what they should trust, and a tally does not.
A cover that fills a screen has already failed. If it does not fit in three lines of a grid, cut fields, not font size.
Nothing on the cover appears twice. It accumulated a kicker reading "Agent Harness Audit — Static Configuration Review" above a title reading "Harness Audit Report", and the repo name as a subtitle above a target field holding the same string. If a line restates the title or a field, cut the line.
The whole cover, in order:
Professional Agentic Product Engineering | See on GitHub ← 11px kicker, both linked
HARNESS AUDIT REPORT ← title
target · branch · audited · auditor ← the four fields
Light theme. For the dark version, … ← theme note
The kicker's two links are the guide (agenticengineering.guide) and its source repo. A reader who finds a rule wrong or a check missing can go straight to where it is written and open a PR — the report is the most likely place someone meets this material, so it carries the way back.
The kicker carries the brand, never a description of the report. "Professional Agentic Product Engineering" names where the method comes from and says nothing the title says — that is why it earns the line. A kicker that describes the report instead is both duplication and a decorative constant nobody re-checks when the method changes.
The kicker was also quietly false: once a run reads session transcripts to rate T1, "static configuration review" stops being true. Method belongs in auditor, where it is one string that changes with the run instead of a decorative constant nobody re-checks.
The kicker at the top says where the method comes from. The footer says what to do with it, for the reader who has now read sixteen findings and wants somewhere to go:
Method: the Professional Agentic Product Engineering guide — 65 tips across six tiers. To get these caught while you work, install the coach (
/pape:agentic-coach); to learn a rung properly, the guide repo tutors you through it.
Count the tips when you write it — grep -c '<a id="tip-' ${CLAUDE_PLUGIN_ROOT}/guide.md — rather than trusting the number in this sample. One line, in the footer, and only there. Not in §1, not in the backlog, not repeated per tier. A report whose findings advertise are an advertisement with findings attached, and the reader stops crediting the findings.
It is a pointer, never a pitch. No benefit claims, no "supercharge", no second sentence. It earns its line the same way the kicker does: a reader who disagrees with a rating, or wants the rung explained rather than scored, currently has nowhere to go — this is the way back to the material the ratings came from.
The exception that outranks this is §The scorecard's T1 rule: when the next lever is a rung no file can fix, the tools are the recommendation and belong in the lead. That is not promotion, it is the only correct corrective action — and it does not remove the footer line.
Inline ${CLAUDE_PLUGIN_ROOT}/skills/harness-audit/report.css verbatim into a <style> block. Never link it, never rewrite it, never invent a stylesheet per run.
Two rules, and the second is the one with teeth:
~/Downloads. A linked stylesheet breaks the moment the HTML moves without its neighbour.This exists because the design was left unspecified once, and the next run reinvented it: a markdown dump in a system sans stack, with a dark-mode block that rendered the whole thing dark on a dark-themed browser. The reader's verdict was "we lost the style — it was white and more readable." Unspecified means reinvented, the same way Scorecard grew into Maturity scorecard and the first-run Trend line grew into an essay.
report.css carries its own constraints in comments — light-only, serif body, and no gauge class. Honour them. The report before last rendered eleven fill bars that §Rating categories forbids in prose; the rule lived in this file and the CSS lived in the output, so nothing reconciled them. Now the prohibition is in both.
ISSUE-3 is clickable everywhere it appears — the §2 table, the Trend entries, the compounding notes, the §3 recommended backlog. All of them are same-document anchors; the report never links out to another file for its own content.
Emit the anchor explicitly. Do not rely on heading slugs.
| File | Anchor target | Link |
|---|---|---|
.html | <h3 id="issue-3" class="finding"> | <a href="#issue-3">ISSUE-3</a> |
.md | <a id="issue-3"></a> on its own line, immediately above the ### heading | [ISSUE-3](#issue-3) |
The markdown case is the one that bites. A heading reading ### ISSUE-3 · Skills declare "done" off Vercel alone slugifies on GitHub to #issue-3--skills-declare-done-off-vercel-alone — so a bare [ISSUE-3](#issue-3) points at nothing, and renders as a live link that goes nowhere. guide.md already uses the explicit-anchor pattern for every tip; follow it. Renaming a finding then silently breaks every reference to it, which is why the anchor must not be derived from the title.
Check before shipping: every #issue-N referenced has a matching anchor emitted, and every finding has one.
The HTML must carry the class contract — .cover + .meta, .sechead with a .num, .trend with .tag, .cov columns, ol.q, .score/.row/.rating, .counts, .tbl + .chip, .finding + .f-meta + .attr, .limit for requirement boxes, .seq, .obs, footer. The markup is what carries the design; report.css styles almost none of a bare <h2>/<table> document.
How you emit it is open — typed directly, or built by a converter that knows this report's structure. What fails is a generic markdown-to-HTML pass, which can only produce headings, paragraphs, and tables, and silently downgrades the report to a styled document dump. That has happened; it is what replaced a designed report with a markdown render in a system sans stack.
The check is on the output, not the method: if the emitted HTML contains no .finding, no .attr, and no .sechead, it does not ship regardless of how it was made.
charset Is Not Optional<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Harness Audit — <target> — <YYYY-MM-DD HH:MM></title>
<meta charset="utf-8"> is load-bearing. A report carries hundreds of em dashes and middots — one run emitted 308 and 92 — and a browser opening a local file with no declared charset falls back to latin-1 and renders every one of them as mojibake. The reader who hits this is the one opening it from ~/Downloads, which is exactly the travelling case the self-contained rule exists to serve.
Grep for it before shipping, alongside the class contract: grep -q 'charset' report.html. It is one line and it closes the whole class.
Verification of this artifact is textual: the class contract and the head above. Do not start a web server, do not drive a browser, do not screenshot it. A run did all three — losing minutes to a port collision — because a global instruction file said to verify UI changes in a real browser, and it read the report as UI.
It isn't UI. It is a static document with no interactivity, no state and no responsive behaviour worth exercising; everything that can break in it is visible in the markup. The one real defect a render ever caught here was the missing charset, and that is now a mandated line and a grep — which is why the render is no longer buying anything.
A repo-level rule about verifying UI does not reach this file. The audit is read-only except its two reports, it is already the longest-running thing in the session, and an instruction written for the user's application code has no jurisdiction over the audit's own output. Where a global rule and this skill disagree about the audit's scope, this skill wins — and note that a global file quietly overriding a skill's scope is C-1, which this skill reports as a finding when it meets it in someone else's repo.
Three blocks: the news, the evidence and what to do about it, then the method. Same order in both files.
An earlier version opened with scope, then open questions — two screens in which the reader learned nothing about their own repo, reaching the first fact about it in section four. Method is a lookup, consulted when a finding surprises the reader; it is not a preamble. The cover block already carries budget: N files read of ~35, which is the trust signal doing its job in one line.
Register: the decision half carries no evidence. §§1–4 state shape; §7 carries the proof. This is the report's most persistent defect — every section drifts toward finding-level detail, because that is the register the issues were written in and it leaks upward.
In §§1–4: no file:line citations, no quoted config, no occurrence counts. A number appears only where the number is the shape, and then approximately — "roughly two-thirds of the always-loaded file", not "346 of 516 lines (67%)". The precise figure lives in the issue, where its command is printed beside it.
Naming a file is not evidence — name it. §Write it plainly requires CLAUDE.md over "the instruction layer" everywhere, scorecard notes included, and the model note in §The note describes a condition uses a code span for exactly that reason. An earlier draft of this rule banned code spans outright and so contradicted both. The line is between the file's name and the file's contents: a name is the subject of the sentence, a line number is the proof, and only proof belongs in §7. Trend's dates and its 516 → 604 measurements are likewise the section's whole point, not a leak.
Test: a reader who stops after §4 should hold a correct mental model of the repo and be unable to quote a single line number. If a sentence in §§1–4 could be moved into an issue unchanged, it belongs there instead.
Decide — everything the reader needs to act on, before any evidence
Scorecard — the six tiers, rated. See §The scorecard above. It opens the report, and its lead paragraph carries the two jobs a separate summary used to do:
| Credit | The only place the report says what is good. Everything below is a ranked list of problems, a backlog of fixes and a long appendix; without this line the document is pure accusation and gets discounted as one. |
| Synthesis | The only place that says several issues are one thing — "every High below comes from one gap." Each issue is local by construction and each rung is separate, so nothing else in the report can say it. |
Two or three sentences, and no issue-level detail. A standalone Summary section was cut for restating what the ranked sections already said. Naming which files disagree, or which rule contradicts which, is an issue — the lead states the shape and stops. If a sentence here could be a finding, it is a finding.
Issues Summary — severity counts, then a table: ID · finding · tier · severity · confidence. Every row has cleared pass 3; a row that did not, isn't here.
Recommended backlog — one flat ranked list, each item naming the IDs it closes.
Context — how this run relates to the last, and what the method could see
Evidence — the reference appendix
These were once the first and last sections, saying the same thing twice at opposite ends of the report, which is why neither landed: "whether the stated rules are followed at runtime" in one and "a rule can be present, correct, and still ignored at runtime" in the other. Open questions belong in §6 too, never at the front — "if solo by design, ISSUE-6 is a non-issue" is unreadable before ISSUE-6 exists, and opening with five things the audit could not determine discounts every issue behind it.
An index does not need to sit beside its detail once both are anchored. An earlier version kept the issues table welded above the detailed issues for exactly that reason — a rule written before every row became a link. With anchors, adjacency buys nothing and costs §2 the lead position.
A former section, removed. It posed 5–7 questions with verdicts and finding pointers, sold as the 90-second read — and every question turned out to be a finding title with a question mark: "Does the done check match the repo's definition of done?" → the top finding. "Can a bad turn reach the live site?" → another one. Same content as §2, same ranking, one extra phrasing.
Its one distinct move was the "checked, and it's fine" answer, which a findings list structurally cannot carry. That belongs in the scorecard note, which exists precisely to cover ground where nothing was found. Do not reintroduce the section to say it.
The scope declaration binds the report that writes it. Whatever §6 lists as not visible, no finding may assert a negative about — see Gate 1, step 2. A report that declares a blind spot and then rates a finding Confirmed inside it has done worse than not declaring one.
§6 also reports what verification removed — in prose, in one line, naming the subject rather than restating the claim: "One candidate about a hardcoded path was cut: the quoted line was a fallback." This is the report's strongest trust signal and it costs a sentence. A run where the verifier cut nothing says so plainly rather than omitting the line; silence there reads as the check not having run.
Prose, never a tally. verification: 9 candidates · 7 hold · 1 corrected · 1 cut is the forbidden form — see §The report never promises what it did not do. The counts go in the .md cover fence, where a machine reads them; the human file gets the one fact that changes what to trust, which is what was withdrawn and why. A tally tells the reader the machinery ran; a withdrawal tells them which claim not to act on.
Two identifiers per finding, and they do different jobs.
Display ID — ISSUE-1 | Belongs to a finding for as long as that repo has reports. Allocated once, carried on every later run, and never reassigned. Anchor is the lowercased ID: #issue-1. |
Key — <check>@<primary location> | e.g. [email protected], [email protected], [email protected]/settings.json. Derived from what the finding is about. This is what matches a finding to its ID across runs, and what Trend compares on. |
Earlier runs assigned IDs in severity order, per report. ISSUE-1 was the workspace-publish finding on 27 Jul and the palette finding two days later — the same badge on two different problems, in two files sitting side by side in a committed folder. A reader who says "let's fix ISSUE-1" on Monday and re-runs on Wednesday is now talking about something else and has no way to notice.
The old mitigation was a rule reading "never compare runs by display ID." That rule was addressed to this skill, and the person who gets burned is the reader — who sees ISSUE-1 on every row of every table and was never told it was temporary. A hazard that can only be avoided by knowing a rule printed nowhere in the report is not mitigated.
Allocation, in order:
harness-audits/ and build its key → ID map from the ids line on the cover.ids-high + 1, and ids-high increments.ids-high only goes up, and the retirement is recorded in ids-retired with its reason and date.ids is a ledger of live bindings, not an index of this report's findings. A key that was open in a previous report and simply wasn't re-tested this run — normal under --quick, which re-checks only the worst — keeps its binding. Drop it and the next run finds no match, allocates a fresh number, and the same problem acquires a second identity. ids-high stops the number being reused; only carrying the binding stops the finding being renumbered.
So a key leaves ids for exactly one reason: it was retired, and then it appears in ids-retired instead. Absence from both means the key was never seen.
ids-high is why a fixed issue's number stays dead. Allocating from the highest ID in the current report would recycle numbers as findings close, which is exactly the failure this rule exists to prevent. It is one integer on the cover, and it is the only state the scheme needs.
Where the map lives: the .md cover, in an ids line.
ids 1=C-1@workspace-publish · 2=C-1@dev-server · 3=C-12@eslint · 7=C-4@outbound-links
· 19=C-1@palette · [email protected]
ids-high 27
Retired IDs move to ids-retired, with what happened and when — 1=C-1@workspace-publish — fixed 2026-07-29, never reissued. An earlier draft of this rule said retired IDs were "simply absent from ids, and the gap is the record." A gap is not a record; it is an absence, and this skill's entire premise is that absence is ambiguous — a missing number reads the same whether it was retired, never allocated, or dropped by a bug. Say which.
Where the previous report predates this scheme, reconstruct the ledger from its issues table rather than starting over. Every repo audited before 0.56.0 has reports with IDs and findings but no ids line, and starting at 1 there would hand ISSUE-1 to whatever now ranks first — reproducing the exact bug this section exists to fix, once, on every existing repo. Match the old report's findings to this run's keys, carry those numbers, and set ids-high above the highest.
A reconstruction is not a carried ledger — say so in §6. It infers the binding from a published table rather than reading one the previous run wrote, so a finding whose wording changed enough to break the match will get a new number. That is a disclosure, not a defect.
No new file. The only writes remain the two reports, and the newest report is always the ledger. A repo with no reports at all starts at 1, and a repo whose reports were deleted starts over — a real limitation, worth stating in §6 rather than engineering around.
IDs no longer run 1..N down the table, and that is correct. §2 stays sorted by severity then tier; the ID column becomes a label rather than a rank. Any bug tracker reads this way. A number that sorts is a number that moves, and the whole point is that it stops moving.
Trend may now cite IDs, because they finally mean something across runs: "ISSUE-3 is still open, unchanged in both files" is now checkable by the reader against the previous report.
Keys never appear in the HTML. Not as a heading, not as a sentence subject, not as trailing metadata on a finding line. [email protected] is undecodable without checks.md open beside it — C-7 is the seventh check in the Class C catalogue, which the reader has never seen and does not have. A report that prints it is asking the reader to hold a lookup table they were never given.
Keys exist for exactly two jobs, both of them machine-facing and both done in the .md cover fence: letting the next run tell which findings carried over (keys-open / keys-withdrawn / keys-carried), and binding each finding to its permanent display ID (ids). The reader never needs to see one.
So Trend entries in the HTML read in plain words, and stop there:
❌ "
[email protected]was wrong — the quoted line was a fallback." ❌ "The hardcoded audio path — was wrong. …the earlier finding was false, not fixed." ·key: [email protected]✅ "The hardcoded audio path — was wrong. The quoted line was a fallback behind an environment variable; the earlier finding was false, not fixed."
The second form was a half-fix — demoting an undecodable token to the end of the line does not make it decodable. If the reader cannot resolve an identifier from the document in front of them, it does not go in the document.
A re-render is not a run. It replaces its source; it never adds a file.
Re-presenting an existing finding set — new section order, new scorecard axis, corrected register — spawns no agents and gathers no evidence. It is the same audit wearing a new layout, and it overwrites the report it came from rather than earning a fresh timestamp. Two files whose cover auditor lines match are the same run by definition, and leaving both makes the directory claim an audit that never happened.
The failure this prevents is quiet and compounding: trend globs the newest file, so a re-render becomes the baseline the next real run compares against — reporting "still open since 22:45" for a finding first seen at 21:35, and silently resetting how long anything has been open.
Check before writing: if the newest existing report carries the same auditor value the run is about to write, and no new pass was spawned, overwrite it. Only a run that actually gathered evidence takes a new timestamp.
Before writing: glob harness-audits/*-report.md, read the most recent whose auditor line differs from this run's, extract its keys. Then:
Four tags, and there is no fifth. A key either appeared, persisted, or disappeared — and when it disappeared, why is the only thing worth a separate word:
| Tag | Means |
|---|---|
| new | Key only in this run |
| open | Key in both runs |
| fixed | Key gone because someone did the work |
| was wrong | Key gone because the earlier finding did not hold up |
Not closed, not withdrawn, not regressed, not carried — a reader asked outright what "withdrawn" meant, which answered whether it was carrying its meaning, and "carried" was in an earlier list without ever being defined, which answered the same question about it. A tag nobody can define on sight is not a status; it's a synonym. These sit beside each other in one list, so each has to read without a key.
Severity changes and changed numbers are not tags — they are notes on an open row, because the key persisted either way: "still open, now High" · "still open, CLAUDE.md 516 → 604 lines." A rating that got worse leads the section; that is emphasis, not a fifth status.
When a key disappears, establish which of the two it is before writing either word.
Open the tagged list with What changed since the last run — <YYYY-MM-DD HH:MM>: — the section's job stated, not implied, and the baseline named. "The last run" is a pointer the reader cannot resolve; the timestamp of the report being compared against makes the whole section checkable, and tells them at a glance whether they are looking at yesterday's drift or last quarter's.
Trend owns cross-run state, with exactly one thing shared out. No run history in the issue bodies, and nothing in the ID column but an ID — a run once hung open since … off the ID, which is the one column that carries an identifier and nothing else.
The single exception is persistence, and it earns its place: an open since <timestamp> marker in the issues table, in its own column. How long something has been open is the one cross-run fact a reader needs while weighing severity, and sending them to §4 to get it separates the two halves of one judgement. Everything else about the runs — what closed, what moved, what changed — stays in §4.
If the previous report's ratings line names a tier the guide doesn't have, it was rated on another scale. Keys (<check>@<location>) carry no tier and no tip, so matching findings, display IDs and the ids ledger all carry over unchanged. Ratings and next-lever are never compared rung by rung, and a tip it cites is re-cited from today's guide by its title, never by number. Say it once, in §6: "The previous report () used a different tier scale; findings carry over by key, ratings are not compared."
new is a count, never an enumeration. On a run where twelve of sixteen issues are new, listing them reproduces the issues table one section later — the reader's verdict was "this just duplicates the issues list, this is not a trend." They were right: when most issues are new, "what's new" is simply the report.
The durable signal is the opposite one — which issues have survived across runs. There are always few of those, and being open for three runs is a fact about the process that severity alone never shows. That is why persistence is the one cross-run fact marked in the issues table rather than only here; Trend carries the count, the table carries the open since.
Write each one the way §Keys never appear in the HTML requires — name the thing, not its key:
✅ "The two instruction layers still disagree — open since 25 Jul, and now High." ❌ "[email protected] open since 25 Jul, moved to High."
A reader shown the second asked "what is C-2? sounds like noise to me." That is the whole rule, confirmed by the only test that counts: C-2 is decodable only with checks.md open beside the report, and nobody reads a report that way.
Placement: §4, in both files — after the backlog, before Observations. It is what a returning reader looks for first, but it only means something once they have seen the ratings and the backlog it refers to.
First run — write exactly this line and nothing more:
First run. No earlier report in
harness-audits/to compare against.
A run produced five lines here plus an explainer on display IDs versus keys, on a first run with nothing to compare. The display-ID/key distinction is specification, not report content — it belongs in this file and never in a report. One sentence, then §5.
Carry the keys in the .md so the next run can read them without parsing prose — and with them the ID ledger, which is what makes display IDs permanent:
keys-open: [email protected] · [email protected] · [email protected]/agents
keys-closed: (none)
ids: [email protected] · [email protected] · [email protected]/agents
ids-high: 7
ids-retired: 3=C-4@pre-push — fixed 2026-07-27 · 4=C-11@sharp — withdrawn, finding did not hold
ids and ids-high are not optional on any run, including the first — a first report writes ids for everything it found and sets ids-high to the count. Omit them and the next run has nothing to carry forward and silently reverts to renumbering, which is the bug this exists to fix.
Write ids for every live key — this report's findings and the ones carried but not re-tested. It is a full ledger, not a delta or an index; the next run reads exactly one report and must find every binding in it.
Do not add a note explaining why the ledger holds keys that aren't findings. A run wrote an ids-note field for this, but keys-not-retested already lists them by name one line above, and the ledger holding more than the report is the specified behaviour rather than an anomaly needing a caption.
.md States the Next Lever as a FieldThe .md is read by agents, and the most common one is a tutor deciding where to start teaching. Make the answer a field rather than a sentence it has to parse out of §1:
next-lever: T3
ratings: T1 Satisfactory · T2 Satisfactory · T3 Weak · T4 Moderate · T5 Missing · T6 n/a
Same values as §1's prose and the scorecard table — this is the machine-readable copy, not a second opinion. If they disagree, §1 is right and the fence is a bug.
ratings carries all six so a reader can see which rungs hold without re-reading the table; next-lever is one rung, derived by the rule above. Where a rung is unrated (usually T1, without transcript consent), write not-assessed rather than omitting it — a missing key reads as an oversight, and the reason belongs in the rung's note.
Resolving a project command — precedence, highest first: the CI workflow (the only place it's proven) → repo docs → manifest scripts → language convention. checks.md names no test frameworks on purpose; read the manifest and name what you find.
Budget is per pass, not per run — see §Flags for the finder allowance. The verifier gets ≤25 reads and must spend them opening the file behind every cited claim; it is the one pass whose budget is not a ceiling to economise against. Class C costs more than Class P — spend the finder budget there. Hit a cap and say which region went unexamined; that region is Not assessed.
Report the budget actually spent, per pass, in the cover block: finders: 18 + 14 reads · verifier: 21 · caps not hit. The shipped report that failed used 14 of 35 — a low number next to a high cap is the signature of under-reading, and it is only visible if both numbers are printed.
Verify every tip citation before printing it: rg '<a id="tip-4-1">' ${CLAUDE_PLUGIN_ROOT}/guide.md. No anchor, no citation. Cite the live guide: https://agenticengineering.guide/tier-<T>#tip-<T>-<N>.
No tiers, no ceiling. Don't infer how ambitious the repo is and don't gate on it. "This is only a side project" is a claim about intent, which a repo cannot observe — an earlier version guessed and classified a 561-commit live site as throwaway. Severity already carries the ranking. Where something genuinely doesn't apply, say what it depends on — "only matters once agents run unattended" — not "above your level".
These are steps, not advice. Nothing is written until both have run.
Every failure this skill has shipped came from one place: naming a thing without reading what decides whether the naming is true. Never a novel mistake — that mistake wearing a new costume. It happens in two places, and a gate on the prescription catches nothing in the diagnosis: a report can reason impeccably about a file it misquoted.
Gate 1 is administered by pass 3, not by the context that wrote the finding. That is the whole difference. A self-check does not hold here and there is direct evidence: the report that shipped a false finding already contained the rule — "a finding may only assert what a file shows" — and broke it anyway. A rule you recite to yourself while holding the conclusion you want is not a gate. Gate 2 stays with the writing context, because it is about a proposal that context is authoring.
Finders should apply Gate 1 to their own candidates as a matter of craft. The verifier's application is the binding one.
The brief, from the review that produced this design: "trust its architecture, verify its citations."
For each finding, before it may ship:
"/Users/alexey/.local/bin/edge-tts"; and called it a hardcoded path. The line above it was process.env.EDGE_TTS_BIN ||, which makes it the fallback. The finding was false, and its corrective action recommended reading the value from an env var — which is what the code already did. A quote that begins mid-expression is not evidence.~/.claude/ invisible, then rated "nothing reviews a diff with fresh eyes" as Confirmed — against eight subagents living exactly there. A declared blind spot binds the report that declared it. Where the finding survives at a narrower scope, narrow it and drop the confidence; don't delete it.160000 in git ls-files -s is a gitlink, not "an empty file". When a finding names a file's kind — empty, tracked, generated, executable — the command establishing that kind must have been run.verify take? Not measurable statically" — sat answered as ~1-2m in a comment in a file the report cited by line number. An open question the audit could have closed is not epistemics; it is abdication. Close it or cut it.Confirmed means read in full file context. Short of that it is Probable with the search printed, or it does not ship.
For each corrective action, in order:
Probable, or is cut.file:line". If you cannot name the file, you have not checked it. This step is the one that catches reasoning errors, where the evidence is right and the inference is not; the other five only catch evidence errors.If an action survives all six and still rests on inference, say so in the finding rather than presenting it as settled. Gate 2 is the one check still administered by the context that authored the thing being checked — pass 3 verifies findings, not fixes, because a static verifier cannot run a proposed hook either. Treat its verdicts as weaker evidence than Gate 1's and let the confidence reflect that.
Kept as worked examples, not as separate rules — they are what steps 1 through 4 look like when skipped.
Stop hook running a multi-minute build. Stop fires at the end of every agent turn, including pure conversation. Minutes of waiting after every message; removed within a day. The rule said "before push", so it was PreToolUse matched on git push all along. (step 3)npm run verify with no CI=1. playwright.config.ts selected start:e2e under CI and npm run dev otherwise, with reuseExistingServer: !CI. The gate would have blocked good pushes at random, and a gate that cries wolf gets ripped out. (step 2 — the config was never opened).claude/settings.json anywhere" and routed the fix to site/.claude/ while its own skills check had found .claude/ at the root. The file would never have been read.npm run build as the gate and then propose a hook running npm test.hooks.Stop entry" is homework, not a corrective action. The lines are a baseline under a binding requirement, not a paste-ready answer — see §Ship runnable content, at the altitude you can defend.Then stop. The audit reports and offers. Implementation is the next turn, with explicit consent and ordinary permissions.
The report is a document; this is the message beside it. Four short lines, in this order, and nothing else:
Wrote harness-audits/2026-07-26-1420-report.md ← the findings
harness-audits/2026-07-26-1420-report.html ← the same, designed
Sixteen issues, five High. T1 holds; the next lever is T2 —
two instruction layers with nothing reconciling them. Every issue
links the tip behind it, if you want the why.
Top one first — start a fresh session and paste this:
Read harness-audits/2026-07-26-1420-report.md and implement
ISSUE-1. Follow its corrective action; prove it with the
command the issue names.
Or turn on the coach, so this gets caught as you work.
Name the file, always. A run that writes a report and doesn't say where it is has hidden its own deliverable. Path first, before the verdict — it's the thing they need and the thing they'll scroll back for.
One sentence of verdict, and it is the lead's sentence, not a new one. Do not re-summarise the report in the chat; the report exists. Say the count and the next lever. If the chat version disagrees with §1 by a word, the reader now has two verdicts and trusts neither.
Then offer the three ways forward — but only the ones that fit:
Hand the fix to a fresh session, not to this one. By now the audit context holds two finders' output, a verifier's, and the whole report — several hundred thousand tokens, none of it about the fix. Offering to implement here contradicts three tips this skill audits against: 1.16 /clear between tasks, 5.5 engineer the long-horizon hand-off, 2.6 spec, then a fresh session.
So give them the prompt, ready to paste, naming the report path and the issue. The .md is the spec — that is what it was written for, and until something says so out loud, "for an agent to pick up" is a label nobody knows how to act on.
Say once that the issues link their tips. It is a clause, not an offer — the teaching is already built into the report and costs nothing to point at. Offers stay capped at two.
| Offer | When it's the right one |
|---|---|
| The paste-able fix prompt — name the single top issue by ID | Nearly always. It's the shortest path from report to changed repo, and it starts clean. |
/pape:agentic-coach — let the coach catch it in the flow | The gaps are habits — vague asks, no runnable "done", claims without proof. A hook fires on those tomorrow; a report doesn't. |
The tutor — git clone the guide repo, open Claude Code, say hi | The next lever is a rung they need to learn, not a file they need to write. Point it at the rung: "start at T3." |
Offer at most two. Three options is a menu and a menu defers the decision; pick the two the report actually argues for. Never all three plus a re-run — the audit doesn't sell its own second run.
When the next lever is T1 — or T2's planning habits — the tutor and the coach are the answer; say so plainly. That is prompting and shaping, so there is no file to add and no gate to wire; a corrective action that says "write better prompts" is not one. This is the single case where the hand-off outranks "fix it now", and §The scorecard says the same thing from the rating side.
If the audit couldn't rate T1 at all — no consent for transcript access — say what would change that, once: "T1 is unrated, and T2 is rated from its files only; the tutor reads your real prompts (with consent) and rates them, or re-run this with transcript access." One line, not a pitch.
Not in this message: how many finders ran, what the verifier cut, the budget, the theme, how long it took. All of that is on the cover for anyone who wants it. The chat message is for deciding what to do next, and nothing that isn't a decision belongs in it.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub krivitsky/professional-agentic-product-engineering --plugin pape2 skills in this plugin
Other plugins' skills for the same job