<?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: Patrick Werle</title>
    <description>The latest articles on DEV Community by Patrick Werle (@patrick_werle_87a9bf37760).</description>
    <link>https://dev.to/patrick_werle_87a9bf37760</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%2F4272417%2F71e754de-e69a-4580-add3-ece72079651a.png</url>
      <title>DEV Community: Patrick Werle</title>
      <link>https://dev.to/patrick_werle_87a9bf37760</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/patrick_werle_87a9bf37760"/>
    <language>en</language>
    <item>
      <title>My replay was lying - how a Kiro property test caught a hash bug I had missed</title>
      <dc:creator>Patrick Werle</dc:creator>
      <pubDate>Sun, 29 Nov 2026 14:13:28 +0000</pubDate>
      <link>https://dev.to/patrick_werle_87a9bf37760/my-replay-was-lying-how-a-kiro-property-test-caught-a-hash-bug-i-had-missed-pg2</link>
      <guid>https://dev.to/patrick_werle_87a9bf37760/my-replay-was-lying-how-a-kiro-property-test-caught-a-hash-bug-i-had-missed-pg2</guid>
      <description>&lt;p&gt;&lt;em&gt;Built for the Kiroween 2026 hackathon. Code: &lt;a href="https://github.com/OnePieceMonkey/bones" rel="noopener noreferrer"&gt;github.com/OnePieceMonkey/bones&lt;/a&gt; · Demo: &lt;a href="https://www.youtube.com/watch?v=IWPzX7txfBY" rel="noopener noreferrer"&gt;2-minute video&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The promise I wanted to keep
&lt;/h2&gt;

&lt;p&gt;AI reads receipts, claims and forms every day. When it gets one wrong, nobody can say &lt;em&gt;why&lt;/em&gt;.&lt;/p&gt;

&lt;p&gt;So I built &lt;strong&gt;Bones&lt;/strong&gt;, an open-source skeleton for AI decisions you can audit. It has one law, written into a Kiro steering file:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;The LLM never decides.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The model only reads. It turns a messy receipt into fields with a fixed schema. Versioned rules make the decision. Every decision is stored as a &lt;strong&gt;trace&lt;/strong&gt;: the input hash, the raw model output, the validated fields, every rule outcome and the result.&lt;/p&gt;

&lt;p&gt;The best part of a trace is &lt;strong&gt;replay&lt;/strong&gt;. You can take an old decision, apply rule set v2 instead of v1, and see what would change. Same input, new rules, new verdict. In the UI, you turn a retro RULE VERSION knob and the bone in the X-ray heals or breaks.&lt;/p&gt;

&lt;p&gt;Replay is only worth something if it keeps the evidence. If replay changes the input, it is not a replay. It is a new decision that looks old.&lt;/p&gt;

&lt;h2&gt;
  
  
  Everything was green
&lt;/h2&gt;

&lt;p&gt;I built Bones task by task with Kiro specs. Each design document lists numbered &lt;strong&gt;correctness properties&lt;/strong&gt;, and Kiro writes them as &lt;a href="https://fast-check.dev" rel="noopener noreferrer"&gt;fast-check&lt;/a&gt; property-based tests with 100 to 200 random runs each.&lt;/p&gt;

&lt;p&gt;Property 2 was "replay round trip". The first version checked this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;the replayed &lt;code&gt;result&lt;/code&gt; equals the original &lt;code&gt;result&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;the replayed &lt;code&gt;amountCents&lt;/code&gt; equals the original &lt;code&gt;amountCents&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It passed. Every run. I moved on.&lt;/p&gt;

&lt;h2&gt;
  
  
  The property got stronger, and it failed at once
&lt;/h2&gt;

&lt;p&gt;Later I worked on the second spec, the Expense Auditor app. Its requirements said that a replay must copy the extraction fields &lt;strong&gt;without modification&lt;/strong&gt;. That includes &lt;code&gt;inputHash&lt;/code&gt;, the fingerprint of the original receipt.&lt;/p&gt;

&lt;p&gt;Kiro strengthened Property 2 to check the whole contract, not only the verdict:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// The original hash is fixed: "aaaa…"&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;originalPorts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;deterministicPorts&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;hasher&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s2"&gt;"a"&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;repeat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;64&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;trace&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;createTrace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;decision&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;extraction&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ruleSet&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;fields&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;TextEncoder&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;encode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"input"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;originalPorts&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// The replay hasher returns "cccc…" and counts its calls&lt;/span&gt;
&lt;span class="kd"&gt;let&lt;/span&gt; &lt;span class="n"&gt;hashCalls&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;replayPorts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;clock&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="s2"&gt;"2025-01-01T00:00:00.000Z"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;id&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="s2"&gt;"replay-id"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;hasher&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="n"&gt;hashCalls&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="s2"&gt;"c"&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;repeat&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;64&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="n"&gt;replayed&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;replay&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;trace&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;trace&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;ruleSetVersion&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="n"&gt;ruleSet&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;catalog&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;scopes&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;replayPorts&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="c1"&gt;// keep the evidence, never re-hash on replay&lt;/span&gt;
&lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;replayed&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;inputHash&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;trace&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;inputHash&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;hashCalls&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toBe&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;replayed&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rawModelOutput&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toEqual&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;trace&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rawModelOutput&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="nf"&gt;expect&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;replayed&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;proposedFields&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;toEqual&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;trace&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;proposedFields&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The trick is in the two hashers. The original trace gets a hash of &lt;code&gt;aaaa…&lt;/code&gt;. The replay gets a hasher that returns &lt;code&gt;cccc…&lt;/code&gt; and counts its calls. If replay keeps the evidence, the hash stays &lt;code&gt;aaaa…&lt;/code&gt; and the counter stays at zero.&lt;/p&gt;

&lt;p&gt;fast-check needed exactly one run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Property failed after 1 tests
Counterexample: [100,"",{}]
Shrunk 3 time(s)
expected 'cccccccccccccccc…' to be 'aaaaaaaaaaaaaaaa…'
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The counterexample is almost empty: a cap of 100 cents, an empty model output, no fields. The bug did not need a weird input. It was in &lt;em&gt;every&lt;/em&gt; replay.&lt;/p&gt;

&lt;h2&gt;
  
  
  What was wrong
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;replay()&lt;/code&gt; called &lt;code&gt;createTrace()&lt;/code&gt; with the &lt;strong&gt;model output&lt;/strong&gt; as bytes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// before (simplified)&lt;/span&gt;
&lt;span class="nf"&gt;createTrace&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;decision&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;extraction&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ruleSet&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;fields&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="k"&gt;new&lt;/span&gt; &lt;span class="nc"&gt;TextEncoder&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;encode&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;trace&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rawModelOutput&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;createTrace()&lt;/code&gt; hashes whatever bytes it gets. So every replayed trace carried the hash of the model's answer, not the hash of the original receipt. The verdict was right. The amounts were right. The evidence was wrong.&lt;/p&gt;

&lt;p&gt;Nobody would notice this in the UI. An auditor would notice it months later, when the hash in a replayed trace matches no document on file.&lt;/p&gt;

&lt;h2&gt;
  
  
  The fix
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;createTrace()&lt;/code&gt; now takes an optional &lt;code&gt;{ inputHash }&lt;/code&gt;. &lt;code&gt;replay()&lt;/code&gt; passes the stored hash, never calls the hasher, and refuses to run when the hash is missing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="n"&gt;trace&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;inputHash&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;kind&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"invalid_replay_arguments"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;message&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"trace.inputHash must be a non-empty string"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="n"&gt;missingField&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"inputHash"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Kiro recorded the bug, the exact counterexample, the root cause and the fix in &lt;a href="https://github.com/OnePieceMonkey/bones/blob/main/.kiro/specs/core/bugs-found.md" rel="noopener noreferrer"&gt;&lt;code&gt;.kiro/specs/core/bugs-found.md&lt;/code&gt;&lt;/a&gt;. That file is part of the spec now, next to the requirements it protects.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this happened in Kiro, and not in my head
&lt;/h2&gt;

&lt;p&gt;I had written the requirement ("copy extraction fields without modification"). I had a replay test. The two never met, because the test checked what I &lt;em&gt;cared about&lt;/em&gt;, the verdict, and not what I had &lt;em&gt;promised&lt;/em&gt;, the whole trace.&lt;/p&gt;

&lt;p&gt;Three Kiro features closed that gap:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Specs with numbered correctness properties.&lt;/strong&gt; The requirement and the property live in the same design document. When the requirement grew, the property was the obvious place to grow it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Property-based tests by default.&lt;/strong&gt; A single example test with a real receipt would have passed, because the verdict was correct. The property test checks the contract for any input, so it hit the bug on run one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A &lt;code&gt;bugs-found.md&lt;/code&gt; per spec.&lt;/strong&gt; Every bug a property finds goes there with its counterexample. It is a small habit, and it turns "a test failed once" into a record that the next spec can read.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The same discipline found a second bug: an integration test showed that &lt;code&gt;&amp;lt;&lt;/code&gt; on ISO date strings like &lt;code&gt;"2024-03-05"&lt;/code&gt; never fired, because &lt;code&gt;Number("2024-03-05")&lt;/code&gt; is &lt;code&gt;NaN&lt;/code&gt;. Every date rule was silently dead. That one is Bug 1 in the same file.&lt;/p&gt;

&lt;h2&gt;
  
  
  The lesson you can take home
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;If your system has a "replay", test what replay must keep, not only what it must compute.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Write the property as: &lt;em&gt;replaying a trace with the same rules gives the same trace&lt;/em&gt;, field by field, and count the calls to anything that creates new evidence (hashers, clocks, ID generators). Make those ports injectable so a test can swap them for fakes that return obvious values like &lt;code&gt;aaaa…&lt;/code&gt; and &lt;code&gt;cccc…&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;It costs ten lines. It found a bug that every other test missed.&lt;/p&gt;

&lt;h2&gt;
  
  
  About Bones
&lt;/h2&gt;

&lt;p&gt;Bones runs two apps on one skeleton: an &lt;strong&gt;Expense Auditor&lt;/strong&gt; (the AI reads $480, the receipt says $48.00, the "meal limit" bone breaks) and &lt;strong&gt;Case Files&lt;/strong&gt;, a ghost detective game where a solver proves that exactly one suspect can be convicted. Every line of application code was written by Kiro from six specs, with steering, hooks and property-based tests.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Live: &lt;a href="https://bones-tau.vercel.app" rel="noopener noreferrer"&gt;bones-tau.vercel.app&lt;/a&gt; and &lt;a href="https://bones-case-files.vercel.app" rel="noopener noreferrer"&gt;bones-case-files.vercel.app&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Code and the full &lt;code&gt;.kiro/&lt;/code&gt; folder: &lt;a href="https://github.com/OnePieceMonkey/bones" rel="noopener noreferrer"&gt;github.com/OnePieceMonkey/bones&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;I wrote this post for the Kiroween 2026 hackathon. #KiroweenHackathon26&lt;/em&gt;&lt;/p&gt;

</description>
      <category>kiro</category>
      <category>testing</category>
      <category>typescript</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
