<?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: 6e5tz</title>
    <description>The latest articles on DEV Community by 6e5tz (@suriyencreator).</description>
    <link>https://dev.to/suriyencreator</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%2F4283501%2Fbb5af257-105a-438a-bbf5-e639c0063584.jpg</url>
      <title>DEV Community: 6e5tz</title>
      <link>https://dev.to/suriyencreator</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/suriyencreator"/>
    <language>en</language>
    <item>
      <title>"I raised 43 dead links from the grave: building Link Necromancer with Kiro" published: false tags: kiro, kiroween, webdev, testing</title>
      <dc:creator>6e5tz</dc:creator>
      <pubDate>Fri, 04 Dec 2026 20:08:46 +0000</pubDate>
      <link>https://dev.to/suriyencreator/i-raised-43-dead-links-from-the-grave-building-link-necromancer-with-kiro-published-false-tags-4bh0</link>
      <guid>https://dev.to/suriyencreator/i-raised-43-dead-links-from-the-grave-building-link-necromancer-with-kiro-published-false-tags-4bh0</guid>
      <description>&lt;p&gt;&lt;em&gt;This post was written as part of the **Kiroween 2026&lt;/em&gt;* hackathon.*&lt;/p&gt;

&lt;p&gt;Every README dies a little each year. The CI badge points at a service that shut down. The&lt;br&gt;
"security alerts" link goes to a company that was acquired. The Mercurial mirror was on&lt;br&gt;
Bitbucket, which deleted every Mercurial repo in 2020. Nobody notices, because nobody clicks.&lt;/p&gt;

&lt;p&gt;For Kiroween's &lt;strong&gt;Resurrection&lt;/strong&gt; category I built &lt;strong&gt;&lt;a href="https://link-necromancer.vercel.app" rel="noopener noreferrer"&gt;Link Necromancer&lt;/a&gt;&lt;/strong&gt;:&lt;br&gt;
paste a README (or type a GitHub repo), it checks every link, finds the dead ones, and raises&lt;br&gt;
them from the Internet Archive's Wayback Machine. You get the repaired markdown back, with a diff.&lt;/p&gt;
&lt;h2&gt;
  
  
  How dead are real READMEs?
&lt;/h2&gt;

&lt;p&gt;Before writing this post I ran 31 public READMEs through the live app. I picked them by rule&lt;br&gt;
rather than by hand: 17 well-known JavaScript projects (React, Express, jQuery, Bootstrap, Lodash…),&lt;br&gt;
and the 15 most-starred &lt;strong&gt;archived&lt;/strong&gt; repositories on GitHub.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;46 dead links. 43 of them (93%) still existed in the Wayback Machine.&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;Maintained projects were in decent shape: 11 dead out of 766 links.&lt;/li&gt;
&lt;li&gt;Abandoned link lists were not: in one archived "awesome" list, &lt;strong&gt;1 link in 7 was dead&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;91 more links answered &lt;code&gt;403&lt;/code&gt; or &lt;code&gt;429&lt;/code&gt; to a server. That's bot protection, not death, and it's
why the app has a fourth state (more below).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The method, raw data and caveats are in &lt;a href="https://github.com/suriyen-creator/link-necromancer/blob/main/docs/CENSUS.md" rel="noopener noreferrer"&gt;docs/CENSUS.md&lt;/a&gt;.&lt;br&gt;
One caveat I learned the hard way: my first run from my laptop "found" that every link in&lt;br&gt;
Bootstrap's README was dead. It was my DNS, choking on hundreds of lookups. The published&lt;br&gt;
numbers come from the deployed app.&lt;/p&gt;
&lt;h2&gt;
  
  
  Four states, not two
&lt;/h2&gt;

&lt;p&gt;Link checkers usually say &lt;em&gt;ok&lt;/em&gt; or &lt;em&gt;broken&lt;/em&gt;. The web is less honest than that:&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;means&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;💙 &lt;strong&gt;Still Breathing&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;the link works&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🧟 &lt;strong&gt;Risen&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;dead, and an archived copy was found&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🪦 &lt;strong&gt;Lost Soul&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;dead, nothing archived&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;🕯️ &lt;strong&gt;Restless Spirit&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;we couldn't confirm it's alive&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;"Restless" covers the 403s and 429s, and one more case I found while testing: GeoCities.&lt;br&gt;
&lt;code&gt;geocities.com/SiliconValley/&lt;/code&gt; redirects to &lt;code&gt;yahoo.com/&lt;/code&gt;, which answers &lt;strong&gt;200 OK&lt;/strong&gt;. A naive&lt;br&gt;
checker calls that alive. Link Necromancer notices that a deep link now lands on &lt;em&gt;another&lt;br&gt;
site's homepage&lt;/em&gt; and flags it. Restless links are never rewritten unless you choose to.&lt;/p&gt;
&lt;h2&gt;
  
  
  The bits that were harder than they look
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Rewriting markdown.&lt;/strong&gt; A Wayback URL &lt;em&gt;contains&lt;/em&gt; the original URL:&lt;br&gt;
&lt;code&gt;https://web.archive.org/web/2020…/https://bitbucket.org/pypy/pypy&lt;/code&gt;. So find-and-replace wraps&lt;br&gt;
links twice the second time you run it. Rewrites are spliced in by the exact source offsets the&lt;br&gt;
markdown parser reports, from the end of the file backwards. Every byte that isn't a link stays&lt;br&gt;
the same.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A link checker is an SSRF machine.&lt;/strong&gt; You're asking a server to fetch arbitrary URLs. Every&lt;br&gt;
hostname is resolved and every address must be public unicast (no &lt;code&gt;localhost&lt;/code&gt;, no&lt;br&gt;
&lt;code&gt;169.254.169.254&lt;/code&gt;, no &lt;code&gt;[::ffff:127.0.0.1]&lt;/code&gt;), and redirects are followed by hand so the check&lt;br&gt;
runs again on every hop.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub input without a new attack surface.&lt;/strong&gt; The "type a repo" box fetches the README&lt;br&gt;
from the browser, via the GitHub API, so the server never fetches a file someone chose.&lt;/p&gt;
&lt;h2&gt;
  
  
  How Kiro shaped it
&lt;/h2&gt;

&lt;p&gt;I used &lt;strong&gt;Kiro CLI&lt;/strong&gt; in headless mode, and gave it file read/write only, never the shell.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Steering first.&lt;/strong&gt; Before any code, four steering files pinned down the product, the tech&lt;br&gt;
rules, the layout and the UI. The most useful line was one sentence in &lt;code&gt;tech.md&lt;/code&gt;: &lt;em&gt;never&lt;br&gt;
rewrite markdown with &lt;code&gt;String.replace&lt;/code&gt;&lt;/em&gt;. Kiro carried it into the design as "offset-based&lt;br&gt;
rewriting" and wrote its own correctness property for it (&lt;em&gt;No Double Wrap&lt;/em&gt;) without being asked.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Spec mode.&lt;/strong&gt; One run turned a one-page brief into 9 requirements in EARS notation, a design&lt;br&gt;
with correctness properties ("for any markdown and any replacement map…"), and 17 tasks in&lt;br&gt;
dependency "waves". Then Kiro's task orchestrator ran the first tasks with sub-agents: the&lt;br&gt;
extractor, the offset rewriter, the status classifier and their tests.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Hooks.&lt;/strong&gt; One hook rewrote the README's API section whenever the API types changed. It fired the&lt;br&gt;
moment Kiro created &lt;code&gt;lib/types.ts&lt;/code&gt;. Another ran the type-checker and the tests every time an&lt;br&gt;
agent stopped.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Property-based tests found a real bug.&lt;/strong&gt; The spec's properties became fast-check tests. Later&lt;br&gt;
I noticed a gap: the properties only checked links the extractor &lt;em&gt;returned&lt;/em&gt;, so a link it&lt;br&gt;
silently dropped could never fail them. I added a property, &lt;em&gt;every link is found&lt;/em&gt;, and it failed&lt;br&gt;
on its &lt;strong&gt;first run&lt;/strong&gt;, shrinking to:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;[a](http://a.com "a")
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Links with a title were skipped, and so were URLs with parentheses (&lt;code&gt;…/Foo_(bar)&lt;/code&gt;, which are&lt;br&gt;
common in Wikipedia links). That's the kind of bug example-based tests don't find, because you don't think to&lt;br&gt;
write that example.&lt;/p&gt;

&lt;h2&gt;
  
  
  The honest part
&lt;/h2&gt;

&lt;p&gt;Halfway through, during task 3.3, I hit Kiro's &lt;strong&gt;monthly usage limit&lt;/strong&gt;, and the hackathon's&lt;br&gt;
extra-credit form had already closed. I finished the remaining tasks with another coding agent&lt;br&gt;
(Claude Code), working from Kiro's spec, properties and steering files.&lt;/p&gt;

&lt;p&gt;That turned out to be the best argument for spec-driven development I could have made. The&lt;br&gt;
hand-off was one sentence: &lt;em&gt;continue from task 3.3 of this spec&lt;/em&gt;. Nothing had to be re-explained&lt;br&gt;
or redesigned. Features added on the last day (the GitHub box, the census) were written back into&lt;br&gt;
the spec as new requirements, so it still describes the app.&lt;/p&gt;

&lt;h2&gt;
  
  
  One more thing: turn off the lights
&lt;/h2&gt;

&lt;p&gt;The app opens as &lt;strong&gt;LinkLint&lt;/strong&gt;, a polite corporate link checker with a blue button and plain&lt;br&gt;
words: OK, Fixed, Broken, Unverified. The headline glitches every so often. The footer asks you&lt;br&gt;
not to turn off the lights.&lt;/p&gt;

&lt;p&gt;Turn them off. 🌙&lt;/p&gt;

&lt;p&gt;Same data, same behaviour; the spooky face never hides information, and both faces respect&lt;br&gt;
&lt;code&gt;prefers-reduced-motion&lt;/code&gt;.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Try it:&lt;/strong&gt; &lt;a href="https://link-necromancer.vercel.app" rel="noopener noreferrer"&gt;https://link-necromancer.vercel.app&lt;/a&gt; (type your own repo)&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code (MIT):&lt;/strong&gt; &lt;a href="https://github.com/suriyen-creator/link-necromancer" rel="noopener noreferrer"&gt;https://github.com/suriyen-creator/link-necromancer&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;The full Kiro write-up:&lt;/strong&gt; &lt;a href="https://github.com/suriyen-creator/link-necromancer/blob/main/docs/KIRO_WRITEUP.md" rel="noopener noreferrer"&gt;docs/KIRO_WRITEUP.md&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

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

</description>
      <category>github</category>
      <category>hackathon</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
