CartLoop is a one-file demo store built by an AI agent and verified by Kane CLI browser flows — cart math, discount rejection, and checkout validation after every edit.
CartLoop is a demo store in a single HTML file — no framework, no build step, no backend. It has six products, an editable cart, a working 10% discount code (LOOP10), a checkout form with per-field validation, and order confirmations with generated order numbers. It was built by an AI coding agent, and the interesting part is how it gets checked: three plain-English test objectives in the kane/ folder describe exactly what a shopper does and what the page must show — subtotal walking $18 → $42 → $60 → $42 → $18 through quantity changes and a removal, a bogus discount code that must leave the total untouched at $18.00, and a checkout that must reject a malformed email and a 15-digit card number with specific errors before it accepts a valid order. verify.sh starts the store and runs all three flows through Kane CLI in agent mode against headless Chrome, and it only exits zero when every flow's final event reports passed. The agent edits code, Kane drives the browser, the agent reads structured results and fixes what failed — a closed loop where the verification is real browser behavior, not the agent grading its own homework.
Built in two weeks for the KaneCLI Online Hackathon.
See the hackathon →