How it decides

The second build decides, not Kane's label.

On 12 real app bugs in four open-source apps, Kane's own label blamed the test in 6. An agent that trusts it rewrites the test to accept the bug. WITNESS replays the same recording on a build known to work (the app's live main build for a pull request, the last release, yesterday's nightly), records Kane's label next to every verdict and never uses it to decide.

A run is in progress
APP_BUG
Passes on the reference, fails on yours at a check.
The app changed. Fix the app, not the test.
TEST_PROBLEM
Passes on the reference, fails on yours at a click or typing step.
The page changed where the test acts. Record it again.
BEHIND_MAIN
Passes on main, but the branch split off before main fixed it.
The bug is older than the pull request. Update the branch.
ENV
Fails on the reference too.
Check the environment before changing anything.
PASS
Passes on yours.
Nothing to do. A passing run costs no Kane credits for triage.

Then Kane proves the fix: the unchanged recording (same sha256) must pass on the rebuilt app. Replays run with --no-adaptive-heal, so Kane cannot heal past a bug. Every rule above has a test in the repository.