<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Uladzislau Bayouski</title>
    <description>The latest articles on DEV Community by Uladzislau Bayouski (@uladzislaubayouski).</description>
    <link>https://dev.to/uladzislaubayouski</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4277531%2F5df678de-c8c9-4a2f-8adc-255406f128e8.jpg</url>
      <title>DEV Community: Uladzislau Bayouski</title>
      <link>https://dev.to/uladzislaubayouski</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/uladzislaubayouski"/>
    <language>en</language>
    <item>
      <title>How an agent overruled its own suggestion</title>
      <dc:creator>Uladzislau Bayouski</dc:creator>
      <pubDate>Wed, 02 Dec 2026 09:15:05 +0000</pubDate>
      <link>https://dev.to/uladzislaubayouski/i-asked-an-agent-to-enforce-one-design-rule-and-it-overruled-its-own-suggestion-4ehd</link>
      <guid>https://dev.to/uladzislaubayouski/i-asked-an-agent-to-enforce-one-design-rule-and-it-overruled-its-own-suggestion-4ehd</guid>
      <description>&lt;p&gt;&lt;em&gt;This post was written as part of the Kiroween 2026 hackathon.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Candlewatch is a focus timer where the candle is the clock. You light it for a focus session (15, 25 or 50 minutes, or&lt;br&gt;
anything from 5 to 90), and the room shows everything about that session:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The candle&lt;/strong&gt; shows the time left. The wax height is exactly the fraction of the session left.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The flame&lt;/strong&gt; shows the state: steady while lit, small and blue while paused, guttering in the last minute.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ghosts&lt;/strong&gt; show distractions. Leave the tab and one appears, sized by how long you were away.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The graveyard&lt;/strong&gt; shows the sessions you gave up on. Each one gets a gravestone carved with what the candle was for.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The dawn&lt;/strong&gt; shows that you finished: the room fills with early light and a chime plays.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It is free, it runs in the browser, and it has no accounts and no network calls: &lt;a href="https://candlewatch.onrender.com" rel="noopener noreferrer"&gt;https://candlewatch.onrender.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I entered it in the Costume Contest category, which asks for spooky design that "enhances your app's function". I&lt;br&gt;
made that a hard rule from the first line of the brief: &lt;strong&gt;the costume is the function.&lt;/strong&gt; Every spooky element shows&lt;br&gt;
one piece of state. Take the costume off and nothing is left to read.&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/GdvKNphcyh0" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;(The three-minute demo. How Kiro built it starts at 1:52.)&lt;/p&gt;

&lt;p&gt;This post is about how Kiro kept that rule, including against Kiro itself.&lt;/p&gt;

&lt;h2&gt;
  
  
  A rule needs something that enforces it
&lt;/h2&gt;

&lt;p&gt;The rule went into Kiro's steering, the documents Kiro loads on every request. &lt;code&gt;product.md&lt;/code&gt; says it plainly: an&lt;br&gt;
element that does not map to state does not ship.&lt;/p&gt;

&lt;p&gt;Steering helps Kiro write the right thing. It does not check that the right thing was written. So I added a custom&lt;br&gt;
agent, &lt;code&gt;costume-reviewer&lt;/code&gt;, that is read-only. It can open files and screenshots, but it cannot edit anything. Its&lt;br&gt;
only job is to compare each visible change with the rule and answer PASS or CHANGES NEEDED. It ran 20 passes over the&lt;br&gt;
project.&lt;/p&gt;

&lt;h2&gt;
  
  
  The wall texture
&lt;/h2&gt;

&lt;p&gt;The candle scene was the first real test. On its first pass the reviewer found three faults: the ember read as a dot,&lt;br&gt;
the dawn window was dimmed by the light wash, and the paused halo stayed amber around a blue flame. It also suggested&lt;br&gt;
a grain texture for the flat stone wall.&lt;/p&gt;

&lt;p&gt;Kiro built the grain. On the next pass the same agent ruled it decoration, because it showed no state, and cited the&lt;br&gt;
steering line. The grain was removed, and a test now fails if it comes back.&lt;/p&gt;

&lt;p&gt;That was the moment I stopped thinking of the reviewer as a linter. It applied the written rule to its own idea and&lt;br&gt;
did not make an exception.&lt;/p&gt;

&lt;p&gt;The rule did change once, on purpose. When I wanted a real room (stone wall, table, window, a wooden door), I amended&lt;br&gt;
it: a still setting may stand behind the elements only where the candle's light or the window's light falls on it.&lt;br&gt;
The change went into the brief and the steering as a numbered amendment, and the reviewer checked against the new&lt;br&gt;
wording from then on. A rule you can amend in writing is better than one people quietly ignore.&lt;/p&gt;

&lt;h2&gt;
  
  
  Specs, on three surfaces
&lt;/h2&gt;

&lt;p&gt;From a one-page brief Kiro wrote four steering documents and, over the project, eleven specs, each with&lt;br&gt;
requirements, a design and a task list. The task lists hold 569 checkboxes, and all are ticked. The last one was the hosting check before the deadline: the live&lt;br&gt;
site passed 12 of 12 on December 2.&lt;/p&gt;

&lt;p&gt;I used three Kiro surfaces, and the usage log records 99 sessions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The Kiro CLI (49 sessions)&lt;/strong&gt; for the engine, the first room, the hosting and a visual-polish pass.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Kiro IDE (46 sessions)&lt;/strong&gt; for the ghosts, the graveyard and the night scene, running independent tasks side
by side in sub-agents.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kiro Web (4 sessions)&lt;/strong&gt; for documents: the first README and two specs, each as a pull request.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Two things paid off more than I expected:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Asking for open questions before the design.&lt;/strong&gt; Kiro found that the break after a session fitted none of the
states in my brief.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reviewing the design before any code.&lt;/strong&gt; My review of the storage design found a path that could erase stored
history, a failed read followed by a write. It was fixed in the document, before it existed in code.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Proving a drawing
&lt;/h2&gt;

&lt;p&gt;"The wax is the time left" is easy to say and easy to get slightly wrong. The session engine is a pure function,&lt;br&gt;
&lt;code&gt;(state, event, now) -&amp;gt; state&lt;/code&gt;, and time comes from timestamps, never from counting ticks, so a sleeping laptop&lt;br&gt;
cannot make it drift. The drawn candle height is checked by a property test against the engine's fraction.&lt;/p&gt;

&lt;p&gt;There are 1,792 unit and property tests and 834 end-to-end tests. Property tests run at least 300 cases each, and they found&lt;br&gt;
bugs no example test had. My favourite: a time of 5e-324 milliseconds, the smallest positive number JavaScript has,&lt;br&gt;
made the timer show 00:00 for a session that had not ended. One clamp fixed it.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would tell myself on day one
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Write the design rule down where the agent reads it, then give a second agent the job of checking it.&lt;/strong&gt; Steering
alone made Kiro better. The reviewer made it consistent.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hooks that cannot block are reminders, not gates.&lt;/strong&gt; My hook that ran the checks when Kiro stopped could not stop
a failing change. The checks that caught things were the ones I asked for at the end of each batch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Let the agent stop instead of guess.&lt;/strong&gt; In one batch Kiro stopped six browser checks where a task's numbers
conflicted with the approved art, and asked me. Nothing was lowered just to make a check pass.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Look at the screenshots.&lt;/strong&gt; Every visible change ends with retaken screenshots, and looking at them found things
the tests did not: an unlabelled field, a wrong first-visit line on a phone, colour fringes on small text.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Light a candle: &lt;a href="https://candlewatch.onrender.com" rel="noopener noreferrer"&gt;https://candlewatch.onrender.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source: &lt;a href="https://github.com/UBayouski/Candlewatch" rel="noopener noreferrer"&gt;https://github.com/UBayouski/Candlewatch&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;The demo video: &lt;a href="https://youtu.be/GdvKNphcyh0" rel="noopener noreferrer"&gt;https://youtu.be/GdvKNphcyh0&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;The Kiroween 2026 entry on Devpost: &lt;a href="https://devpost.com/software/candlewatch" rel="noopener noreferrer"&gt;https://devpost.com/software/candlewatch&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every session is in the repo's &lt;code&gt;KIRO_USAGE.md&lt;/code&gt;, and the &lt;code&gt;.kiro/&lt;/code&gt; folder holds the steering, specs, hooks and the&lt;br&gt;
reviewer agent exactly as Kiro used them.&lt;/p&gt;

</description>
      <category>kiro</category>
      <category>typescript</category>
      <category>hackathon</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Introduction to how read-only agents can find what many tests may miss</title>
      <dc:creator>Uladzislau Bayouski</dc:creator>
      <pubDate>Wed, 02 Dec 2026 07:53:12 +0000</pubDate>
      <link>https://dev.to/uladzislaubayouski/i-froze-a-programming-language-in-a-spec-and-a-read-only-agent-found-what-198-tests-missed-2bo5</link>
      <guid>https://dev.to/uladzislaubayouski/i-froze-a-programming-language-in-a-spec-and-a-read-only-agent-found-what-198-tests-missed-2bo5</guid>
      <description>&lt;p&gt;&lt;em&gt;This post was written as part of the Kiroween 2026 hackathon.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;In 1987 HyperCard let people with no programming background build real software out of cards, buttons, fields and&lt;br&gt;
short English-like scripts. NecroCard brings that model back in the browser, and adds the one thing 1987 did not&lt;br&gt;
have: you describe a stack in a sentence, and an agent called Summon writes the first draft. Every card, button and&lt;br&gt;
script stays editable.&lt;/p&gt;

&lt;p&gt;It is free, it runs in the browser, and three sample stacks work with no server at all:&lt;br&gt;
&lt;a href="https://necrocard.onrender.com" rel="noopener noreferrer"&gt;https://necrocard.onrender.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I built it with Kiro for Kiroween 2026, in the Resurrection category. The hard part was not the cards. It was the&lt;br&gt;
language: NecroTalk, a small scripting language with its own hand-written tokenizer, parser and tree-walking&lt;br&gt;
evaluator. No &lt;code&gt;eval&lt;/code&gt;. This post is about building an interpreter with an AI agent, and why the most useful thing I&lt;br&gt;
did was freeze the language in writing before any code existed.&lt;/p&gt;

&lt;p&gt;Here is the whole thing in under three minutes (how Kiro built it starts at 1:55):&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/Ph06T8qLUGo" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  The contract comes first
&lt;/h2&gt;

&lt;p&gt;The project started as one hand-written brief. Section 4 of it is the frozen NecroTalk subset: exactly which&lt;br&gt;
handlers, commands, expressions and error messages exist, and nothing else. Kiro turned the brief into five steering&lt;br&gt;
documents, and one of them, &lt;code&gt;necrotalk.md&lt;/code&gt;, loads only when work touches the interpreter. It carries the frozen&lt;br&gt;
grammar and one exact error format: &lt;code&gt;Line N: message.&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then came twelve specs, each with requirements, a design and a task list, built in order: the stack model, the&lt;br&gt;
interpreter, browse and edit modes, the script editor, Summon, sharing, the 1-bit skin and so on.&lt;/p&gt;

&lt;p&gt;The frozen grammar turned out to do three jobs at once:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;It told Kiro what to build.&lt;/li&gt;
&lt;li&gt;It gave a reviewer something exact to check the code against.&lt;/li&gt;
&lt;li&gt;It let Summon check every script it generates against the real interpreter before you see it.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  A reviewer that can only read
&lt;/h2&gt;

&lt;p&gt;I gave Kiro a custom agent, &lt;code&gt;necrotalk-reviewer&lt;/code&gt;, whose only tool is reading files. It loads the brief's grammar and&lt;br&gt;
the steering, reads the interpreter, and reports anything that does not match: grammar added or missing, wrong&lt;br&gt;
error formats, module boundaries crossed. Every review ends with PASS or FINDINGS.&lt;/p&gt;

&lt;p&gt;Its first run was on code that already had 198 passing tests. It returned 19 findings. The real ones included:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;custom handlers could not be called by name, though the grammar requires it;&lt;/li&gt;
&lt;li&gt;a one-line &lt;code&gt;else if&lt;/code&gt; could close an &lt;code&gt;if&lt;/code&gt; block without &lt;code&gt;end if&lt;/code&gt;;&lt;/li&gt;
&lt;li&gt;error messages leaked internal parser names instead of &lt;code&gt;Line N:&lt;/code&gt; messages;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;constructor(1)&lt;/code&gt; and &lt;code&gt;__proto__(1)&lt;/code&gt; reached JavaScript internals instead of failing as unknown functions.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Over four rounds it also found the biggest gap in the spec itself: nothing could read a field's text inside an&lt;br&gt;
expression. &lt;code&gt;put field "Score" + 1 into field "Score"&lt;/code&gt; was impossible, so the quiz could never keep score.&lt;/p&gt;

&lt;p&gt;The tests were green because they tested what had been built. The reviewer compared what had been built with what had&lt;br&gt;
been promised. That is a different question, and it is a cheap one to ask: one read-only pass, no edits, no&lt;br&gt;
browser.&lt;/p&gt;

&lt;h2&gt;
  
  
  Property tests and a comment that wasn't
&lt;/h2&gt;

&lt;p&gt;Property-based tests with fast-check check the rules that should always hold, on random input. The interpreter's&lt;br&gt;
favourite was "parse, print, parse again gives the same program". On its first runs it found printer bugs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;-(-b)&lt;/code&gt; printed as &lt;code&gt;--b&lt;/code&gt;. In NecroTalk, &lt;code&gt;--&lt;/code&gt; starts a comment, so the rest of the line disappeared.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;a is (not b)&lt;/code&gt; printed without its parentheses and came back as the &lt;code&gt;is not&lt;/code&gt; operator.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No example test would have tried a double minus. The stack model's round-trip property found a different kind of&lt;br&gt;
bug on its first run: the date generator produced years before 1000, which broke the schema's date pattern.&lt;/p&gt;

&lt;h2&gt;
  
  
  Catching bugs in documents
&lt;/h2&gt;

&lt;p&gt;The step that saved the most time happened before any code: reviewing each design as a document. In the stack-model&lt;br&gt;
design, review caught three failures that would only have shown up at run time, including a JSON schema shape that&lt;br&gt;
quietly rejects every object. In the interpreter design it turned the dialogs asynchronous and added an object&lt;br&gt;
reference node, two changes that would have been multi-day refactors later.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I learned
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Freeze the contract, then let agents check against it.&lt;/strong&gt; A written grammar did more work than any single test
file, because three different things could check against it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read-only agents are underrated.&lt;/strong&gt; The reviewer found more real defects than the test suite, at a fraction of the
cost of a full agent session.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A task list is a resume point.&lt;/strong&gt; The interpreter spec ran out of credits halfway through. Because the work was a
numbered task list, the next session picked up where it stopped.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Say where the method broke.&lt;/strong&gt; One spec, the hosting one, documents code that was drafted outside Kiro. The usage
log says so plainly, and so does this post.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Summon a stack: &lt;a href="https://necrocard.onrender.com" rel="noopener noreferrer"&gt;https://necrocard.onrender.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Source: &lt;a href="https://github.com/UBayouski/NecroCard" rel="noopener noreferrer"&gt;https://github.com/UBayouski/NecroCard&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;The demo video: &lt;a href="https://youtu.be/Ph06T8qLUGo" rel="noopener noreferrer"&gt;https://youtu.be/Ph06T8qLUGo&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;The Kiroween 2026 entry on Devpost: &lt;a href="https://devpost.com/software/necrocard" rel="noopener noreferrer"&gt;https://devpost.com/software/necrocard&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;All 50 logged sessions are in the repo's &lt;code&gt;KIRO_USAGE.md&lt;/code&gt;, and the &lt;code&gt;.kiro/&lt;/code&gt; folder holds the steering, specs, hooks and&lt;br&gt;
the reviewer agent exactly as Kiro used them.&lt;/p&gt;

</description>
      <category>kiro</category>
      <category>typescript</category>
      <category>hackathon</category>
      <category>interpreters</category>
    </item>
    <item>
      <title>A story how my game playtester Kiro Crew app beat my own level</title>
      <dc:creator>Uladzislau Bayouski</dc:creator>
      <pubDate>Wed, 02 Dec 2026 04:49:26 +0000</pubDate>
      <link>https://dev.to/uladzislaubayouski/my-games-playtester-is-a-kiro-crew-app-and-it-beat-my-own-level-5ad7</link>
      <guid>https://dev.to/uladzislaubayouski/my-games-playtester-is-a-kiro-crew-app-and-it-beat-my-own-level-5ad7</guid>
      <description>&lt;p&gt;&lt;em&gt;This post was written as part of the Kiroween 2026 hackathon.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Grimsheet is a roguelike where the whole dungeon is a spreadsheet. You are the &lt;code&gt;@&lt;/code&gt;, walls are &lt;code&gt;#&lt;/code&gt;, the exit is &lt;code&gt;X&lt;/code&gt;,&lt;br&gt;
and below the map sits the NECRONOMICELL: every rule of the level is a formula in a cell. A monster chases you&lt;br&gt;
because a cell says &lt;code&gt;=IF(DIST(HERO,SELF)&amp;lt;4,TOWARD(HERO),"-")&lt;/code&gt;. Change the 4 to a 1, spend one ink, and it stops&lt;br&gt;
chasing. The errors are the monsters: a &lt;code&gt;#DIV/0!&lt;/code&gt; is a hole in the floor, and a &lt;code&gt;#CYCLE!&lt;/code&gt; haunts the whole sheet and&lt;br&gt;
costs a hit point every turn until you break it.&lt;/p&gt;

&lt;p&gt;It has six levels, it is free, and it runs in the browser: &lt;a href="https://grimsheet.onrender.com" rel="noopener noreferrer"&gt;https://grimsheet.onrender.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I built it with Kiro for Kiroween 2026, in the Frankenstein category. This post is about the part I did not expect to&lt;br&gt;
enjoy most: a second app, built in Kiro Crew, that plays my levels for me and tries to break them.&lt;/p&gt;

&lt;p&gt;Here is the whole thing in under three minutes (the Playtester is at 2:08):&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/y87ZCx6uvRI" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  From a brief to nine specs
&lt;/h2&gt;

&lt;p&gt;Grimsheet started as a one-page brief. Kiro turned it into five steering documents and then nine specs, each with&lt;br&gt;
requirements, a design and a task list: the formula engine, the sheet model, the game rules, the grid UI, the error&lt;br&gt;
monsters, the levels, hosting, the skin and sound, and later a sixth level.&lt;/p&gt;

&lt;p&gt;I used all four Kiro surfaces, each for what it is good at:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;The IDE&lt;/strong&gt; for writing and reviewing specs and for sequential work, with a hook that runs the fast tests on every
save and another that runs the full check before a task finishes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kiro Crew&lt;/strong&gt; for independent task batches in parallel, each on its own branch.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kiro Web&lt;/strong&gt; for pull requests: the README, the hosting setup and a spec conflict.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The Kiro CLI&lt;/strong&gt; for a read-only reviewer agent, and for a custom power that replays levels.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The reviewer agent is the one I would build again first. It checked the formula engine against the frozen formula&lt;br&gt;
contract after 384 tests had already passed, and still found real bugs: 9 findings, then 5, then 6 over three rounds.&lt;br&gt;
Property tests with fast-check caught something the example tests never tried: an unguarded random source.&lt;/p&gt;

&lt;h2&gt;
  
  
  The problem with puzzle levels
&lt;/h2&gt;

&lt;p&gt;A puzzle level is a claim: "this is the cheapest way through". Every time I touched the engine, the rules or a level&lt;br&gt;
file, that claim could quietly stop being true. Unit tests check functions. I wanted something that checks the&lt;br&gt;
levels themselves, every night, and something that actively looks for a cheaper way through.&lt;/p&gt;

&lt;p&gt;So I gave Grimsheet a headless play command, and built &lt;strong&gt;Grimsheet Playtester&lt;/strong&gt;, a Kiro Crew app, in its own repo:&lt;br&gt;
&lt;a href="https://github.com/UBayouski/Grimsheet-Playtester" rel="noopener noreferrer"&gt;https://github.com/UBayouski/Grimsheet-Playtester&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Its manifest registers one agent (&lt;code&gt;playtester&lt;/code&gt;), two skills (&lt;code&gt;play-level&lt;/code&gt; and &lt;code&gt;find-exploits&lt;/code&gt;), one script cron&lt;br&gt;
(&lt;code&gt;replay&lt;/code&gt;) and a dashboard page.&lt;/p&gt;

&lt;h2&gt;
  
  
  Replay: no model, just facts
&lt;/h2&gt;

&lt;p&gt;The replay cron fetches Grimsheet's main branch into its own clone, builds the headless play command, plays every&lt;br&gt;
level's stored solution, and records the result. There is no model call in it. Each level comes out green (it still&lt;br&gt;
wins at its minimal ink), amber (it wins with a different ink count), red (it no longer wins) or not judged.&lt;/p&gt;

&lt;p&gt;The dashboard inside Kiro Crew shows a card per level with ink, end HP and the last runs, plus a table of every run.&lt;br&gt;
When I added the sixth level, the app picked it up with no code change and showed six green cards.&lt;/p&gt;

&lt;h2&gt;
  
  
  Hunt: the agent proposes, a verifier decides
&lt;/h2&gt;

&lt;p&gt;On request, the &lt;code&gt;playtester&lt;/code&gt; agent hunts for exploits. It studies a level and proposes action lists: a cheaper win, a&lt;br&gt;
win with no edits, an unexpected route. It never gets to decide whether it was right. A deterministic verifier&lt;br&gt;
replays every proposal, and only what reproduces is recorded. The hunt is bounded: 4 attempts per level and 20 per&lt;br&gt;
hunt.&lt;/p&gt;

&lt;p&gt;Keeping the verifier as the only judge was the most important design decision. An agent that is sure it found&lt;br&gt;
something is not the same as a replay that shows it.&lt;/p&gt;

&lt;h2&gt;
  
  
  It found a cheaper win than I designed
&lt;/h2&gt;

&lt;p&gt;Level 3, The Locked Crypt, was designed for two ink. On 8 November, two separate hunts each came back with a verified&lt;br&gt;
one-ink win. I read the action list, played it myself, and agreed: it was clever, not broken. So the trick became the&lt;br&gt;
official solution, the stored solution's minimal ink went from 2 to 1, and the next replay turned card 03 green&lt;br&gt;
again: "ink spent 1 of minimal 1".&lt;/p&gt;

&lt;p&gt;That is the loop I wanted: the replay guards what I meant, the hunt questions it, and a person decides.&lt;/p&gt;

&lt;h2&gt;
  
  
  What building a Crew app taught me
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Spike first.&lt;/strong&gt; Before any real design I built a throwaway Crew app just to answer open questions by observation:
how a page reads what a cron wrote, what a cron can run on Windows, how skills are found. Several answers changed
the plan. On my Windows setup a command cron was rejected, so the replay became a Python script cron that launches
Node.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Read the gateway log before the second retry.&lt;/strong&gt; Three of my first four agent chats were spent before I checked
it. It named the missing &lt;code&gt;tools&lt;/code&gt; list straight away.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A step summary is not a test result.&lt;/strong&gt; A Crew step summary once read "4/4 passed" over four red property tests.
Since then I check the file list of every branch and rerun the suite after each merge.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Property tests earn their keep.&lt;/strong&gt; In the hunt code, one property failed only on seed 648562001, a case seven random
runs had missed. Another found that a length limit counted in characters let a 40-emoji input grow far past its
budget; counting UTF-8 bytes fixed it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Play Grimsheet: &lt;a href="https://grimsheet.onrender.com" rel="noopener noreferrer"&gt;https://grimsheet.onrender.com&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Grimsheet source: &lt;a href="https://github.com/UBayouski/Grimsheet" rel="noopener noreferrer"&gt;https://github.com/UBayouski/Grimsheet&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Grimsheet Playtester (Kiro Crew app): &lt;a href="https://github.com/UBayouski/Grimsheet-Playtester" rel="noopener noreferrer"&gt;https://github.com/UBayouski/Grimsheet-Playtester&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;The demo video: &lt;a href="https://youtu.be/y87ZCx6uvRI" rel="noopener noreferrer"&gt;https://youtu.be/y87ZCx6uvRI&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;The Kiroween 2026 entry on Devpost: &lt;a href="https://devpost.com/software/grimsheet" rel="noopener noreferrer"&gt;https://devpost.com/software/grimsheet&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every session is logged in each repo's &lt;code&gt;KIRO_USAGE.md&lt;/code&gt;, and the &lt;code&gt;.kiro/&lt;/code&gt; folders hold the steering, specs, hooks and&lt;br&gt;
agent exactly as Kiro used them.&lt;/p&gt;

</description>
      <category>kiro</category>
      <category>hackathon</category>
      <category>typescript</category>
      <category>gamedev</category>
    </item>
  </channel>
</rss>
