$60.00 eligible · recorded checkout
The $60 cart was charged $9.00 while the ad promised free shipping.
Inspect the failed audit →Kern freezes the merchant’s offer, sends Kane through the real rendered checkout, and blocks the agent’s fix until the same promise passes unchanged — across free shipping, percentage discounts, bundles and delivery. No screenshot theater. No self-certified “done.”
Live checks run on the operator's machine. The runs below are real executions; this deployment only reads them.
$60.00 eligible · recorded checkout
The $60 cart was charged $9.00 while the ad promised free shipping.
Inspect the failed audit →src/lib/shipping.ts
The coding agent changed the shipping threshold in the real source, not the expectation.
Open the repair case →objective hashes unchanged
after the repair: $0.00 shipping
The same six objectives ran against the repaired store. The patch only ships when the gate opens.
Open the gate →“A patch is not done because it compiles. It is done when the customer gets the promise.”
The Kern principle · terminal-driven repair, independently gated
The promise library
The ad can promise a shipping threshold, a percentage discount, a bundle or a delivery date. Kern gives each one a boundary case and a control.
$60 and the exact $50 qualify; the $35 control keeps paying $9.
$60 gets $12 off; the exact boundary gets $10; the $35 control gets $0.
The complete bundle gets 15%; tote-only and notebook-only get $0.
The cutoff and weekends move the date: Nov 30, Dec 1, Dec 2.
The product
Most tests check whether the code still works. Kern checks whether the customer still gets what the ad promised.
Free shipping, percentage discounts, bundles and delivery estimates. One witness, one boundary-and-control discipline.
The ad and the merchant’s interpretation stay separate. The terms and policy are hash-linked before a run.
Kane reads the rendered price, discount, bundle total or delivery date. The store’s own code never decides whether the promise passed.
Every class gets an eligible case, the exact edge and a control. The offer cannot be “fixed” by giving it to everyone.
The gate exits non-zero. Claude Code can stop-block; Pi can run the same command. The agent cannot self-certify.
The promise, observed values, evidence hashes, code change and “what this does not prove” live in one record.
The witness
Kane is the only component that opens the customer checkout and reads the rendered value. Kern freezes the promise and decides; Kane supplies the independent browser truth.
A unit test can agree with the bug. Kane reads the actual rendered price, discount, bundle total or delivery date the customer sees.
Every run has a terminal run_end, exit code, extracted values and evidence hash. The gate is built on those artifacts.
Pi can change the source, but not the challenge. Kane reruns the same objectives after a change before the gate can open.
The evidence
The first proof is the shipping repair below. The second is 18 real Kane runs across percentage discounts, bundles and delivery.
| Cart | Promised | Before repair | After repair | Gate |
|---|---|---|---|---|
| $60.00 eligible | $0.00 | $9.00 | $0.00 | HONORED |
| $50.00 boundary | $0.00 | $9.00 | $0.00 | HONORED |
| $35.00 control | $9.00 | $9.00 | $9.00 | HONORED |
The second proof
Percentage discounts, bundles and delivery estimates — with every session, exit and evidence hash on the public proof page.
Explore
The demo app, the gate, the raw audits, the storefront, the receipts and the README.