agentleFS
augments-labsaugments-labs/sdlc-skills/skills/testing/verification-strategy/SKILL.md

verification-strategy

Skill1 starsChanged 4 months agoMITView on GitHub

Designs or repairs a project's correctness battery: which checks catch which defects and when they run. Use when a project's assurance is absent, stale, or unfalsifiable before high-risk work, when risk changes, after an escaped defect or a hollow gate, or when the user asks how to test this project, says the tests don't catch anything, or asks what CI should run. Skip a bounded feature, and skip writing or running an already-defined gate.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read references/battery-catalogue.md before filling Catalogue disposition for every category it lists: covered, or an accountable expiring …

    line 29
  2. Distinctive:

    Keep the inventory, the validator, and the wiring *outside* the tests they protect.

    line 53
  3. Very specific:

    Ask through the harness's user-input action when one exists, else print this block.

    line 81
  4. Very specific:

    Keep the matrix file at proposed.

    line 84
  5. Distinctive:

    Calling the battery established: before removing, skipping, duplicating, or hollowing a test turns the project command red under an …

    line 111

≈ “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

Verification Strategy

Map the project's real risks to gates, watch each gate fail before calling it executable, and wire it to block the promotion it protects. Accept no gate on reading the code, a coverage number, or the builder's opinion.

When to use

  • The project floor is absent, stale, or cannot catch a real defect.
  • A high-risk initiative introduces preservation, platform, data, security, concurrency, resource, or rollout risks the current battery does not cover.
  • Skip a bounded feature — its plan evaluators and TDD own the local proof. A missing project floor is separate scope.

Step 1: Map the risks before writing any gate

  1. Inventory what the project promises and what could break it: committed behaviour, platforms and build modes, data and operations, commands and CI that already run, existing tests, escaped defects.
  2. Transformation: add its migration facts, invariants, and approved deviations.
  3. Instantiate assets/assurance-matrix.md before writing any gate. Fill Risk inventory and Risk-to-gate matrix.
  4. Read references/battery-catalogue.md before filling Catalogue disposition for every category it lists: covered, or an accountable expiring approval plus a compensating gate. N/A needs evidence and an owner.

Step 2: Make each gate real

  1. Fill Cadence and promotion map: cheap gates block every change; expensive ones protect a phase, trial, cutover, or release.
  2. A "manual" gate gets a procedure, evidence, an owner, and a promotion it blocks.
  3. Calibrate in isolation you are authorized to use: bind what the gate touches and your authority to mutate, recover, and clean up.
  4. Watch the whole cycle: green → red on an introduced divergence → full restoration → green. Keep raw results outside the candidate.
  5. Unsafe to calibrate for real: use a known-bad fixture, or mark the gate uncalibrated and say so.
  6. Record each gate as executable, planned, or blocked. Only executable satisfies an entry condition.
  7. One bounded gate to implement: invoke test-driven-development. Multi-step gate work: invoke writing-plans.

Step 3: Protect the battery from its own erosion

  1. Fill Control-plane independence and Test-inventory audit.
  2. Keep the inventory, the validator, and the wiring outside the tests they protect.
  3. A mutable plane that would guard its own invocation: record its promotion as planned or blocked until external enforcement exists.

Step 4: Challenge, then hand over the decision

  1. Fill assets/assurance-challenger.md with assets/assurance-report.md before the challenge. REQUIRED SUB-SKILL: invoke requesting-code-review with this addendum, before approval. Keep the candidate read-only. Read the returned assurance section; missing or mismatched Matrix version, or a verdict other than clear → approval blocked.
  2. Blocker: correct a successor, reverify, rechallenge until clear or concretely blocked.
  3. Present the matrix:

    Assurance matrix {{path}} — {{n}} executable, {{n}} planned, {{n}} absent
    Thresholds: {{list}}. Omissions: {{list}}. Blocking cadence: {{summary}}.
    
    1. Approve the battery
    2. Request changes
    3. Reject the strategy
    4. Cancel
    
    Recommendation: {{option}} — {{one sentence}}.

    Ask through the harness's user-input action when one exists, else print this block; end the turn; clarifying-intent owns what closes it.

  4. Approve nothing yourself. Authority to draft gates is not authority to accept unseen risks, thresholds, omissions, or exceptions.
  5. Keep the matrix file at proposed.

Gotchas

  • Marking a catalogue category N/A with no evidence or owner leaves the exact silent gap the matrix exists to surface — it only relabels the gap instead of closing it.
  • A gate that runs correctly and shows green still blocks nothing if it is wired to run only on demand — correctness and sitting on a path no promotion can bypass are two different facts.

Hard stops

Calling a control executable when it is not

  • It is only planned, or only prose.
  • It has never been run.
  • It has never been watched fail.

Writing gate code before the matrix and catalogue dispositions exist — including when the gate is small enough to stay inline.

A gate that cannot fail for the right reason

  • A presence or change detector: it goes red without any behaviour being protected.
  • An aggregate green that hides a platform, a build mode, a shard, a test, or a cadence that never ran.
  • A wildcard match, a file's presence, a set or count comparison, a named receipt, a success marker, or an outer timeout, presented as proof that an exact case or action occurred.

Calling the battery established before removing, skipping, duplicating, or hollowing a test turns the project command red under an independent guard — and restoring it returns green.

Self-protection that protects nothing

  • A validator living only inside the tree it discovers.
  • A mutable command asked to guard its own invocation. Without external wiring, that promotion stays planned or blocked.

Taking authority you were not given

  • Deferring the independent challenge until after approval.
  • Granting yourself an exception.
  • Approving work the decision owner has not seen.
  • Writing lifecycle state into the matrix candidate.

Lowering a threshold, deleting a test, or accepting a deviation to make the matrix green.

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.