agentleFS
qbs784qbs784/ledger/skills/what-counts-as-evidence/SKILL.md

what-counts-as-evidence

Skill0 starsChanged 3 months agoMITView on GitHub

Use when about to state that something works, passes, is covered, is fixed, is safe, or is done; when reading a green check and deciding what it actually proves; or when tempted to make a check pass by changing the check. DO NOT invoke to choose which checks to run for a change — route that to ledger:refusing-busywork.

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not suppress empty results to make a lane pass.

    line 43
  2. Distinctive:

    Do not lower a threshold, narrow a check's scope, or exclude a file to hide something the check would have caught.

    line 44
  3. Distinctive:

    Do not weaken an assertion, normalize away unstable behavior, or swallow an error to stop a failure from surfacing.

    line 45
  4. Distinctive:

    Do not push and hope CI differs.

    line 47
  5. Distinctive:

    Do not manufacture activity to move a status: empty commits, allow-empty pushes, draft toggles, and revert-and-restore bounces add junk …

    line 49
  6. Distinctive:

    Did it observe the thing you are claiming?: Not something adjacent, not a proxy, not the inputs to the thing.

    line 57
  7. Very specific:

    Did you run it, on this state, now?: Not remembered, not inferred from a config file, not read off a neighbouring project.

    line 59

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

What counts as evidence

A signal is evidence only of what it actually observed. Everything below is that sentence applied to the signals people habitually over-read.

This skill owns what a signal proves. It does not choose which signals to gather, and it is guidance rather than a checklist — the table below is calibration, not an inventory to work through.

This is the discipline that matters most when the work is done by an agent, because an agent will produce a confident summary either way. The summary is not the evidence. The summary is a claim about the evidence, and the two come apart silently.

Signals that are not evidence

Each of these is a real thing to know, and none of them proves what it is routinely taken to prove.

SignalWhat it actually showsWhat it does not show
Coveragethe line executedthat the scenario is correct
A passing rerunthis run passedthat anything was fixed, or that the failure was infrastructure
One timeoutthis run exceeded a deadlinethat there is a product race
A fixed sleeptime passedthat setup completed or cleanup settled
A stress runit survived N repetitionswhat a deterministic regression would show
An exit code of zerothe command ran to completionthat it did the work you wanted
A queued mergethe request was acceptedthat it landed
A structural check on a translated pairthe structure matchesthat the meaning matches
A zero-hit searchthis pattern found nothingthat nothing is there — until the pattern has matched a known positive
A noisy searchthis pattern matches a lotthat its hits are relevant — until it has rejected a near-miss negative
Verifying an artifact's inputsthe inputs were rightthat the produced artifact is right
Dates, titles, and file nameswhat someone typedwhat the thing is
A check's silenceit did not complainanything about what it never inspected

Two corollaries worth stating on their own, because they are the ones that get skipped:

  • Retries, skipped tests, and pending checks are not passing. Report them as what they are. A summary that folds them into "green" is false in the only direction that matters.
  • Do not run until something happens to pass and call that result stable. Repetition until success is selection, not evidence.

Never fake a green

Making the signal green without making the claim true is the most expensive thing you can do here, because it destroys the signal for everyone afterward.

  • Do not suppress empty results to make a lane pass. A test lane that reports success having collected no tests is not a test lane; a flag that permits that is a way to fake a green.
  • Do not lower a threshold, narrow a check's scope, or exclude a file to hide something the check would have caught.
  • Do not weaken an assertion, normalize away unstable behavior, or swallow an error to stop a failure from surfacing.
  • When a claim fails to reproduce, fix the claim — not the test. The test just told you something true.
  • Do not push and hope CI differs. If a relevant check fails, stop and fix it, or explain precisely why CI is expected to differ.
  • Bypass an automated hook only when the user explicitly asks or agrees, and then report exactly what failed and why.
  • Do not manufacture activity to move a status: empty commits, allow-empty pushes, draft toggles, and revert-and-restore bounces add junk history and usually do not change the state you were trying to change.

For the specific list of fixes that mask a flaky test rather than resolving it, see ledger:designing-concurrent-tests.

What raises a signal to evidence

Four questions. A signal that answers all four is evidence for the claim you are making.

  1. Did it observe the thing you are claiming? Not something adjacent, not a proxy, not the inputs to the thing.
  2. Can it fail? A check whose rejecting case has never been tried is an untested check that happens to be green. Prove it with a negative control — ledger:proving-the-regression.
  3. Did you run it, on this state, now? Not remembered, not inferred from a config file, not read off a neighbouring project. See ledger:fact-checking-by-execution.
  4. Does it verify externally? An assertion should re-read the file, re-run the command, or inspect the emitted event — not accept a component's or an agent's own report of what it did.

A strong claim needs a valid case and an invalid one that demonstrates the check can reject. One without the other is half a proof, and it is always the same half that is missing.

Reporting

State what you ran, what you observed, and what that supports. Then state the gaps: what you could not verify, and what would be required to verify it.

An honest gap is more useful than a confident summary, and it is the only version that still holds when someone checks it later. If you cannot support a claim, do not soften the claim — drop it, and say which one you dropped.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.