How Beam works
A Kane check is only useful if it fails when the app is broken. Beam makes sure it does, by asking the app itself.
The balance, in one run
- 1
Kane drives the flow
In a real browser, Kane runs your test and gives its verdict from what the page shows.
- 2
Your app reports
During that same run, the probe sends what the app actually did: the values you exposed, every request with its status, and JS errors.
- 3
Beam weighs both
Against the truth you declared. Balanced when they agree. False green when Kane passed but the app is broken. False red when Kane failed but the app works.
- 4
Your agent fixes it
Through MCP, the agent reads which value disagreed, fixes the app and verifies again. It can't pass by editing the test: Beam refuses a run where the test, its recording or its truth file changed.
Inside Kane's own evidence
Every Kane run leaves a sealed evidence pack with its network log. Kane's verdict policies can't read that log yet (Kane #243), so even Kane's strictest policy passes a checkout whose order request failed.
Beam reads the pack too. On the demo checkout, Kane's own log holds the failed order and the wrong amount, and Kane still passed. Beam writes its verdict beside Kane's, in Kane's format, so CI can gate on it.
The probe reports over a local WebSocket, so your app's values never end up in Kane's uploaded pack.
beam.verdict.json, beside Kane's verdicts
{
"result": "fail",
"exit_code": 1,
"evaluator": { "name": "kane-beam",
"kane_verdict": "PASS",
"balance": "FALSE_GREEN" },
"failed_gates": [ "beam-2-order.amount",
"beam-4-no-failed-requests" ]
}The matrix: measuring Kane itself
Kane's verdict also depends on how a check is worded. So we measured it.
- 1
Two pages per behavior
A correct page and a broken twin that differs in one visible thing, so the right answer is known for both.
- 2
Each wording, both pages
Kane runs every wording on both. Balanced means it passed the correct page and failed the broken one.
- 3
The agent tries again
When no wording is right, Claude Code reads what Kane did and proposes new wordings, and Kane runs those too.
- 4
A column per version
Checks are recorded with Kane 0.10.9 and replayed with healing off on each version.
One finding: the same wording can record different reading code on different runs. One recording of the plural check read only the number and passed a broken page. Another read the whole label and caught it. That's why Beam doesn't trust the wording alone.
Honesty notes
- The matrix uses small test pages in the repo, not real websites. The checkout demo is a small app in the repo too.
- A behavior from a Kane issue that Kane now gets right is shown as Balanced. That's a finding, not something to hide.
- Behaviors we haven't measured yet are shown as Not run.
- Kane reported at least 286 credits for the matrix runs behind this site.
Know a Kane check that goes wrong? Open an issue on Beam's repo with a link to the Kane issue.