This post was written for the Kiroween 2026 hackathon.
In Kiro, a spec is a pact. You write requirements, a design and a task list, and then you build against them. They stay put. Hooks help when you save, steering keeps the agent on your rules, and MCP gives it tools.
For Kiroween I wanted to know what that would feel like if every one of those helpers worked against you. The result is Wipecode: the code that deletes itself.
👉 Try it: https://wipecode.boo · Code: https://github.com/yezk-code/wipecode
What it is
You boot into a haunted desktop. Windows visitors get Doors, a graveyard with a glowing door; everyone else gets Lychee, a moonlit orchard whose fruit watches you. The lock screen accepts any password and tells you it was wrong. The browser can't find the docs because they deleted themselves, and every day on the calendar is October 31.
Then you open Wipecode, an IDE that looks a lot like Kiro, on a normal project: a Task Tracker API with specs, steering, hooks, code and tests.
- Save the code, and a red line sweeps through it, striking out and unwriting lines.
- Every button costs a few lines. A Wipe tax counter fills up, and when it's full the project collapses into "the Great Unwriting". Files become tombstones.
- Autocomplete suggests deletions. Undo takes a line somewhere else. Find and replace replaces with nothing. The agent proposes a refactor that's almost entirely red and calls it "Simplified. Behavior unchanged."
- Specs lose requirements, and because requirement ids link specs, tasks, code and tests, you can watch coverage fall and tests go red.
And then there's Healthy mode. Flip it on and the same actions behave the way Kiro intends. That's the point of the whole thing: satire only works if you know what good looks like.
How I built it with Kiro
Specs first. Before any code, I wrote four specs in EARS style ("WHEN a spec is saved, THE hook SHALL…"): the curse engine, the web IDE, the MCP server and the sandbox hooks. They decided the module split and, more importantly, the safety rules. Twelve features later, the requirement-to-test links still told me exactly what each new curse broke. [Add your own moment here: a time the spec saved you, or where you had to change it.]
Steering for voice and hard rules. product.md set the tone: dry, gothic, a little smug, never mean. tech.md set rules I didn't want the agent to forget, like "the path guard is the only code that resolves paths" and "no agent runs a deploy". The curse even has its own steering file, possessed.md, which it appends to.
Hooks that are real. The repo ships real Kiro hooks: save a spec, code or hook file in cursed-sandbox/ and they run the Wipecode CLI against it; when the agent finishes, one leaves a ghost comment. The best evidence they work came from development itself: after every single agent turn, the agent-stop hook fired and refused with "CURSE_NOT_ENABLED, nothing was touched", because I'd never created the opt-in file. Dozens of times. Exactly what the spec asked for.
An MCP server for the agent. wipecode-curse gives the agent five tools (wipe_file, mutate_spec, corrupt_hook, unwrite_range, add_ghost_comment). It's registered disabled, with no auto-approve.
A custom agent. cursed-reviewer reviews a spec for what a curse could remove. It's read-only and can only dry-run.
Agent workflows. Bigger changes ran as plan → implement → review loops, and the reviewers sent work back more than once.
The safety design (the part I'm proudest of)
A project whose whole joke is deleting code needs to be impossible to aim at the wrong folder. Every path goes through one guard:
- an opt-in flag file you create yourself,
- a realpath boundary around
cursed-sandbox/, - symlink refusal and protected files,
- dry runs and a reset script.
The lesson Kiro taught me here: steering is advice; guards are code. Anything safety-critical lives in one tested function, not in a prompt.
Property-based tests found real bugs
I used fast-check for the curse rules and the guard: same seed and input must give the same output, rules must never throw on arbitrary text, events must match the diff, and no generated path may escape the sandbox.
They paid off. One caught a hook name containing $&: JavaScript's String.replace treats that as "insert the match", so user text was quietly garbling the output. Another found a NaN timestamp that produced an export file the importer then rejected. Example tests would never have found either.
What went wrong
- Hook format drift. My hooks use an older hook file shape. The agent-stop hook clearly runs in Kiro; I still want to migrate the rest to the newest format and record a full live run.
- Flaky tests that turned out to be timing assumptions, not app bugs. A fixed seed for everything random made them reproducible and fixable.
- A yellow button on a yellow background. The "Start over" button after a full wipe was invisible. Found by taking screenshots for the README.
- [Add your own: anything that surprised you or that you'd do differently.]
Try it
- Live: https://wipecode.boo. Any password works. Save the code, click a few buttons, watch the counter.
-
?demo=1runs a scripted tour;?calm=1turns off flashing and motion. - The real curse: clone the repo, open it in Kiro, and opt in with
touch cursed-sandbox/.curse-enabled.npm run reset-sandboxputs everything back.
Wipecode is affectionate satire. It only works because Kiro gets the healthy version right. Nothing real was harmed, only my confidence.
Built for the Kiroween 2026 hackathon. #Kiroween #Kiro

