<?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: Chitra Kumar Sai Chenuri Venkata</title>
    <description>The latest articles on DEV Community by Chitra Kumar Sai Chenuri Venkata (@chitrakumarsai).</description>
    <link>https://dev.to/chitrakumarsai</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%2F4273278%2F479b3444-3c7c-4fc0-8f32-767281aebe54.png</url>
      <title>DEV Community: Chitra Kumar Sai Chenuri Venkata</title>
      <link>https://dev.to/chitrakumarsai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chitrakumarsai"/>
    <language>en</language>
    <item>
      <title>LLMs guess. The Dead Are Certain.</title>
      <dc:creator>Chitra Kumar Sai Chenuri Venkata</dc:creator>
      <pubDate>Tue, 01 Dec 2026 06:01:34 +0000</pubDate>
      <link>https://dev.to/chitrakumarsai/llms-guess-the-dead-are-certain-af0</link>
      <guid>https://dev.to/chitrakumarsai/llms-guess-the-dead-are-certain-af0</guid>
      <description>&lt;h1&gt;
  
  
  KiroweenHackathon26
&lt;/h1&gt;

&lt;p&gt;&lt;em&gt;I wrote this post for Kiroween 2026, the Kiro hackathon. The project is in the Skeleton Crew category.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Ask a language model how much of a hospital bill your health insurance will pay. You'll get an answer, and maybe a different one if you ask again. Either way, the model can't point to the clause in the policy that produced the number. For a decision like this, that's the part that matters. A guess isn't a decision.&lt;/p&gt;

&lt;p&gt;That's why I built &lt;strong&gt;Dead Certain&lt;/strong&gt;, a small expert-system skeleton with two working apps on it. The name is the idea: the rules are dead. They don't think, they don't vary, and they always give the same answer to the same question.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Try it:&lt;/strong&gt; &lt;a href="https://chitrakumarsai.github.io/dead-certain/" rel="noopener noreferrer"&gt;https://chitrakumarsai.github.io/dead-certain/&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Code (MIT):&lt;/strong&gt; &lt;a href="https://github.com/chitrakumarsai/dead-certain" rel="noopener noreferrer"&gt;https://github.com/chitrakumarsai/dead-certain&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  The idea: the LLM writes the rules once, then gets out of the way
&lt;/h2&gt;

&lt;p&gt;Expert systems are old. What used to make them expensive was the knowledge engineer: the person who reads a rulebook and turns every clause into a rule. That's work a language model is good at.&lt;/p&gt;

&lt;p&gt;So Dead Certain splits the job in two:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;At build time&lt;/strong&gt;, an LLM agent reads a rulebook and writes rules from it, one rule per clause, each citing its clause. A person reviews them, and a validator and a set of "golden" scenarios check them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;At run time&lt;/strong&gt;, a small deterministic engine in the browser makes every decision. No LLM runs, and there's no backend, no account and no analytics.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Every verdict comes with its proof. I call it the &lt;strong&gt;X-ray&lt;/strong&gt;: open any line and you see the rules that fired, the facts they used and the clause each rule cites. The answers live in the link itself, so sharing a verdict link always gives the same verdict. If the rules change, an old link says so instead of quietly giving a different answer.&lt;/p&gt;

&lt;h2&gt;
  
  
  Two apps, one skeleton
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Claim Check&lt;/strong&gt; asks a policyholder only the questions that matter, one at a time. It then shows how much of a hospital bill a sample policy pays, each deduction, and the clause behind each line. The policy is fictional: I wrote it for this project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pre-Flight&lt;/strong&gt; reads a public GitHub repository and checks it against a hackathon submission checklist. It reads the facts it can from GitHub, asks only for what it can't see, and gives pass, fail or "needs your answer" for each item, with the evidence. I ran it on Dead Certain's own repo before submitting. Every check passed except the demo video length, which GitHub can't see.&lt;/p&gt;

&lt;p&gt;Same engine, different rulebook, different job. A third app is one command away: &lt;code&gt;pnpm new-app &amp;lt;name&amp;gt;&lt;/code&gt; scaffolds one with a starter rulebook, rules and scenarios.&lt;/p&gt;

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

&lt;p&gt;Two coding agents built it, each with its own folders.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Kiro&lt;/strong&gt; wrote every spec and owned the engine, the knowledge-base tools, the MCP server and the rules.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Code&lt;/strong&gt; built the interface and the apps from Kiro's specs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Kiro then reviewed each pull request against its spec. Where it accepted a change, it amended the spec, so the spec and the code never drifted apart.&lt;/p&gt;

&lt;p&gt;A few things stood out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Specs forced decisions early.&lt;/strong&gt; Before any parser code existed, the rule-language spec made us decide exactly how a compiled expression looks. It became a five-variant type in the one file both agents share, and both had to approve it. The engine spec is where the replay-link fingerprint came from.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Property tests found what examples missed.&lt;/strong&gt; The printer that writes rules back out as text produced chained comparisons like &lt;code&gt;a == b &amp;lt; c&lt;/code&gt;, which the parser then rejected. Every example test passed. A round-trip property (print, then parse, and get the same thing back) found it at once. Other properties caught a validator crash on a strange value (found on run 102 of 200), and a date check that accepted the year 0000.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Kiro stopped and asked instead of cheating.&lt;/strong&gt; When a property failed because the test's generator was wrong, not the code, Kiro didn't loosen the test. It stopped and asked. The answer was always the same: fix the generator, keep the requirement.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A custom agent wrote the rules, and a person answered its questions.&lt;/strong&gt; The &lt;code&gt;knowledge-engineer&lt;/code&gt; agent can read and write files, but the only commands it may run are the validator and the tests. For every judgement the rulebook left open, it wrote a question for me instead of guessing. One example: can a deduction push the payout below zero? My answer became a sentence in the policy, a rule, and a new scenario that fails without it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The rules check themselves through MCP.&lt;/strong&gt; Kiro built an MCP server for the project. It lets Kiro call the engine directly: ask what it would ask next, get a verdict, explain a fact. Kiro used it to replay a scenario and confirm the rules gave the expected ₹1,32,000.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'd tell you to steal
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Use the LLM at build time, not run time,&lt;/strong&gt; for any decision someone has to trust. You get its reading ability without its variance.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Make every verdict carry its proof.&lt;/strong&gt; Once you can see why, you stop arguing about what.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Give each agent its own folders and have each review the other's work.&lt;/strong&gt; Most of the bugs in this project were caught when one agent read the other's work against a spec.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Dead Certain is open source under MIT. Fork it, swap in your own rulebook, and run &lt;code&gt;pnpm new-app&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Written for Kiroween 2026. #KiroweenHackathon26&lt;/em&gt;&lt;/p&gt;

</description>
      <category>kiroweenhackathon26</category>
      <category>ai</category>
      <category>hackathon</category>
      <category>kiro</category>
    </item>
  </channel>
</rss>
