The workspace is local

Run It On Your Machine.

ProofLoop starts Kane and Chrome and keeps your history on disk, so the workspace only runs on your own computer.

Full Setup Guide

01What you need

  • Node.js 26.12.1 and npm. This is the version it was built and tested on. Check with node --version.
  • Git and Google Chrome. Kane opens Chrome itself, in the background, to run each test.
  • A TestMu account with Kane credits. Every real run uses credits, and Kane uploads it to your own Test Manager. ProofLoop cannot tell you what a run will cost.
  • An app you are allowed to test. Use a public demo such as saucedemo.com, or the demo shop in the repository.

It has only been tried on Windows. This page is the public showcase: it has no Kane, no browser and no storage, and its API is switched off on purpose so nobody can start runs on a stranger’s behalf.

02Install and log in to Kane

Kane is a separate tool that ProofLoop runs for you. Install it once, then log in once:

> npm install -g @testmuai/kane-cli
> kane-cli login
> kane-cli whoami
> kane-cli balance
  • kane-cli login signs you in to your TestMu account and saves a profile on your machine. Follow its prompts.
  • kane-cli whoami confirms you are logged in. kane-cli balance shows your credits. Run both before your first test.
  • ProofLoop never reads or stores your Kane login. It stays in Kane’s own profile, and ProofLoop passes Kane only the settings it needs.
  • Tested with kane-cli 0.10.9. A newer version may behave differently. To match it exactly: npm install -g @testmuai/kane-cli@0.10.9.

03Get and start ProofLoop

> git clone https://github.com/shane2512/ProofLoop.git
> cd ProofLoop
> npm ci
> npm run build
> npm start

When it says it is ready, open http://127.0.0.1:3000/workspace in your browser. The server only listens on your own machine and refuses any other address. Leave the terminal open while you use it, and press Ctrl+C to stop.

04Configure (optional)

The defaults work, so you can skip this. To change a setting, copy the example file and edit it, then restart npm start:

> copy .env.example .env
VariableDefaultWhat it does
PROOFLOOP_DATA_DIR./dataWhere the database, raw output and evidence live. Point it outside the repository for real use.
KANE_CLI_PATHunsetOnly if Kane is not found automatically. Path to Kane's bin/kane-cli.cjs; .cmd and .bat files are refused.
KANE_TIMEOUT_SECONDS300Stops a run that takes too long (10 to 1800). A new test's first run can take two minutes or more, so raise it if runs time out.

Never put Kane or TestMu credentials in .env; kane-cli login is the only place they belong. The other settings are in the setup guide.

05Your first run

  1. In the workspace, create a project with a name and the site’s URL, for example https://www.saucedemo.com/.
  2. Choose Add criterion. Write one sentence a person could check, and what must be true when it passes.
  3. Choose Write a new test file, keep the starter text or adjust it, and save. ProofLoop stores it in its own folder for you.
  4. Save the criterion, then choose Run with Kane and confirm. It is a real run and uses credits.
  5. Wait for the result. A new test’s first run is authored by Kane and can take two to four minutes. The status stays Running until Kane finishes, and nothing counts as passed before then.

When a run finishes you can read Kane’s steps and output, download the evidence file, and copy a report to give to your own coding agent. A criterion shows Verified only after a real passing run.

06If something fails

What you seeWhat to do
“Kane CLI was not found” when starting a runInstall it (step 2) and open a new terminal so the install is on your PATH. If it is installed somewhere unusual, set KANE_CLI_PATH.
A run ends as Not started, or fails before any stepRun kane-cli whoami. If you are not logged in, run kane-cli login again. kane-cli balance shows your remaining credits.
A run shows Timed outProofLoop stopped it at KANE_TIMEOUT_SECONDS. That is not a pass or a fail. Raise the limit and run again.
The target site cannot be reachedKane drives your own Chrome from your machine. Open the target URL in Chrome yourself first. A local app has to be running.
Port 3000 is already in useStop the other program, or start on another port with: npx next start -H 127.0.0.1 -p 3001
npm ci or the build failsCheck node --version. It was built and tested on 26.12.1; the repository pins it in .nvmrc.

07Try the closed-loop demo

A small shop with one planted login bug. Two real Kane runs: a failure and a report, then a fix and a pass. It uses credits. Run these from the ProofLoop folder, after the build in step 3:

> node scripts\demo-loop.mjs fail
# read docs/demo/closed-loop/01-fail-report.md
# apply the fix described in demo/README.md
> node scripts\demo-loop.mjs pass

The full steps are in demo/README.md in the repository.

08Check it without credits

> npm test

Runs the application tests with a fake Kane process. They never contact Kane and never count as verification. See what a real run records and the build status.

Validated on kane-cli 0.10.9

Run. Read. Fix. Re-run.