Hydra
Method

How a match works

One match, start to finish

A builder agent ships a checkout app. Kane CLI tests it twice in a real browser to prove it's clean (the baseline). Then a chaos agent plants one bug from the library. Kane runs again as the referee and reports what it saw.

If Kane catches the bug, the builder gets Kane's report and has to fix the app from that alone, for up to five rounds. If Kane passes with the bug still in, the match ends as a miss.

What the builder can and can't see

Sees: Kane's summary, the failing step and the screenshots. The same evidence a person would get from a failed test.

Never sees: the chaos diff, the bug's name, the holdout test or the oracle's results.

The gate

A fix ships only if all four hold:

  • two fresh Kane passes on the main test,
  • the hidden holdout test passes,
  • every Kane test file is unchanged,
  • the source hasn't changed since it was verified.

Anti-cheat

Hydra snapshots the source before each heal round and diffs it after. A builder that edits a Kane test is caught by hash, the test is restored, and the round is rejected. A builder that hardcodes the expected numbers can fool the visible test, but the holdout uses a different cart, so the fix fails there and never ships.

Two stand-in builders, Hardcoder and Cheater, exist to prove this. Both are in the leaderboard, and neither has shipped.

The oracle (scored, never gating)

Scripted browser checks run at three points: baseline, after chaos and after the final fix. They give the ground truth for scoring Kane: a catch, a miss or a false green. They never decide whether a fix ships. Kane is the only verifier.

Scoring

  • Healed and shipped: the gate opened and the fix deployed.
  • Rounds to green: heal rounds until the gate opened.
  • Time to heal: from Kane's catch to the gate opening.
  • Tokens per heal: builder tokens spent across the heal rounds.
  • Kane catch rate: referee catches out of bugs planted.

Glossary

False green
Kane passed the fix and the gate shipped it, but the oracle shows the bug is still there. The worst outcome, and the one the holdout test exists to prevent.
Miss
Kane's referee run passed while the planted bug was in the app. Logged as a miss, never hidden.
Spec tamper
The builder edited a Kane test file instead of the code. Detected by hash, restored, and the round is rejected.
Kane credits
What a Kane CLI run costs. A match uses six or more Kane runs: two baselines, the referee, two fresh verify passes and the holdout.
ShareLink
Kane's hosted link to a test run. ShareLinks expire, so Hydra archives the screenshots and summaries with each match.