<?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: Parth Laturiya</title>
    <description>The latest articles on DEV Community by Parth Laturiya (@parth_laturiya_41dc5c7f5c).</description>
    <link>https://dev.to/parth_laturiya_41dc5c7f5c</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%2F4274635%2F78913aff-904e-4a90-a11f-f7e5bb0cb513.png</url>
      <title>DEV Community: Parth Laturiya</title>
      <link>https://dev.to/parth_laturiya_41dc5c7f5c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/parth_laturiya_41dc5c7f5c"/>
    <language>en</language>
    <item>
      <title>Cut the network, keep working: building EctoFlow with Kiro (Kiroween 2026)</title>
      <dc:creator>Parth Laturiya</dc:creator>
      <pubDate>Wed, 02 Dec 2026 22:04:23 +0000</pubDate>
      <link>https://dev.to/parth_laturiya_41dc5c7f5c/cut-the-network-keep-working-building-ectoflow-with-kiro-kiroween-2026-357h</link>
      <guid>https://dev.to/parth_laturiya_41dc5c7f5c/cut-the-network-keep-working-building-ectoflow-with-kiro-kiroween-2026-357h</guid>
      <description>&lt;p&gt;Written for the Kiroween Hackathon 2026. Entry for Skeleton Crew, Costume Contest and the Bonus Blog Prize.&lt;/p&gt;

&lt;p&gt;I am Parth, a student. I built EctoFlow for one question: when two teams lose signal and keep working, whose list is right?&lt;/p&gt;

&lt;p&gt;The problem&lt;br&gt;
A storm cuts the power. HQ and a field crew can no longer talk. Each side keeps sending trucks and writing orders. When the line comes back, the two records disagree. Which one is right?&lt;/p&gt;

&lt;p&gt;EctoFlow keeps every event in a hash-chained log, merges two logs into one order that is the same on both sides, and shows every order it had to refuse, with the reason.&lt;/p&gt;

&lt;p&gt;Video: &lt;a href="https://youtu.be/dEibv_jfx34?si=psoUBUKMwzmllKSL" rel="noopener noreferrer"&gt;https://youtu.be/dEibv_jfx34?si=psoUBUKMwzmllKSL&lt;/a&gt;&lt;br&gt;
Live site: &lt;a href="https://parthlaturiya1.github.io/ECTOFLOW/" rel="noopener noreferrer"&gt;https://parthlaturiya1.github.io/ECTOFLOW/&lt;/a&gt;&lt;br&gt;
Repo (MIT): &lt;a href="https://github.com/parthlaturiya1/ECTOFLOW" rel="noopener noreferrer"&gt;https://github.com/parthlaturiya1/ECTOFLOW&lt;/a&gt;&lt;br&gt;
One kernel, two apps&lt;br&gt;
The kernel is 413 lines in 9 files, with no DOM and no Node code. Two very different apps use it:&lt;/p&gt;

&lt;p&gt;Spectral Fleet: a blackout crisis map. Two devices move trucks. BLACKOUT cuts them apart. RECONNECT merges them. A banner shows the merge time (typically about 6 ms, from 1.7 to 20 ms in Chrome on one laptop), how many events joined (17), and which orders were dropped (2) and why ("road closed", "square taken").&lt;br&gt;
Phantasm Synth: a ghost synth in the browser. Every knob turn and key press is a logged event. A scrub bar replays the session from the log.&lt;br&gt;
An app never edits the kernel. Each app brings its own reducer, a function (state, event) =&amp;gt; state. The kernel never learns what a truck or a knob is.&lt;/p&gt;

&lt;p&gt;Each event holds the hash of the one before it, so changing one event changes everything after it. append returns a new log and never changes the old one (packages/ectoflow-core/src/log.ts):&lt;/p&gt;

&lt;p&gt;ts&lt;/p&gt;

&lt;p&gt;verify walks the chain and reports the first broken index. It never throws.&lt;/p&gt;

&lt;p&gt;It is tamper-evident, not signed. It shows that a log was changed. It does not show who wrote it.&lt;/p&gt;

&lt;p&gt;How Kiro helped&lt;br&gt;
Specs. Four specs: core, Fleet, Synth, and the Kiro Power. They hold 45 numbered requirements in EARS form ("When X, the system shall Y"). Every task names the requirement ids, the files and the test. docs/SPEC-TO-CODE.md links each requirement to a commit and a test.&lt;/p&gt;

&lt;p&gt;Steering. Four short files that always load. The most useful is apps.md: apps never edit the kernel.&lt;/p&gt;

&lt;p&gt;A guard that bites. "One kernel, two apps" is easy to say, so a script checks it:&lt;/p&gt;

&lt;p&gt;code&lt;/p&gt;

&lt;p&gt;It fails the build if an app imports anything but the kernel index. In the video I add a bad import, it fails, I remove it, it passes.&lt;/p&gt;

&lt;p&gt;Hooks. Four hooks in Kiro's v1 JSON format. One runs the kernel tests when the agent saves a kernel file. One runs the import guard when the agent saves an app file (.kiro/hooks/apps-import-core-index.json):&lt;/p&gt;

&lt;p&gt;json&lt;/p&gt;

&lt;p&gt;A detail I got wrong at first: a PostFileSave hook fires when Kiro's agent saves a file, not when you save by hand. I fixed my docs after I read the Kiro docs.&lt;/p&gt;

&lt;p&gt;The Power. The repo ships a Kiro Power with a small MCP server over stdio. It has three tools: verify_log, reconcile_logs and explain_head. They run on the real kernel. So when I ask Kiro "is this log intact?", it runs verify_log and answers with the real result. On my tampered sample the log breaks at index 1.&lt;/p&gt;

&lt;p&gt;"I installed the Power in the Kiro IDE and asked about tampered.json. Kiro said the log breaks at index 1.&lt;/p&gt;

&lt;p&gt;The server keeps paths inside the workspace. It refuses folders, links that point outside, and files over 5 MB. It writes only new .json files and never overwrites.&lt;/p&gt;

&lt;p&gt;Kiro Crew built it, and Kiro Crew judged it&lt;br&gt;
I did not build this in one long chat. Kiro Crew sessions did it item by item. A lead session sent one worker at a time (core, Fleet, Synth, Power, hardening, CI, Pages, polish). Each worker got a written brief and reported back. The lead re-ran the checks before accepting.&lt;/p&gt;

&lt;p&gt;After each round, a review panel read the code, ran it, and tried to break it. The scores of the main rounds went 5.3, 6.3, 7.2, then 7.6. I then asked for harsher panels, which gave 7.7, 6.4 and 6.8. These are scores from AI review panels, not outside judges. I use them to find bugs, not as a prize.&lt;/p&gt;

&lt;p&gt;What the panels caught&lt;br&gt;
Round one found real kernel bugs by running code: events with the same time flipped order, reconcile hid a tampered log, and ids like constructor broke state. All fixed.&lt;br&gt;
Later rounds found a personal email in old commits (rewritten to a GitHub noreply address), an MCP server that could not find the workspace, and timing tests that could block a deploy.&lt;br&gt;
The harsh panels said the landing page looked plain, the merge was invisible, and the synth was silent on first view. So I added a merge banner, a radio-style ops log, a "Tap the ghost to hear it" prompt, and a new landing page.&lt;br&gt;
One panel found a real design limit, the lying clock. Merge order uses a claimed time and a device name, so an unsigned device can claim an earlier time and win a conflict. It is in the limits. Signed events would fix it. I have not built them. "The hardest bug was the MCP server. It could not find the workspace when Kiro started it from another folder. I fixed it and tested the path on tampered.json."]&lt;/p&gt;

&lt;p&gt;Honest limits&lt;br&gt;
Not signed. Anyone can rebuild a whole chain with new hashes.&lt;br&gt;
The lying clock, above. "I listened to the synth and it sounded a bit off" &lt;br&gt;
All commits are from one day (2026-11-30).&lt;br&gt;
The merge time is from one browser on one laptop.&lt;br&gt;
No Lighthouse run. axe-core found 0 violations on three pages.&lt;br&gt;
What I learned "Writing the limits down made the project stronger. The review panels found more bugs when my docs claimed less."&lt;/p&gt;

&lt;p&gt;Try it&lt;br&gt;
Open the blackout demo and click Tamper. Then open the synth and tap the ghost. The code is on GitHub. Watch the video: &lt;a href="https://youtu.be/dEibv_jfx34?si=psoUBUKMwzmllKSL" rel="noopener noreferrer"&gt;https://youtu.be/dEibv_jfx34?si=psoUBUKMwzmllKSL&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built for the Kiroween Hackathon 2026. #KiroweenHackathon26 #codewithkiro&lt;/p&gt;

</description>
      <category>hackathon</category>
      <category>opensource</category>
      <category>showdev</category>
      <category>softwaredevelopment</category>
    </item>
    <item>
      <title>I drew my subscriptions and old debts as a graveyard (built with Kiro, for Kiroween 2026)</title>
      <dc:creator>Parth Laturiya</dc:creator>
      <pubDate>Mon, 30 Nov 2026 15:48:00 +0000</pubDate>
      <link>https://dev.to/parth_laturiya_41dc5c7f5c/i-drew-my-subscriptions-and-old-debts-as-a-graveyard-built-with-kiro-for-kiroween-2026-2mif</link>
      <guid>https://dev.to/parth_laturiya_41dc5c7f5c/i-drew-my-subscriptions-and-old-debts-as-a-graveyard-built-with-kiro-for-kiroween-2026-2mif</guid>
      <description>&lt;p&gt;Written for Kiroween 2026. Entry for the Costume Contest and the Bonus Blog Prize.&lt;/p&gt;

&lt;p&gt;People guess they spend $86 a month on subscriptions. In a 2022 survey of 1,000 US consumers, the itemized total averaged $219, which is $133 more (C+R Research). In the same survey, 42% said they had stopped using a subscription but forgot they were still paying for it. That is one US survey, not a world number. The UK government says nearly 10 million of its 155 million subscriptions are believed unwanted (gov.uk, April 2026). I wanted to see that kind of money, so I drew it as ghosts.&lt;/p&gt;

&lt;p&gt;Old debts are harder. In the US, Regulation F says a debt collector must not sue, or threaten to sue, to collect a time-barred debt (CFPB, 12 CFR 1006.26). A time-barred debt is one where the legal time limit has passed. It is not a debt that is gone. In some places a payment or a signed letter can restart that clock.&lt;/p&gt;

&lt;p&gt;In the video I say it this way: "Every ghost is a real number." And I end it with "Don't fear the Reaper." I am a student. I wanted to show these hidden things on a screen. So I built Debt Reaper.&lt;/p&gt;

&lt;p&gt;Loaded from raw.githubusercontent.com&lt;/p&gt;

&lt;p&gt;The idea&lt;br&gt;
Debt Reaper draws your subscriptions and debts as a graveyard. It runs in your browser and sends nothing anywhere.&lt;/p&gt;

&lt;p&gt;The one rule: no decoration without data. Every picture is a real number.&lt;/p&gt;

&lt;p&gt;Cracks on a tombstone show how close the next renewal is.&lt;br&gt;
A ghost gets paler the longer you have not used the service.&lt;br&gt;
Fog covers a debt when the time limit to take you to court for it has probably passed.&lt;br&gt;
A Reaper stands on the legal boundary date. You can cross it and see the before and after.&lt;br&gt;
A lantern glows on what to deal with first.&lt;br&gt;
Reveal mode shows the number behind each effect. The app never tells you to pay or to ignore a debt. The rules for India, California and Texas are marked UNVERIFIED on screen, because no lawyer has checked them.&lt;/p&gt;

&lt;p&gt;Loaded from raw.githubusercontent.com&lt;/p&gt;

&lt;p&gt;How Kiro and Kiro Crew built it&lt;br&gt;
I chose the problem, the rules and which fixes to make. Kiro Crew workers did 18 build tasks, one worker per task. Kiro IDE holds the specs, steering and hooks.&lt;/p&gt;

&lt;p&gt;Requirements and tests first. There are 4 specs with 60 tasks (54 ticked). The first worker wrote 148 tests before any engine code. 143 failed on purpose. The next worker wrote the engines until they passed. It could not edit a test to make it pass. The design and task files were added after the engines.&lt;/p&gt;

&lt;p&gt;Steering. Seven steering files hold the rules. The most useful is a table that maps each visual effect to a source value. A new effect needed a new row first. Late in the build a scope-guard file stopped new views.&lt;/p&gt;

&lt;p&gt;Hooks. Kiro IDE reported 2 hooks triggered when the agent edited an engine file, and the 148 engine tests pass when run in the IDE terminal. The others are written, not seen firing. In my tests a hook only warned; it did not block a commit, so a git script does that.&lt;/p&gt;

&lt;p&gt;MCP. A small server lets an agent ask the same engines for a verdict. It has a spawn test, and I recorded it answering inside Kiro IDE.&lt;/p&gt;

&lt;p&gt;Review boards. After each round, simulated judges (25 of them, played by AI sessions) scored the app on five criteria. The overall average went 6.40, 6.80, 7.09, 7.50, 7.58, 7.59, 7.55. These are not real people. But the gaps they found became my task list.&lt;/p&gt;

&lt;p&gt;Each worker also wrote a report on what it ran and what it did not check.&lt;/p&gt;

&lt;p&gt;I also made a small Kiro Crew app. Once a week it reads your own CSV and sends one message, only if a debt time-limit date is within 30 days or a renewal is within 3 days. It uses the same tested engines as the web app. The app's agent has no network tool. The weekly cron runs on the default agent.&lt;/p&gt;

&lt;p&gt;Proof&lt;br&gt;
273 unit tests and 34 browser tests pass. axe finds 0 problems.&lt;br&gt;
The whole tour ran at 59.9 fps on desktop and 60 on a phone-size screen. I measured in headless Chromium with software rendering, so treat it as a floor.&lt;br&gt;
Lighthouse: accessibility 100, best practices 100 and SEO 91. Performance was 99 on the latest run (88 to 98 in the three before; depends on machine load).&lt;br&gt;
What did not work&lt;br&gt;
The first legal text was wrong. It said a payment always restarts the clock. Secondary sources say that in Texas a debt buyer cannot restart a debt this way, and that in California a payment alone does not. I have not checked the statutes myself, and no lawyer has. The rules stay UNVERIFIED on screen.&lt;br&gt;
Reviewers found real bugs late: a ghost over the wrong stone and a menu that stayed open.&lt;br&gt;
Lighthouse swung with machine load, from 62 to 99.&lt;br&gt;
The README was empty until a review found it.&lt;br&gt;
Limits&lt;br&gt;
No real user has tried Debt Reaper yet. Next, I will ask 5 people to try the 30-second tour and note where they stop. All scores come from simulated reviewers. The Crew app ran live in Kiro Crew once, on demo data. This is not legal advice.&lt;/p&gt;

&lt;p&gt;Links&lt;br&gt;
Demo video: &lt;a href="https://youtu.be/5FKBLimUdTY" rel="noopener noreferrer"&gt;https://youtu.be/5FKBLimUdTY&lt;/a&gt;&lt;br&gt;
Live app: &lt;a href="https://parthlaturiya1.github.io/debt-reaper/" rel="noopener noreferrer"&gt;https://parthlaturiya1.github.io/debt-reaper/&lt;/a&gt;&lt;br&gt;
30-second tour: &lt;a href="https://parthlaturiya1.github.io/debt-reaper/?tour=1" rel="noopener noreferrer"&gt;https://parthlaturiya1.github.io/debt-reaper/?tour=1&lt;/a&gt;&lt;br&gt;
Code (MIT): &lt;a href="https://github.com/parthlaturiya1/debt-reaper" rel="noopener noreferrer"&gt;https://github.com/parthlaturiya1/debt-reaper&lt;/a&gt;&lt;br&gt;
Music: "Ethereal Haunted Soundscape", made by Parth with Google Flow Music (AI).&lt;/p&gt;

</description>
      <category>buildinpublic</category>
      <category>design</category>
      <category>sideprojects</category>
    </item>
  </channel>
</rss>
