<?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: Shreenidhi S</title>
    <description>The latest articles on DEV Community by Shreenidhi S (@shreenidhi904).</description>
    <link>https://dev.to/shreenidhi904</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%2F4276880%2F28490034-6526-4d86-b1d2-287fbad319fb.png</url>
      <title>DEV Community: Shreenidhi S</title>
      <link>https://dev.to/shreenidhi904</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/shreenidhi904"/>
    <language>en</language>
    <item>
      <title>I built one engine for everything that fades, then proved it by never touching it again</title>
      <dc:creator>Shreenidhi S</dc:creator>
      <pubDate>Tue, 01 Dec 2026 17:03:26 +0000</pubDate>
      <link>https://dev.to/shreenidhi904/i-built-one-engine-for-everything-that-fades-then-proved-it-by-never-touching-it-again-23lg</link>
      <guid>https://dev.to/shreenidhi904/i-built-one-engine-for-everything-that-fades-then-proved-it-by-never-touching-it-again-23lg</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;This post is part of my submission to &lt;strong&gt;Kiroween 2026&lt;/strong&gt;, the Kiro hackathon (Skeleton Crew category). Everything here was built with &lt;a href="https://kiro.dev" rel="noopener noreferrer"&gt;Kiro&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try it:&lt;/strong&gt; &lt;a href="https://decay-engine.pages.dev" rel="noopener noreferrer"&gt;decay-engine.pages.dev&lt;/a&gt; · &lt;strong&gt;Code:&lt;/strong&gt; &lt;a href="https://github.com/Shree-nidhi904/DecayEngine" rel="noopener noreferrer"&gt;github.com/Shree-nidhi904/DecayEngine&lt;/a&gt; · &lt;strong&gt;Demo video:&lt;/strong&gt; &lt;a href="https://youtu.be/8uaPKJrp9j8?si=h9CmcasJhBheugod" rel="noopener noreferrer"&gt;https://youtu.be/8uaPKJrp9j8?si=h9CmcasJhBheugod&lt;/a&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Things fade quietly
&lt;/h2&gt;

&lt;p&gt;A fact you studied last month is half gone today. A friend you used to talk to every week hasn't heard from you since spring. Nobody decided either of these things. They just happened, quietly, while nobody was looking.&lt;/p&gt;

&lt;p&gt;These look like different problems, but they have the same life:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;ALIVE  →  WEAK  →  DEAD  →  RESURRECTED (back to ALIVE)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Every app that deals with fading things rebuilds the same machinery from scratch: a health score, a "what needs attention now" list, a graveyard, a history of what happened. Flashcard apps do it. Habit trackers do it. Personal CRMs do it.&lt;/p&gt;

&lt;p&gt;The Skeleton Crew category asks for one reusable foundation with two very different apps built on it. So my question was: &lt;strong&gt;what if that machinery were written once?&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The engine: four questions
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Decay Engine&lt;/strong&gt; is a small TypeScript library with no UI code and no runtime dependencies. It doesn't know what an "item" is. It knows nothing about flashcards or friends. An app plugs in by answering four questions about its items. That set of answers is a &lt;strong&gt;decay policy&lt;/strong&gt;:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Question&lt;/th&gt;
&lt;th&gt;Function&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;How healthy is it now?&lt;/td&gt;
&lt;td&gt;&lt;code&gt;healthAt(item, now)&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Something happened. What now?&lt;/td&gt;
&lt;td&gt;&lt;code&gt;applyEvent(item, event, now)&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;When should we look again?&lt;/td&gt;
&lt;td&gt;&lt;code&gt;nextDueAt(item, now)&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Can it come back?&lt;/td&gt;
&lt;td&gt;&lt;code&gt;resurrect(item, event, now)&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;In return, every app gets the lifecycle, a full history per item, a due list, a graveyard, and three features no app has to write:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Triage:&lt;/strong&gt; "I have 20 minutes. What should I save?" An exact 0/1 knapsack over everything that's fading, checked against brute force by property tests.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Autopsy:&lt;/strong&gt; a factual report of why something died, read from its history log.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The time machine:&lt;/strong&gt; drag a slider 30 days into the future and watch things weaken and die. Nothing is saved while you look.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  The design choice that made everything easy
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;No engine function ever reads a clock.&lt;/strong&gt; Time is always passed in as &lt;code&gt;now&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;That one rule paid for itself many times over. Results are deterministic. Tests are exact instead of flaky. The time machine, which looks like the flashiest feature, cost almost nothing. It just calls the same functions with a later &lt;code&gt;now&lt;/code&gt;. The forecast came almost free too.&lt;/p&gt;

&lt;h2&gt;
  
  
  App 1: Study Dungeon (exponential decay)
&lt;/h2&gt;

&lt;p&gt;Facts you study fade into monsters. A fact's health halves every half-life. Answer it right and its health goes back to 100 and its half-life doubles. Answer it wrong and the half-life halves. Let it drop below 10 and it goes to the Graveyard. You can bring it back by answering it right.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6amz8keia7e2of2qbcbt.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F6amz8keia7e2of2qbcbt.png" alt="Study Dungeon with the time machine dragged 30 days ahead: four facts weakening, four dying, a monster saying &amp;quot;Last chance. Feed me an answer.&amp;quot;" width="800" height="500"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Time machine, 30 days ahead. The markers on the slider are the days each fact weakens (△) or dies (✕).&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  App 2: Ghosted (straight-line decay)
&lt;/h2&gt;

&lt;p&gt;Ghosted is a street at night with one window per person. The window's light shows &lt;strong&gt;connection freshness&lt;/strong&gt;: how recently you were in touch. It falls in a straight line and hits zero at three times your usual rhythm with that person. A text adds 40. A call or a meet-up brings it back to 100. If someone's window goes dark, a reply from them lights it again.&lt;/p&gt;

&lt;p&gt;One rule I wrote into the spec: the light measures &lt;em&gt;how recently&lt;/em&gt;, &lt;strong&gt;never how much someone matters&lt;/strong&gt;. The app's wording is never allowed to suggest otherwise.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbgtmj1ax9d2s123l0pkz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbgtmj1ax9d2s123l0pkz.png" alt="Ghosted with the moon clock 30 days ahead: 1 window still lit, 3 fading, 8 empty" width="800" height="500"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The moon clock looks up to a year ahead. "Future preview · nothing is saved."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The Autopsy is my favourite screen. It doesn't just say &lt;em&gt;that&lt;/em&gt; a window went dark. It says when you could have saved it:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0rcpomyy3q88q1bf0k96.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0rcpomyy3q88q1bf0k96.jpg" alt="Ghosted autopsy: a freshness chart with a call and a meet-up, and the sentence &amp;quot;A call on 1 Oct 2026, when the window started to flicker, would have kept the light on until 8 Nov 2026, 16 days longer.&amp;quot;" width="800" height="500"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The "Rescue Point" comes from a small package that replays an item's history and asks "what if?".&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The proof: zero lines of engine changed
&lt;/h2&gt;

&lt;p&gt;The two apps have opposite decay curves:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Study Dungeon&lt;/th&gt;
&lt;th&gt;Ghosted&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Shape of decay&lt;/td&gt;
&lt;td&gt;Exponential (half-life)&lt;/td&gt;
&lt;td&gt;Straight line&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;What slows it&lt;/td&gt;
&lt;td&gt;Getting answers right&lt;/td&gt;
&lt;td&gt;Staying in touch&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Coming back&lt;/td&gt;
&lt;td&gt;A test of you&lt;/td&gt;
&lt;td&gt;A reply from them&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Ghosted needed zero changes to the engine.&lt;/strong&gt; I didn't want that to be a claim in a README, so it's a check in CI. Before either app was built, I tagged the engine &lt;code&gt;engine-complete&lt;/code&gt;. A script, &lt;code&gt;check-engine-unchanged.sh&lt;/code&gt;, diffs &lt;code&gt;packages/engine&lt;/code&gt; against that tag and fails on any change except whole-line comments. Kiro tested the script itself in a throwaway worktree: a changed constant fails, a trailing comment after code fails, a new untracked file fails, and HEAD passes.&lt;/p&gt;

&lt;p&gt;If an app ever "needs" an engine change, the rule is to stop. That means the policy contract is wrong, and the contract gets fixed instead.&lt;/p&gt;

&lt;p&gt;To show that's real, I built two more things on the public API only:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Policy Lab:&lt;/strong&gt; write your own decay policy (a milk carton, a subscription, anything) and watch the real engine run it. &lt;code&gt;checkPolicy&lt;/code&gt; tells you whether the rules are sound.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Life Triage:&lt;/strong&gt; one time budget across both apps. "I have 30 minutes. Should I review flashcards or call my cousin?"&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How Kiro built it
&lt;/h2&gt;

&lt;p&gt;Kiro wrote roughly 84% of about 84,800 lines of code, over 96 logged sessions and 3,192 credits. I kept a session-by-session log (&lt;a href="https://github.com/Shree-nidhi904/DecayEngine/blob/main/docs/KIRO_LOG.md" rel="noopener noreferrer"&gt;&lt;code&gt;docs/KIRO_LOG.md&lt;/code&gt;&lt;/a&gt;) recording what Kiro produced, what I corrected, and what went wrong. Here's what mattered.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Specs caught bugs before any code existed
&lt;/h3&gt;

&lt;p&gt;I built three full specs (engine, Study Dungeon, Ghosted), about 7,700 lines, each going requirements → design → tasks, with a review stop after each step.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0i2t5yuurnp82iapdund.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0i2t5yuurnp82iapdund.jpg" alt="Kiro's requirements summary: 17 requirements and 97 acceptance criteria, 12.39 credits" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;The engine's first requirements. They looked complete. My review found 12 problems.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Reading the spec text, rather than the code, caught these:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Death redefined.&lt;/strong&gt; The first requirements defined "dead" as "health reaches 0" in four places, contradicting the threshold rule in the same file.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Double decay.&lt;/strong&gt; &lt;code&gt;tick&lt;/code&gt; saved new health without saying what happens to &lt;code&gt;lastEventAt&lt;/code&gt;, so a time-based policy would decay an item twice. This became a rule plus a property test: &lt;em&gt;splitting time makes no difference&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A preview mode that could never work.&lt;/strong&gt; The design detected "preview" by comparing &lt;code&gt;now&lt;/code&gt; with &lt;code&gt;Date.now()&lt;/code&gt;, which changes every millisecond, so the app would have blocked every action.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A float bug, found by Kiro itself.&lt;/strong&gt; While drafting Ghosted, Kiro noticed that &lt;code&gt;100 × (1 − elapsed / T)&lt;/code&gt; gives &lt;code&gt;9.999999999999998&lt;/code&gt; on day 81, so a person would go dark a day early. &lt;code&gt;100 × (T − elapsed) / T&lt;/code&gt; gives exactly 10.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With vibe coding, every one of those would have turned up later as a bug. With specs, I found them in a document.&lt;/p&gt;

&lt;p&gt;Small targeted corrections cost about 2 credits each. Design and tasks cost about seven times more than requirements and held the worst bugs. &lt;strong&gt;Review those stages the hardest.&lt;/strong&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Steering became tests
&lt;/h3&gt;

&lt;p&gt;I wrote eleven steering files. Two changed Kiro's behaviour the most:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;engine-boundary.md&lt;/code&gt;:&lt;/strong&gt; the engine never reads a clock, never touches the browser (outside one storage adapter), never imports an app, and has no runtime dependencies. I didn't trust a rule in a prompt to hold, so it became a test that reads the engine's source and fails on any violation.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;no-fake-tests.md&lt;/code&gt;:&lt;/strong&gt; never catch an error to make a test pass, never edit an expected value to match wrong output, never lower &lt;code&gt;numRuns&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;One lesson: steering is loaded into &lt;em&gt;every&lt;/em&gt; prompt, so a wrong line there costs more than a wrong line in a spec. A stale &lt;code&gt;async&lt;/code&gt; signature I'd missed in three steering files made Kiro stop and ask before writing the core types, which is the right behaviour. Now my prompts name which file is the source of truth.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. A custom agent reviewing another session's code
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;policy-reviewer&lt;/code&gt; is a read-only Kiro agent. It can read files and run only the policy test command. It checks an app's policy against the engine contract, the steering, and the spec.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv1v9rz2y4eaiacmhma0q.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fv1v9rz2y4eaiacmhma0q.jpg" alt="Kiro running the policy-reviewer sub-agent, which reads policy.test.ts and runs the Ghosted policy tests" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;On its very first run, it found a conflict I had missed by hand. Study Dungeon's requirement 4.1 and its design disagreed about what a successful resurrect returns. I had fixed the design weeks earlier and forgotten the requirement. On Ghosted it ran 44 policy tests and flagged one hard-coded threshold, which I accepted. An agent with a clean context is a second pair of eyes that hasn't read your excuses.&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Kiro CLI + Playwright MCP: build in one place, measure in another
&lt;/h3&gt;

&lt;p&gt;For the late features I split the work:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Kiro IDE&lt;/strong&gt; built spec tasks with file edits only.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Kiro CLI&lt;/strong&gt; then used the &lt;strong&gt;Playwright MCP&lt;/strong&gt; to open the app in a browser at 1280, 390 and 320 pixels wide and &lt;em&gt;measure&lt;/em&gt; it. It was told to stop and report a failure, not fix it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftkbbdwxb3spapem3fcml.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Ftkbbdwxb3spapem3fcml.jpg" alt="Kiro CLI using Playwright: it notices a tour popup covering the time machine in its own screenshot and retakes it" width="800" height="450"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;Kiro looked at its own screenshot, saw a tour popup covering the time machine, and retook it.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;This found layout bugs no unit test could. At 390×844, the first row of Ghosted windows was hidden 21px under the time dock. At 320px, Play was clipped by 2.5px. jsdom can't see that. A browser can.&lt;/p&gt;

&lt;h3&gt;
  
  
  5. Property-based testing, and testing the tests
&lt;/h3&gt;

&lt;p&gt;The engine has 17 fast-check properties, each run at least 100 times, plus property suites for Ghosted. The last full run was &lt;strong&gt;3,213 tests across eleven suites, all passing&lt;/strong&gt;. Passing tests prove little, so I broke the code on purpose:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The first generators made almost every item die immediately, so the properties would pass while checking nothing. Now every app has a &lt;strong&gt;generator coverage check&lt;/strong&gt;: alive, weak and dead items must each be at least 10% of generated cases.&lt;/li&gt;
&lt;li&gt;I made bisection return the wrong end of its final minute, and all 17 properties still passed. That gap now has its own property.&lt;/li&gt;
&lt;li&gt;A Rescue Point property passed once and then failed about one run in four. The counterexample was a real edge case. &lt;strong&gt;Run new property files a dozen times, not once.&lt;/strong&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  6. Hooks, Powers, and a custom Power
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Hooks:&lt;/strong&gt; run a policy's tests when &lt;code&gt;policy.ts&lt;/code&gt; is saved, and scaffold a new decay policy on request. Kiro used the scaffold hook to start Ghosted.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Powers:&lt;/strong&gt; I deployed first with the Netlify power. When my Netlify credits ran out, I had Kiro write its &lt;strong&gt;own Cloudflare Pages power&lt;/strong&gt;: a deploy skill that runs the full check script, deploys a preview, and goes to production only when asked.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyisxp4k5v916spitmj8q.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyisxp4k5v916spitmj8q.jpg" alt="Kiro loading the custom Cloudflare Pages deploy skill from the project's own power" width="800" height="450"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Being honest about the rest
&lt;/h3&gt;

&lt;p&gt;Kiro's shell was unreliable on my setup (Kiro on Windows, the project in WSL). So for much of the build, Kiro wrote the files and I ran the tests in WSL and pasted the results back. Kiro only marked a task done after a passing run. Every file is listed in &lt;code&gt;.kiro/steering/authorship.md&lt;/code&gt;. The decay rules themselves are mine, set in the specs.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd tell the next builder
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Review every spec stage.&lt;/strong&gt; Kiro's summary once said "everything matched" when it had invented its own policy contract.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Turn rules into checks.&lt;/strong&gt; A steering rule is a request. A test that reads the source is a guarantee. "Zero engine changes" is a CI script, not a sentence.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Make time an input.&lt;/strong&gt; Deterministic tests, a free time machine, a free forecast.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Break your own code on purpose.&lt;/strong&gt; A suite that has never failed hasn't proved anything.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep building and measuring apart.&lt;/strong&gt; An agent told to measure and stop gives you numbers you can trust.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Try it (and haunt your future self)
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Start here:&lt;/strong&gt; &lt;a href="https://decay-engine.pages.dev" rel="noopener noreferrer"&gt;decay-engine.pages.dev&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ghosted:&lt;/strong&gt; &lt;a href="https://decay-engine-ghosted.pages.dev" rel="noopener noreferrer"&gt;decay-engine-ghosted.pages.dev&lt;/a&gt;: press &lt;em&gt;Load sample street&lt;/em&gt;, then drag the moon clock.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Study Dungeon:&lt;/strong&gt; &lt;a href="https://decay-engine-study-dungeon.pages.dev" rel="noopener noreferrer"&gt;decay-engine-study-dungeon.pages.dev&lt;/a&gt;: load sample data and set Triage to 20 minutes.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Policy Lab:&lt;/strong&gt; &lt;a href="https://decay-engine-lab.pages.dev" rel="noopener noreferrer"&gt;decay-engine-lab.pages.dev&lt;/a&gt;: write your own decay rule.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code, specs, steering and the full Kiro log:&lt;/strong&gt; &lt;a href="https://github.com/Shree-nidhi904/DecayEngine" rel="noopener noreferrer"&gt;github.com/Shree-nidhi904/DecayEngine&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Everything runs in your browser. There are no accounts and no server by default.&lt;/p&gt;

&lt;p&gt;Things fade. Save the ones that matter. 🎃&lt;/p&gt;

&lt;p&gt;Built with Kiro for the Kiroween 2026 hackathon #kiro #kiroween&lt;/p&gt;

</description>
      <category>buildinpublic</category>
      <category>hackathon</category>
      <category>opensource</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
