Skip to content
Back to skills

Slowest Loop First

ASecurity

Use when a fix or change can't be proven until something outside your control happens — a random roll, a live user or event, a nightly or scheduled run, a real device, a staging fleet — or when proving it takes more than a few minutes. Also use right after working around a block (hand-feeding a helper, clicking past a prompt, "waiting on" something) — fix why it was blocked first. Also use when starting work on a project with an inherited rule like "verify on the live system", and when a watc...

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agentsrustgoreacttesting

Works with

  • cli

Security analysis

A100/100

Scanned November 9, 2026

npx -y skills add williamblair333/Uncle-J-s-Refinery --skill slowest-loop-first --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Slowest Loop First?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Slowest Loop First
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/williamblair333-slowest-loop-first/badge)](https://www.skillsdirectory.com/skills/williamblair333-slowest-loop-first)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: slowest-loop-first
description: Use when a fix or change can't be proven until something outside your control happens — a random roll, a live user or event, a nightly or scheduled run, a real device, a staging fleet — or when proving it takes more than a few minutes. Also use right after working around a block (hand-feeding a helper, clicking past a prompt, "waiting on" something) — fix why it was blocked first. Also use when starting work on a project with an inherited rule like "verify on the live system", and when a watch or alert wakes you to fix one more thing in a running system.
version: 1.0.0
platforms: [linux, macos]
category: analysis
tags: [testing, feedback-loop, harness, test-bench, verification, leverage]
---

# Slowest Loop First

## Overview

Time-to-proof bounds every fix in a project. When it runs on luck, a schedule or live traffic,
a harness that makes it minutes beats care on each fix.

## When it fires

Any one of these:
- A fix is "waiting to be proven" on an event you can't trigger (a 25% roll, a vendor sending an
  empty file, a push arriving mid-upgrade, the 02:00 run).
- Time-to-proof for a typical change is more than ~5 minutes.
- Project memory or a team rule names the slow system as the test bed.
- You're about to patch one more thing in a live system after a watch or alert woke you.
- You just worked around a block: fed a helper by hand what it was refused, clicked past a
  prompt, retried until it went through, or wrote "waiting on". Before continuing, fix why it was
  blocked (an allow rule, a missing tool, a broken path), or send it to its owner and say where.
  The workaround-scan Stop hook and agy's `fix_cause` field catch the ones you miss.

## The move, in order

1. **Write the time-to-proof table** for the fixes in flight and the next likely ones:
   `change | how it's proven now | time-to-proof | what it waits on`.
2. **If any row waits on chance, a schedule or live traffic:** stop fixing and build the bench
   before the next fix. A bench is a reusable suite grouped by the system's actions, not a one-off
   workaround for today's stuck fix. Assemble it from what the repo already has: scripted inputs,
   cheats and fixtures, debug flags, local entry points (`--input-dir`), state loaders, mocks.
3. **Prove the bench before trusting it.** Run one smoke case per bench primitive (each spawn,
   teleport, mock or loader you've never used) and see it do the real thing. Until it passes, the
   bench is a fast loop that lies.
4. **Wall the bench off from real state.** Use separate saves, data directories or accounts, so
   it can't overwrite the live system. That has to be structural, not a convention.
5. **Re-rank the inherited rule; don't drop it.** Find out why "verify on live" was written. Keep
   the live system as the final acceptance check. Make the bench the development loop that
   proves each change first. Tell the user about the amendment and get their agreement.
6. **Then go back to the fix,** proven on the bench; live is acceptance only.

## When a proof depends on an event you don't control

You wrote that something is unproven until an event happens, or a `forced-events` gate refused a
run. Do this before the next fix, in the same turn:

1. **Name the ways it could be forced:** a save edit, script call, fake input, test double or
   manual trigger.
2. **Try the cheapest one now.** Trying it costs less than waiting, and the result is evidence
   either way.
3. **Make what works repeatable:** a bench case or test, so the next change doesn't need the trick
   again.
4. **Record it** in the project's forcing list (`just forcing-list`; the format is in
   `scripts/forcing_list.py`): `force` with its proof, or `cannot_force` with the reason, or `idea`
   with a `parked_until` date.

A forcer must run the real code path. Never fake the data a test is meant to measure: made-up
caliper readings prove nothing, and a back-filled forward test ruins the experiment. If forcing
isn't worth it, say so in one line with your reason.

Two traps, both from mtw2 (2026-11-06):
- **Expect the system's reaction, not the helper's report.** Three forced cases first passed on the
  helper's own `ok` line in 0.1 s, which only proved the helper ran. Assert what the system did
  in response.
- **A probe must not write process-wide state.** A probe that changed a process-wide setting leaked
  it into the live campaign. Scope the change to the bench, or undo it structurally.

**Keep the list honest.** mtw2's `games/forced_events.toml` (`tests/test_forced_events.py`) goes
further than `forcing_list.py`: a forced row must name a real non-chance bench case, every known
event needs a row, and the count of unforced events can only shrink. Copy those when a project's
list matters.

**Live incident in progress?** Triage it first, read-only: keep the evidence and stop the damage.
The bench comes before the next *fix*, not before triage.

## Quick reference

| You catch yourself… | Instead |
|---|---|
| Setting a watcher to catch the first real occurrence | Force the occurrence on the bench; keep the watcher for acceptance |
| Calling a forced/synthetic test "interim evidence only" | It's the dev loop; live is acceptance. Different jobs, both count |
| Inventing a workaround for this one fix | Make it a bench case the next fix reuses |
| Using an untried primitive (spawn/teleport/mock) to prove a fix | Smoke-test the primitive first |

## Common mistakes

- **Following the inherited rule as a ban** on faster loops. It describes how acceptance works,
  not the only allowed check.
- **Letting the bench and the real system share state,** such as saves, tables or tokens.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.