<?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: icebrain78</title>
    <description>The latest articles on DEV Community by icebrain78 (@icebrain78).</description>
    <link>https://dev.to/icebrain78</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%2F4273330%2F687317fe-0893-418b-9f98-c80c755b0503.jpg</url>
      <title>DEV Community: icebrain78</title>
      <link>https://dev.to/icebrain78</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/icebrain78"/>
    <language>en</language>
    <item>
      <title>I let Kiro raise the dead — building Repo Necromancer for the Kiroween 2026 hackathon</title>
      <dc:creator>icebrain78</dc:creator>
      <pubDate>Mon, 30 Nov 2026 04:32:02 +0000</pubDate>
      <link>https://dev.to/icebrain78/i-let-kiro-raise-the-dead-building-repo-necromancer-for-the-kiroween-2026-hackathon-1f6n</link>
      <guid>https://dev.to/icebrain78/i-let-kiro-raise-the-dead-building-repo-necromancer-for-the-kiroween-2026-hackathon-1f6n</guid>
      <description>&lt;p&gt;Open source is full of ghosts. Sonatype's 2023 &lt;em&gt;State of the Software Supply Chain&lt;/em&gt; report found that only about &lt;strong&gt;11%&lt;/strong&gt; of open source projects are actively maintained (&lt;a href="https://www.infoworld.com/article/2335085/report-finds-few-open-source-projects-actively-maintained.html" rel="noopener noreferrer"&gt;InfoWorld&lt;/a&gt;). A study of 1,932 popular GitHub projects found that &lt;strong&gt;16%&lt;/strong&gt; were abandoned by their core developers, and only 41% of those ever came back (&lt;a href="https://arxiv.org/abs/1906.08058" rel="noopener noreferrer"&gt;Avelino et al.&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;For the &lt;strong&gt;Kiroween 2026 hackathon&lt;/strong&gt; (Resurrection category) I built &lt;strong&gt;Repo Necromancer&lt;/strong&gt;: it turns GitHub into a graveyard, performs an autopsy on dead Node.js repos, and tries to bring them back to life — honestly.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Live demo: &lt;a href="https://gsecai.tail577b6a.ts.net" rel="noopener noreferrer"&gt;https://gsecai.tail577b6a.ts.net&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Code: &lt;a href="https://github.com/icebrain78/repo-necromancer" rel="noopener noreferrer"&gt;https://github.com/icebrain78/repo-necromancer&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Devpost: &lt;a href="https://devpost.com/software/repo-necromancer-qow805" rel="noopener noreferrer"&gt;https://devpost.com/software/repo-necromancer-qow805&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/XFLCxLBepFQ" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Graveyard&lt;/strong&gt; — every repo becomes a tombstone that says when it died and why (stale, archived, EOL runtime, deprecated dependencies).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Autopsy&lt;/strong&gt; — a deterministic coroner's report: EOL runtime, dependencies outside their declared range, OSV vulnerabilities, missing lockfile, dead Travis CI. One cause of death, chosen by fixed rules. Claude only writes the narrative, from those facts and nothing else.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Resurrect&lt;/strong&gt; — clone into a Docker sandbox on Node 22, run the baseline tests, apply deterministic upgrades one at a time, and only then fall back to an LLM fix loop.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Soul Restore&lt;/strong&gt; — generate a &lt;code&gt;.kiro&lt;/code&gt; pack for the dead repo: steering docs from its real files, a resurrection spec with one task per finding, and a test-on-save hook.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The headline result: &lt;strong&gt;&lt;code&gt;juampi92/auto-updater&lt;/code&gt; (last push 2018) went from 19 passing / 2 failing to 21 passing&lt;/strong&gt; on Node 22. The fix was not clever AI — it was bumping &lt;code&gt;adm-zip&lt;/code&gt; from &lt;code&gt;^0.4.7&lt;/code&gt; to &lt;code&gt;^0.6.1&lt;/code&gt;. For 0.x packages the &lt;em&gt;minor&lt;/em&gt; version is the breaking one, and my first planner only looked at majors. Fixing that rule is what brought it back.&lt;/p&gt;

&lt;h2&gt;
  
  
  Building it headless with Kiro CLI
&lt;/h2&gt;

&lt;p&gt;I'm a solo builder with a day job, so I turned Kiro into a build pipeline on a home Linux server:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Steering first.&lt;/strong&gt; &lt;code&gt;product.md&lt;/code&gt;, &lt;code&gt;tech.md&lt;/code&gt; and &lt;code&gt;structure.md&lt;/code&gt; fixed the scope (Node only, two weeks), the LLM provider abstraction and the rule that every Claude call uses prompt caching — before any code existed.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Specs, not vibes.&lt;/strong&gt; Six specs, 57 tasks: Graveyard, Autopsy, Autopsy fixes, Soul Restore, Resurrect, Demo polish.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;One task per run, one commit per task.&lt;/strong&gt; Each task ran as &lt;code&gt;kiro-cli chat --no-interactive&lt;/code&gt; inside tmux, with a 15-minute timeout and a resume-style retry. 67 of the repo's 73 commits are Kiro CLI task commits — the git history &lt;em&gt;is&lt;/em&gt; the spec.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Bugs go back into Kiro.&lt;/strong&gt; When live runs exposed problems (the 0.x semver rule, empty diffs from ignored &lt;code&gt;node_modules&lt;/code&gt;, truncated LLM output), I wrote them up as specs or focused prompts instead of patching by hand.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Hooks that earned their keep
&lt;/h2&gt;

&lt;p&gt;Typecheck passed, tests passed — and &lt;code&gt;next build&lt;/code&gt; failed on NodeNext-style &lt;code&gt;.js&lt;/code&gt; imports. That became an agent hook: saving a web file runs the production build. Two more hooks run core typecheck + tests on save and keep the README status table in sync with &lt;code&gt;tasks.md&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Property-based tests
&lt;/h2&gt;

&lt;p&gt;Every pure function in &lt;code&gt;packages/core&lt;/code&gt; (version parsing, cause-of-death ranking, fix planning, pack generation) has fast-check properties. 771 tests in total.&lt;/p&gt;

&lt;h2&gt;
  
  
  Honesty is a feature
&lt;/h2&gt;

&lt;p&gt;Not every grave opens. &lt;code&gt;tslide/tslide&lt;/code&gt; (its test script points to a folder that doesn't exist) and &lt;code&gt;kevva/brightness-cli&lt;/code&gt; are shown as &lt;strong&gt;reburied&lt;/strong&gt;. Early in the build the agent generated &lt;em&gt;synthesized&lt;/em&gt; replay fixtures that claimed successes that never happened. I moved them into test fixtures; the demo now only replays real recorded runs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Prompt caching, measured
&lt;/h2&gt;

&lt;p&gt;The full autopsy/patching rubric lives in a cached system prompt (~2.6k tokens). Logs show it written once and read on every following call. A full live resurrection with five LLM fix iterations cost about $0.20; the public demo has daily caps on live runs and LLM calls so it survives the judging period.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's next
&lt;/h2&gt;

&lt;p&gt;Python repos, a GitHub App for organizations' legacy repos, and opening the resurrection PR automatically.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Built for the Kiroween 2026 hackathon with Kiro.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>kiro</category>
      <category>kiroween</category>
      <category>ai</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
