I wrote this post as part of the Kiroween Hackathon 2026.
For Kiroween I built Caspy's Prompt Heist, a Halloween persuasion game. You get three prompts to talk Caspy, a stubborn little AI ghost, out of his candy. If your words work, a separate AI judge grades them, and you can mint the result as a candy NFT on Base Sepolia.
The game was the fun part. This post is about the thing that surprised me: the feature of Kiro I ended up relying on most was not code generation. It was a Markdown file.
The project was bigger than one chat session
Caspy is not a single app. By the end of the hackathon it was:
- an Astro + React frontend on Vercel
- a Python game API on Render
- Supabase PostgreSQL for accounts, games and research data
- a Bifrost LLM gateway routing two different Gemini models (one plays Caspy, one judges)
- FLUX.1-schnell for the candy artwork
- two Solidity contracts on Base Sepolia (an ERC-721 with EIP-712 vouchers and a fixed-price marketplace)
I worked across Kiro IDE and Kiro CLI, often switching between them in the same day. Every new session needs to know what is deployed where, what has been tested and what must never change. Re-explaining that in chat every time does not scale, and the explanation drifts.
That is what steering fixed.
Day 1: 48 lines and one golden rule
My first commit, on 31 October, included .kiro/steering/project.md. It was 48 lines long. The most important part was this:
## Golden rule The LLM may influence the outcome, but **must never hold mint authority.** All value-bearing decisions pass through deterministic, auditable server-side code. Never wire an LLM tool/function to sign, mint, or write `won` to the DB. This matters a lot in a game about persuading an AI. The obvious design is to give Caspy a grant_treat() tool. Then a single clever prompt injection mints an NFT. So the rule is: Caspy has no tools, a separate judge returns a structured verdict, and server code plus the contract decide everything that carries value.
Because that rule lived in steering, every session in the IDE or the CLI started from it. I never had to catch an agent drifting toward giving the model more power, because the boundary was part of the context from the first message.
Four weeks later: 715 lines
Here is how the file grew, taken straight from the git history:
| Date | Lines |
|---|---|
| 31 Oct | 48 |
| 4 Nov | 240 |
| 6 Nov | 351 |
| 9 Nov | 650 |
| 17 Nov | 715 |
The golden rule is still there at line 153, slightly stronger than before:
**Golden rule:** the LLM may influence the outcome but must never hold mint authority. Never wire an LLM tool/function to sign, mint, transact, write `won`, change grade or consume/refund attempts. All authority stays in server code and verified contracts. Everything else changed around it.
Steering became my project's memory
The biggest shift in how I worked: I stopped treating context as chat history. Whenever something was deployed, verified, broke or got fixed, it went into steering with a date. A fresh session picked up the real state of the project instead of my memory of it.
A few patterns made the file actually useful, rather than just long.
1. One authoritative section at the top. The file opens with "Current hosting — authoritative checkpoint, 10 November 2026" and a table of every component, where it runs and what to watch out for. When I moved the backend from GitHub Codespaces to Render, I updated that one section. Older notes stay further down under "Historical hosting preparation".
2. Status words in the headings. Some of my real section titles:
## Implemented stack — not the production roadmap## Supabase migration — completed, do not repeat blindly## Historical price-history implementation — superseded presentation
These look odd, but they solve a real problem. An agent reading a long file can't tell a plan from a fact unless you say so. My day-1 steering said the API would be FastAPI with Redis and Cloud KMS signing. None of that shipped. Without the "not the production roadmap" label, a future session could trust the old plan.
3. Verified vs. claimed. The file separates what I verified (with what command and when) from what is only planned. One line I'm glad I wrote: "MetaMask extension flow is still untested." It stopped me, and the agent, from claiming something worked when it had only been tested with local Anvil wallets.
4. Working rules for the agent, not just the code. My favorite is a one-liner:
**Never run development servers/watchers from the agent.** Ask the user to start or restart the launcher. Long-running processes started by an agent tend to pile up or die silently. I run ./run.sh myself and the agent works against it.
5. Links instead of copies. Steering points to the full docs with #[[file:PRD.md]] and #[[file:docs/render-deployment-2026-11-10.md]], so they load as context when needed without duplicating them in steering.
Specs for the feature I didn't want to rush
The next feature, Caspy Bench, is a persuasion-robustness benchmark. It freezes consented, human-reviewed heists into versioned evaluation sets and replays them against other models. It touches consent, which is exactly where I didn't want to improvise.
So I wrote it as a Kiro spec in .kiro/specs/persuasion-benchmark/: 14 requirements with WHEN/THEN acceptance criteria, a design document and 18 tasks. Writing the criteria forced decisions I would otherwise have made halfway through the code:
3. WHEN an evaluation set is published THEN the system SHALL reject any later change to its items or labels; a correction SHALL require a new version. ... 6. IF fewer than 30 items remain after filtering THEN the system SHALL refuse to publish and state how many more are needed. And for consent:
4. WHEN a player declines research THEN attempts, difficulty, win conditions and reward eligibility SHALL be unchanged. Every task in tasks.md names the requirements it covers and is ordered so the app keeps working after each one. Caspy Bench isn't built yet, and I'm fine with that. The spec is the part I'd have gotten wrong if I'd started by coding.
A small hook that pays for itself
The game API is a single Python service, and a syntax error there means a failed deploy on Render. So I added a hook that compiles every backend Python file on save:
{ "name": "Python syntax check on save", "trigger": "PostFileSave", "matcher": "scripts/[^/]+\\.py$", "action": { "type": "command", "command": "... python3 -m py_compile \"$f\" && echo \"syntax ok: $f\"", "timeout": 20 } } It's read-only and deploys nothing. It's boring, and that's the point.
MCP for the boring-but-scary parts
Kiro is connected to the Render and Vercel MCP servers, so I can check deploy status, service configuration and logs from inside the editor. The MCP config stays local and out of git because it holds credentials.
Steering sets the boundaries here too. One rule says any Supabase MCP must stay read-only and project-scoped, and the app's admin database URL must never be given to an MCP server. Giving an agent a tool is easy. Writing down what it must never touch is what makes it safe.
What I'd tell someone starting with Kiro
- Write the rule you can't afford to break on day 1. For me it was mint authority. Put it in steering before writing any code.
- Date your checkpoints and label stale sections. "Superseded" and "not the roadmap" in a heading save more confusion than any amount of prompting.
- Write down what you haven't verified. It keeps you and the agent honest.
- Use specs where mistakes are expensive. Consent, money and security deserve acceptance criteria. A UI tweak doesn't.
- Share context across tools. Because the IDE and the CLI read the same
.kiro/folder, switching tools never meant starting over.
Try it
- Play the testnet preview: caspy-prompt-heist.vercel.app (test ETH only, and the free backend may take a minute to wake up)
- Source, including the
.kiro/folder: github.com/albertleooonardi/caspy
Three prompts. One stubborn ghost. Good luck. 👻
This post was written as part of the Kiroween Hackathon 2026.
