Skip to content
WorkspaceOverview
PUBLIC DEMO

Read-only evidence · recorded runs and replay

GUIDED BENCHMARK

Correctness
beyond tests.

Watch a real browser transfer pass, see the rule it breaks, and follow the code change through re-verification.

The test passed. The money didn’t add up.Kane PASSED INV-001 VIOLATED+$100.00
VERIFICATION PIPELINELEDGERLAB

From observation to repair

01Kane observesReal browser state
02Invariant evaluatesDeterministic contracts
03Codex repairsScoped implementation changes
04Kane + Invariant re-verifyRe-observe and re-evaluate
Latest bundled runVERIFIED

PHASE 2 · HISTORICAL BENCHMARK

Recorded balance comparison

INV-001 Conservation / $100 transferKane workflow PASSEDInvariant VIOLATED
Expected combined balance
$1,500.00
Observed combined balance
$1,600.00
Unexplained change
+$100.00

Before transfer

Alice
$1,000.00
Bob
$500.00
Combined
$1,500.00

After transfer

Alice
$1,000.00
Bob
$600.00
Combined
$1,600.00

WHAT CHANGED

Codex repaired the balance update

Inspect repair ↗

The accepted patch adds the sender debit to the same transaction update that credits the recipient.

diff --git a/before.ts.txt b/candidate.ts.txtindex 4e2d9d6..bdc29b3 100644--- a/before.ts.txt+++ b/candidate.ts.txt@@ -31,9 +31,13 @@ export const transactions: TransactionLogic = {   transfer(ledger, transaction) {     if (ledger.history.some((entry) => entry.id === transaction.id)) throw new Error("Transaction identifier already used.");     validateTransfer(ledger, transaction);-    const { recipient, cents } = transaction;+    const { sender, recipient, cents } = transaction;     return {-      balances: { ...ledger.balances, [recipient]: ledger.balances[recipient] + cents },+      balances: {+        ...ledger.balances,+        [sender]: ledger.balances[sender] - cents,+        [recipient]: ledger.balances[recipient] + cents,+      },       history: [transaction, ...ledger.history],     };   },

POST-REPAIR COVERAGE

Conservation scenarios

INV-001

The same conservation contract evaluated each of these recorded transfers.

AmountAliceBobExpected / observedKaneInvariant
$10.00$1,000.00 → $990.00$500.00 → $510.00$1,500.00 / $1,500.00PASSEDSATISFIED
$100.00$1,000.00 → $900.00$500.00 → $600.00$1,500.00 / $1,500.00PASSEDSATISFIED
$250.00$1,000.00 → $750.00$500.00 → $750.00$1,500.00 / $1,500.00PASSEDSATISFIED