<?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: Dax Patel</title>
    <description>The latest articles on DEV Community by Dax Patel (@dax_patel_d8fc257af71d568).</description>
    <link>https://dev.to/dax_patel_d8fc257af71d568</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%2F3294633%2Febaf165f-2712-4552-bc94-e938f51c6f2a.png</url>
      <title>DEV Community: Dax Patel</title>
      <link>https://dev.to/dax_patel_d8fc257af71d568</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dax_patel_d8fc257af71d568"/>
    <language>en</language>
    <item>
      <title>Building THE TIME SET with Kiro a historical TV simulator that refuses to lie</title>
      <dc:creator>Dax Patel</dc:creator>
      <pubDate>Thu, 03 Dec 2026 14:55:18 +0000</pubDate>
      <link>https://dev.to/dax_patel_d8fc257af71d568/building-the-time-set-with-kiro-a-historical-tv-simulator-that-refuses-to-lie-4o4a</link>
      <guid>https://dev.to/dax_patel_d8fc257af71d568/building-the-time-set-with-kiro-a-historical-tv-simulator-that-refuses-to-lie-4o4a</guid>
      <description>&lt;p&gt;&lt;em&gt;Written as part of the **Kiroween 2026 hackathon&lt;/em&gt;&lt;em&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Live app:&lt;/strong&gt; &lt;a href="https://the-time-set.vercel.app/" rel="noopener noreferrer"&gt;the-time-set.vercel.app&lt;/a&gt; · &lt;strong&gt;Repo:&lt;/strong&gt; &lt;a href="https://github.com/daxp2909/the-time-set" rel="noopener noreferrer"&gt;github.com/daxp2909/the-time-set&lt;/a&gt; · &lt;strong&gt;Demo video:&lt;/strong&gt; &lt;a href="https://youtu.be/8zy8PFN1KTk" rel="noopener noreferrer"&gt;youtu.be/8zy8PFN1KTk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It started with one question: &lt;em&gt;what aired on TV the day you were born?&lt;/em&gt; Mine is June 26, 1996.&lt;/p&gt;

&lt;p&gt;Retro-TV sites let you surf the vibe of an era — nothing brings back the exact day, with evidence. Meanwhile AI made recreating the past cheap, and fluent lying the default. So I inverted it: &lt;strong&gt;a time machine where the AI is on a leash.&lt;/strong&gt; It may restyle history; it may never invent it.&lt;/p&gt;

&lt;p&gt;The result is &lt;strong&gt;THE TIME SET&lt;/strong&gt; — a historical television simulator. Spin the TIME DIAL to any date between 1940 and 2025, power on a CRT, and watch that day's recreated broadcast: a cold open, news stories with source chyrons, a weather desk, anniversaries framed "through the annals of {date}," and a sign-off. Four curated dates (Apollo 11, the Berlin Wall, a quiet day, the curator's birthday) ship as pre-validated fixtures. Every other date generates live.&lt;/p&gt;

&lt;h2&gt;
  
  
  Grounded fiction, honestly labeled
&lt;/h2&gt;

&lt;p&gt;The project keeps five promises, all enforced in code:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Historical claims must have traceable evidence.&lt;/li&gt;
&lt;li&gt;AI transforms presentation — never invents facts.&lt;/li&gt;
&lt;li&gt;Every factual story exposes its sources.&lt;/li&gt;
&lt;li&gt;Recreated broadcasts are never presented as original recordings.&lt;/li&gt;
&lt;li&gt;Uncertainty is displayed, not concealed — "we don't know" is a feature.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The enforcement mechanism is the part I'm proudest of: a &lt;strong&gt;deterministic validator&lt;/strong&gt; that no LLM ever touches. Every generated line is mined for numbers, dates, proper nouns, and quotes; each extracted token must appear in the evidence text of the fact cards the line references. Casualty figures, invented quotes, and unsupported reaction phrasing are rejected outright. A rejected line gets one regeneration with the validator's feedback — and if it's still unsupported, it airs as an editorial note instead: &lt;em&gt;"We don't have sufficient evidence to report that detail."&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;There's a negative-test fixture in the repo that fabricates a "more than 50,000 casualties" line on purpose. The validator rejects it. That fixture is the project's thesis in one JSON file.&lt;/p&gt;

&lt;h2&gt;
  
  
  How Kiro fit in
&lt;/h2&gt;

&lt;p&gt;Everything functional was built with Kiro on the free tier — about 50 credits, three specs:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Spec 001 (native spec mode):&lt;/strong&gt; the fact-card pipeline — Wikipedia On-This-Day retrieval, Open-Meteo ERA5 weather reconstruction, coverage gating, seed fixtures. Requirements → design → tasks, no LLM in the data layer.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Spec 002 (chat mode, documented retroactively and labeled as such):&lt;/strong&gt; the script engine and grounding validator described above, plus a &lt;strong&gt;Kiro agent hook&lt;/strong&gt; (&lt;code&gt;.kiro/hooks/grounding-validator.json&lt;/code&gt;) that audits saved scripts against their fact cards on file save — grounding enforced at the file level, not by prompt discipline.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Spec 003 (chat mode):&lt;/strong&gt; the entire CRT interface — wooden cabinet, scanlines, phosphor glow, power-on sequence, TUNING static, ticker, chyrons, editorial notes, the time-dial home. Pure CSS/SVG: zero images, zero fonts, zero UI dependencies.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Steering docs&lt;/strong&gt; in &lt;code&gt;.kiro/steering/&lt;/code&gt; (the grounding policy, anchor tone, CRT design system) kept every session inside one contract.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Spec-driven vs vibe coding&lt;/strong&gt;, honestly: the validator exists because it was specced first. As a vibe it would have been "an LLM checking another LLM" — which the policy forbids. And when live generation started producing walls of honest-but-useless refusals, the spec's acceptance criteria made the bug surgical to find: the validator was treating the broadcast &lt;em&gt;date itself&lt;/em&gt; (weekday, month, year) as an unverifiable historical claim.&lt;/p&gt;

&lt;h2&gt;
  
  
  The constraints were the curriculum
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Groq &lt;strong&gt;shut down our model mid-hackathon&lt;/strong&gt; (&lt;code&gt;llama-3.3-70b-versatile&lt;/code&gt;, Aug 2026) → migrated to &lt;code&gt;openai/gpt-oss-20b&lt;/code&gt; through env config.&lt;/li&gt;
&lt;li&gt;Vercel &lt;strong&gt;blocked my deploy for CVE-2025-66478&lt;/strong&gt; (React2Shell, CVSS 10.0) → patched to Next.js 15.1.9 per the advisory. The platform's security scanner caught what I didn't know I had.&lt;/li&gt;
&lt;li&gt;Serverless filesystems are &lt;strong&gt;read-only&lt;/strong&gt; → two fail-soft cache guards (disclosed in-file; the only code not authored by Kiro, added after credits ran out).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;50 credits, one evening:&lt;/strong&gt; every prompt had to be surgical — which taught spec-driven development better than any tutorial.&lt;/li&gt;
&lt;/ul&gt;

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