Enloop — managing human attention

Humans are the essential bottleneck of product development.

An agent builds the feature in minutes; a person still has to see it and say whether it is right. Enloop brings that person up to speed: the context to verify the product is in the case, and what they say goes back to the agent much faster. Your agent writes the test case, a Chrome side panel walks you through it, and whatever you say along the way goes straight back.

Open source, MIT. No server, no account, nothing uploaded.

  1. 1

    You prompt

    Ask for the feature. /enloop:quick then writes its test case from the source — every route, label and selector read, none invented. The context is gathered before you arrive.

  2. 2

    You try it

    The side panel walks you through each step: where to go, what to do, what should happen. You need not know the app. Something looks off? Say so on the step where you saw it, and tick who it is for.

  3. 3

    The agent reads the run

    Back in the repo, /enloop:check finds what you wrote in the run, addressed and attached to its step, and gets to work. No ticket, no retelling.

  4. 4

    It is fixed

    The button is green, on the right. Run the case again and the step passes. From your comment to the fix took one loop, and nobody wrote a ticket.

next change, same loop

Mid-run

The screen moved on. The test catches up while you run it.

Context goes stale the moment the app changes. So when the page in front of you no longer matches the step, ask from the step itself. Your question reaches the agent session watching the folder with a screenshot and the page's structure attached. It answers from the app's source — and when the step was the problem, a patched version of the test is waiting. One click loads it into the run you are in, and every result you already recorded stays.

  • Ask from the step

    Select the part that confuses you and type the question. Untick the screenshot or the page snapshot if you would rather not send them — both stay in your folder either way.

  • Watch it think

    The panel shows what the agent is doing in its own words — Reading the form, Found it: the button was restyled — so a long think never looks like a crash. Wrong question? Withdraw it.

  • Load the patch

    A mid-run patch is a minor version: v1 becomes v1.1. The panel checks that every step you finished is unchanged before it offers the swap, and keeps every recorded result.

The format

A test case is one Markdown file.

Committed next to the code it tests, diffable in a pull request, readable without any tool at all. An agent writes it, with everything a person who has never seen the app needs in order to verify it; the side panel turns each line into something that does the work for you.

test-cases/todo-create-a-task/versions/v1.md
## Create task
Where: %DOMAIN%/
Selector: #add-form button
Type "Buy milk" into the field, then click `Add`.

### Expected
- "Buy milk" appears at the top of the list.
- The counter reads `1 task left`.

## Count the tasks
```js
const rows = document.querySelectorAll('[data-testid="todo-row"]');
if (rows.length !== 1) api.fail(`expected 1 row, got ${rows.length}`);
```
Where:Go
Opens the screen the step starts on. %DOMAIN% is the tab you began the run from, so one case runs against a branch, staging or localhost.
Selector:✨ Highlight
Scrolls the element into view and flashes it. Nobody hunts for the button.
"quoted""Buy milk"
A value in quotes types itself into the field you click. Nothing to retype, nothing to mistype.
```jsRun
A fenced block in place of instructions makes the step automated: it runs in the page and decides its own result.
### ExpectedPassWarningFail
Pass criteria are observable and binary, so the verdict needs no judgement.

The principle

Any friction is a defect.

A person's attention is the scarce thing in the loop, so none of it is spent on anything but the verdict. Whoever follows a case may never have seen the app, and is not going to learn it first. So everything was worked out when the case was written, and the person running it is never:

  1. asked to make a decision

    Which environment, which account, which record, whether a step applies. The case decided.

  2. asked to provide a value

    A URL, an id, something to type. Every value was resolved before the run began.

  3. asked to look anything up

    A route from a menu, a fixture from a seed file. If it can be looked up, it already was.

Read the manifesto →

Features

Everything a run needs is already in the panel.

Each one does one of two jobs: it puts the context in front of the person running the case, or it carries what they said back to the agent without a retelling.

While you run

Kind: quick

One case, two depths

Steps marked as the core path make a two-minute Quick run. Full covers the edge cases, error states and cleanup. Written once, never duplicated.

feedback.md

Comments with an address

Tick who a comment is for and each audience gets its own section in the run's feedback file. The box saves as you type.

DeveloperProductTest writerDocsOps

console.md

The console, beside the step

Switch capture on and console errors and failed requests land in the report next to the step where they happened. Off by default; never headers, never bodies.

▶ Run

Setup commands, one click

A seed script named in the case gets a Run button. The agent session watching your folder runs it in the repo and streams the output into the panel. Stop kills it.

jumped over

Start further in

A run got dirty at step four? Start a fresh one and jump straight back to it. Jumped steps are recorded as jumped, never as steps you chose to skip.

run.json

Nothing lives only in the panel

Every mark, note and comment is written to the run's folder as it happens. Click into the page, close the panel, restart the browser — the run resumes where you were.

After the run

/enloop:check

A verdict per failure

Back in the repo, check reads the run and makes the call the tester cannot: was the app wrong, or the case? Each verdict comes with its evidence. Case defects it fixes itself, as the next version.

VerdictWhat it meansEvidence it must give
App bug Behaviour contradicts the app's own source file.ext:123 and the mechanism
Case defect The step was stale, wrong or unanswerable The grep showing the selector or route is gone
Environment Wrong build, missing fixture, bad integration state What must be true for a rerun to mean anything
Not reproducible Could not be located in source from here What it would take to reproduce
⚒ Prompt to fix this

A finding becomes a prompt

One click gathers a step's text, your comments, the questions you asked and what the console printed into a prompt for your coding agent. No agent on this machine? Copy the whole run's feedback into a ticket instead.

rules/<project>.md

It gets better at your app

A comment for the test writer that is really a standing rule is promoted to the project's rules file, read before every later case. Stars on well-written steps teach the shape worth repeating.

Selector:

Stale steps, caught early

Check sweeps every address and selector against current source — on steps that passed too. A selector that changed under a passing step is next run's mystery failure.

report.md

A report worth sharing

Every run freezes the exact case it executed and writes a readable report: each step, its verdict, what was said about it, and the address every domain resolved to.

Around the run

environments.json

Environments

Local, staging, prod, a preview that lives one afternoon. Pick one and every address in the case points there; each shows green or red, so a wrong tab is visible before you click. No environment ever holds a password.

…/#c=~xdc9TsQw

Share with no install

Copy a link from the panel and the case opens as a checklist in any browser. The case travels inside the link, after the #, so it never reaches a server. Or hand over one self-contained HTML page.

guides/<slug>/

A user guide nobody screenshots

Write the case for an end user and its run becomes the guide. The runner takes each photo at the right moment — cropped, numbered callouts, blur where needed — and exports Markdown or one HTML page.

data-testid

Selectors that exist

The skills never invent a selector. instrument adds the missing handles in the convention your repo already has, and checks they survive the production build.

test-cases/ · runs/

Your folder is the database

Cases, runs and reports are plain files in a folder you pick, read and written directly by the browser. Commit them next to the code they test.

Grant access

Asks for nothing up front

Installing requests no site permissions. The panel asks for one site, once, the first time a step needs to act on it.

The skills

Eight skills, for the agent you already use.

One plugin for Claude Code and Codex. The skills run from inside the repo of the app you are testing and read its source — that is where the context in every case comes from — and validate everything they write with the real parser before it lands.

  • setup Once per repo: the project name, the deployments cases run against, and the selector convention. /enloop:setup
  • quick The two-minute happy-path case for the branch you are on. /enloop:quick
  • full The whole article — edge cases, error states, cleanup — extending the quick case in place. /enloop:full
  • check Triages a finished run: a verdict per failure, and fixes for what the case got wrong. /enloop:check
  • serve Stays in the loop during a run: answers questions, patches the case, runs its commands. /enloop:serve
  • instrument Adds test handles to the app's source. Attribute-only, so the diff is reviewable. /enloop:instrument
  • guide Writes a case in end-user prose, with photo specs the runner takes. /enloop:guide
  • export-guide Turns a finished run into a Markdown folder or one HTML page. /enloop:export-guide

In Codex the same skills are $setup, $quick, $check and so on.

Get started

Watch a run work before you write one.

  1. 1

    Install the extension

    Connect a folder and let the Library load its example case. It runs against a public practice site and exercises every control the panel has.

  2. 2

    Install the skills

    One plugin, installed into the agent you use. This repo is the marketplace for both.

    Claude Code

    /plugin marketplace add enloop-md/enloop
    /plugin install enloop@enloop

    Codex

    codex plugin marketplace add enloop-md/enloop
  3. 3

    Write your first case

    From the repo of the app you are testing: setup once, then a case per feature. Open the panel, find the case in the Library, press Start.

    /enloop:setup
    /enloop:quick <ticket, branch or sentence>