Kiroween 2026: Resurrection

Summary for judges (30 seconds)

  • What it is: the carbon-copy receipt book, brought back for the AI that pays your bills. Every move the AI makes is sealed, so nobody can quietly rewrite what happened, not even us.
  • Try it in three clicks: on the live demo, Run Maya's day, decline the double payment on her phone, then Try to forge a new book. It is caught, in your own browser.
  • Three numbers: 4 rounds of attacks by Kiro's own custom agent; 38 weak spots it proved, each fixed or written down as a limit; 45,571 receipts from recorded AI runs changed one at a time, every change caught.
  • Kiro: one spec (20 requirements, 25 tasks, changed 18 times), 3 steering files, 3 hooks, a custom attacker agent, property-based tests, our own MCP server, the CLI run headless; every Kiro session is in the repo.

Inspiration

Maya runs a nine-person furniture workshop. Her AI agent pays her bills through PayPal. On Monday she paid a supplier $1,836.00. On Tuesday the supplier's SECOND NOTICE for the same $1,836.00 landed in the inbox. The payment and the reminder had crossed in the mail. The AI looked in PayPal, did not see the money arrive yet, and paid again.

Our earlier tool, Receipts, catches that: it checks PayPal's own records first and holds the payment for Maya, who declines it on her phone. But that raised the question every accountant asks next: a month from now, how does Maya know the record still says she declined? A log written by the same system that runs the AI can be edited by whoever runs that system. "The AI says it was declined" is not proof.

So we went back to an old idea that worked: the carbon-copy receipt book. Two sheets, one stroke of the pen, and the copy cannot be changed without it showing.

What it does

  • Every move gets a carbon copy the moment it happens: each payment the AI tries, each decision about it (paid, held for Maya, blocked), each tap Maya makes, PayPal's answer, and the AI's end-of-day report. That includes AI tools that connect over MCP: they get their own book.
  • Each copy is sealed to the one before it. Change one word or one amount anywhere and the check names the exact receipt. Delete one, swap two, or cut the last ones off, and the check says so.
  • Maya's phone keeps a stamp every time she approves or declines. If anyone cuts the book back to an earlier version, her phone's stamp catches it.
  • Try it yourself: Try to change one edits a copy of the book to say Maya approved the payment she declined: caught, at that receipt. Try to forge a new book rewrites the whole book and re-seals every page with a new key: Maya's device still remembers the key it trusted first, so it is caught.
  • Point your own AI at it. Connect Kiro, or any MCP client, to https://carbon-copy-ywv3.onrender.com/mcp/ and let it try to pay bills: it sees the payment to the wrong address blocked, the second notice held for Maya, the too-big refund blocked and the honest refund go through, and every move lands in a book you can pull with the carbon_book tool and check against our published key.
  • You do not have to trust us to check it. The page checks the seals in Maya's own browser. But the page comes from our server, so we also ship two checks that do not: verify.html, one file you save from GitHub and open from your own disk with no network at all, and a one-line command on the downloaded book. The demo's key is published in the repo to check against.

How we built it

Kiro feature How we used it Why it mattered
Spec One spec: 20 requirements, 25 tasks; every change began as a requirement; the spec changed 18 times as gaps were found In a product whose job is "a change nobody wrote down shows", the build had to follow the same rule
Steering 3 files: the money rules that never bend, the product and its plain-words rule, the tech stack Every task read them, so no task could quietly let an AI decide a payment or put a key in the repo
Hooks 3: run the tests on every Python save, guard the book's append-only rule, scan every save for keys The rules are checked by the tool, not by memory
Custom agent carbon-attacker: attacks the book on copies, reports only what it proved; 4 rounds, 38 proven findings It found the holes our own tests never imagined
Property-based tests hypothesis: any book stays intact; any one change to any receipt is caught at that receipt; deletions, swaps and cut-off endings are caught Tests the shapes we did not think of, not just the ones we did
MCP Our own MCP server, loaded by Kiro from .kiro/settings/mcp.json; the attacker used its tools The AI side of the product is an MCP server, so Kiro worked the way our users' agents work
Kiro CLI, headless Each task handed over as one instruction; every session saved in the repo with Kiro's own report Each task can be run, tested and committed on its own, and judges can read every run

Spec first, never vibe. We did not vibe-code any part of this. The book and every money path went through the spec, because in money code a change nobody wrote down is exactly the bug the product exists to catch.

Kiro wrote Carbon Copy from a spec: requirements.md (20 requirements), design.md and tasks.md (25 tasks), with the rules that never bend in steering files (no AI decides a payment; the book is append-only; checking needs no secret; no keys in the repo) and three hooks set to run the tests after every save, guard the book's append-only rule and scan for keys. We used the Kiro CLI headless: each task handed over as one instruction, the spec as the only source of truth, one commit per task. From task 8 on, every task started by writing its requirement and design into the spec, then building.

The part we are proudest of is a custom Kiro agent, carbon-attacker, whose only job is to break the book: forge it, rewrite it, hide a change, cause a false alarm, on copies only, reporting only what it proved. We ran it four times. Every time it got through, the spec changed first, Kiro fixed the code, and the same attack was run again. The agent also used the project's own MCP server, which Kiro loads from .kiro/settings/mcp.json. Every Kiro run is in the repo's docs/kiro-sessions/, with the instructions Kiro was given and its own end report.

Challenges we ran into

  • A chain of seals cannot see its own ending cut off. The first version said intact when the last receipts were deleted. Spec first (a signed count), then code, then a test that cuts the end off random books on every run.
  • Two independent AI reviewers broke it before the attacker did. The check trusted whatever key the book carried, so a book rewritten to say Maya approved the payment, re-sealed with a brand-new key, read INTACT. We moved the key and the stamps onto Maya's device and the check into her browser.
  • Our own attacker kept finding things the tests did not. Six weak spots in round one, seven in round two, thirteen in round three, twelve in round four: 38 in all, each fixed or written down as a limit. The worst ones were not in the cryptography at all: payments made over MCP left no receipt; two approvals could pay one bill twice; a timeout after PayPal took the money was sealed "not sent"; and the check in the page is code our own server sends, which is why verify.html exists.
  • Our own check gave a false alarm the first time we pressed it in a browser: the browser writes 1836.0 as 1836, the seal is taken over the exact characters, and an untouched book read CHANGED AT #5. We found it by clicking, not by testing.

Accomplishments that we're proud of

  • Every recorded run through the book. We replayed all 1,444 recorded AI runs from Receipts, with Carbon Copy on and off: 2,888 books, 45,571 receipts. Every honest book checked out. Then we changed every one of those 45,571 receipts, one at a time: every change was caught, at exactly that receipt. Forgeries, swaps and cut-off endings were caught in every book, and the check in the browser agreed with the Python check on all 17,478 comparisons. This runs in CI on every push.
  • 503 tests, plus that recorded-runs suite, with no network and no keys.
  • A live demo a judge can break in 30 seconds: run Maya's day, decline the double payment on her phone, then try to change or forge the record.

What we learned

A record that the AI's own system writes is a story, not evidence. Evidence is a record that shows when it has been touched, and that you can check without asking the people who wrote it.

What's next

  • A stamp shared with the accountant as well as the owner, so two devices hold the line.
  • Publishing the latest signed count somewhere public each day, so even the last stretch before a stamp is covered.
  • Keeping the books on disk: the demo holds them in memory, so a restart starts fresh (the README says so).

Built on

Carbon Copy is built on Receipts (github.com/JosephCirello/receipts), our own open-source checker, built 8 to 11 November 2026, inside the Kiroween submission period. The first commit of this repository imports it unchanged; everything after it is new work for Kiroween, and the README says which is which. The 1,444 recorded runs and the "What Receipts measured" tab are Receipts' work, labelled as such; the carbon copy is new.

Built With

Share this project:

Updates

Submission history