A calm human cyber investigator wearing a spectral diagnostic visor
Onred

Closed-loop repair / Kane native

Kane finds the bug.onred fixes it.

When checks go red, Onred repairs. Then Kane proves the fix.

Trace the repair↓

02 / The failure

The code looked finished.
The browser disagreed.

Kane adds the same product three times. The total is correct. The header still reports one.

127.0.0.1:3000/cartKANE TARGET
SPECIMENOnred Cart
Cart (0)
PRODUCT / 01

T-Shirt

$20

Cart summary0 items

Your cart is empty.

Calculated totalTotal: $0

03 / The diagnosis

Kane does not send logs.
It sends a repair brief.

The failed requirement becomes structured evidence: what happened, what should have happened, and why.

Observed state / ChromeCart (1)
Repair briefONR / CART-HEADER / 0001
01
Observed

The cart contains three shirts. The header reports one.

02
Expected

Header count must equal the sum of all product quantities.

03
Root cause

The header adds one per product row instead of using each row's quantity.

04
Allowed scope

app/cart/page.tsx · 01 file · no dependencies · no refactor

04 / The repair

One failure.
One file. One line.

The agent receives Kane's evidence and a hard boundary. Anything outside that boundary blocks the repair.

app/cart/page.tsxPatch applied / unverified
const cartTotal = cart.reduce(
  (sum, item) => sum + item.price * item.qty,
  0
);

const cartCount = cart.reduce(
  (sum, item) => sum + 1item.qty,
  0
);
− (sum, item) => sum + 1+ (sum, item) => sum + item.qty

05 / The proof

A patch is a claim.
Green is proof.

Kane repeats the same browser requirements against the repaired product. Nothing is accepted until the product behaves correctly.

Kane / real ChromeCurrent verdict
01

First add from empty cart

queued
02

Repeat add quantity and header

queued
03

Two distinct products aggregate

queued
Final Kane verdictNo runAwaiting proof
Repair receiptNo run yet
Unsealed
Kane verdict / beforeAwaiting a failing verdict

Run the guarded specimen to create a real repair receipt.

Exact patch appears here after the scoped agent writes it.
Scope attestationBoundary check pending
Kane verdict / afterPending
SHA-256 · waiting for failure + patch + scope + rerun
Inspect a real Kane green run↗

06 / The control room

The loop,
under your control.

Run Kane, inspect the evidence, constrain the repair, and watch the same requirements judge the result.

Onred / control roomSystem ready
Kane
Connected
Agent
Ready
Watcher
Standby
Job
idle
Run live repair↗
01Detect
02Diagnose
03Patch
04Prove
Assurance contract03 checks
01

First add preserves price

queued
02

Repeat add updates quantity

queued
03

Distinct products aggregate

queued
Open tested specimen ↗
Repair receiptUnsealed
◎No receipt exists yet.

Run the guarded specimen to begin.

Live wire0 events
Standing by
Kane nativeReal ChromeScoped agentBounded retriesFresh re-verificationRailway target

07 / Ship the loop

Clone it. Run the proof.
Inspect every line.

Onred runs Kane in real Chrome, then gives a bounded task to its repair agent. This reference build uses opencode. The agent can change. Kane's proof contract does not.

SourceGitHub / Onred

Built in the open.

  • Next.js 16
  • TypeScript
  • Kane CLI
  • opencode / reference
  • Chromium
View source ↗
Local launchFour commands
$ git clone github.com/emmaGH1/onred
$ npm install
$ kane-cli login --oauth
$ npm run demo

Local target 127.0.0.1:3000/dashboard

Deployment targetRailway

Ready to configure.

Chromium
Included
Kane CLI
Included
Persistence
Required
Access token
Required
Replicas
01
01Product spec
02Kane requirements
03Real Chrome
04Failure evidence
05Scoped repair
06Exact diff
07Kane rerun
08Receipt

find. fix. prove.

Kane finds the bug.
Onred closes the loop.

Watch a live repair↗View the source↗