-
-
After a scan: lit windows are alive, stones are dead, green hands are possessed, fog is restless. A candle marks each grave you raised.
-
The ledger: the same data as a plain table, with the archived copy of each link and the patched document one click away.
-
dmoz.org, dead since 2018. The inscription gives its life in the archive and the copy Revenant chose: 1 March 2017.
-
Before a scan: the moon is empty and mist covers the ground. Give it a GitHub repo, a page address or a pasted document.
Inspiration
Every README, guide and blog post is full of links, and links die. Pew Research Center found that 38% of the web pages that existed in 2013 were gone ten years later. It is not only old pages. On 26 November 2026 one of the most starred repositories on GitHub, codecrafters-io/build-your-own-x, had ten open pull requests from different people, each fixing its dead links by hand. The oldest had waited since June.
A link checker tells you which links are broken, and stops. Repairing each one still means finding a good copy in the Internet Archive by hand, so mostly nobody does.
What it does
Give Revenant a GitHub repo, a page address or a pasted document. It checks every link and gives it one verdict. Each verdict is a figure in a night graveyard:
- Alive, a lit window. The link still answers with the page you cited.
- Dead, a tombstone. Nothing answers: a 404, a 410 or a domain that no longer exists. The stone is as tall as the page's life in the archive.
- Possessed, a hand out of the ground. The address answers, but it now leads to another site that does not show what you cited.
- Restless, fog. The site would not answer a robot, or took too long. Revenant does not guess and never calls such a link dead.
Then it does the part people do by hand today: it returns the same document with every dead and possessed link pointing to its archived copy. "Resurrect" opens that copy. "Copy patched document" hands you the result, ready to propose on GitHub.
The same engine has three doors: the web page, a command line that rewrites a file and fails a CI job when a README has dead links, and an MCP server, so an agent can check a link before it cites it.
The costume is the interface
Nothing that moves or has colour is decoration. The moon is the progress bar: it waxes as the scan advances. The mist is whatever has not been judged yet: it covers the ground before a scan, clears as verdicts arrive, and only the share of restless links remains. A stone's height is how long the page lived, and its inscription carries the real dates from the Internet Archive. A candle stays on every grave you have raised. The horizon (a hill, a bare tree, an iron fence, a gate) is the only scenery; it is static, in one dark colour, and uses none of the verdict shapes.
A plain table under the scene carries the same data for screen readers. The whole flow works from the keyboard, verdicts are never colour-only, and reduced motion is honoured.
Challenges we ran into, and what we learned
Three times the real data changed the product.
Before building. Our first rule for "possessed" was "the page no longer resembles its archived copy". Measured on real links it failed both ways: replaced sites scored 1.00, because the archive had already captured the impostor, and Hacker News scored 0.13, because it changes every hour. The rule that survived is a redirect to another domain plus near-zero similarity. The table is in docs/brief/calibration.md.
Choosing the copy. The newest archived copy of dmoz.org is a gambling site that took the domain in 2025, and the one before it is an error page. Revenant now splits a page's captures into lives, takes the longest one and steps back up to a year from its end. For DMOZ that is 1 March 2017: the real directory, showing the notice that it would close two weeks later.
The field test. We ran the command line on four well-known READMEs, 768 links. It flagged 28, and 11 of those were false alarms of three kinds: Wikipedia links with parentheses cut short, Twitter's move to x.com read as a possession, and the Internet Archive throttling a bulk scan. Each kind became a task in the spec, a rule and a test. After the fixes the same READMEs gave 29 flagged links: 18 right, 6 false alarms (projects that moved to a new domain) and 5 we could not decide. A review by hand of the 14 dead links in two full READMEs found that all 14 fail at the cited address, 3 had moved to a live one, and for the other 11 the archived copy Revenant chose was the real page in 9. The README states these limits: review each copy before you commit it.
How we built it with Kiro
- Spec-driven development. Kiro turned the brief into a requirements-first spec: 8 requirements, a design with 20 correctness properties, and a task list that grew to 20 sections. Every later change entered the same way. A review of the running app became numbered tasks in
tasks.md, each with its requirement references, and Kiro implemented them one at a time.tasks.meta.jsonis Kiro's own record: 388 task executions across 121 tasks. - Steering. Four files.
product.mdcarries the rule "Never cry wolf", which shaped the verdict table (no path from a 401, 403, 429, timeout or 5xx todead) and correctness Property 6.tech.mdstates the Cloudflare free-plan limits, which led to a counted worst case of subrequests per link and a test that holds it.costume.mdsays every element must mean something, and is loaded only for files underweb/. - Hooks. Six. The test suite runs after every spec task and feeds failures back to the agent. The type check runs on every TypeScript save. One agent hook asks for the matching property test when
src/corechanges, and another reviews web changes against the costume rules. Two hooks use Revenant on itself: one runs its command line on the README whenever it is saved, and one checks that the sample's verdicts still match. - Property-based testing. The 20 correctness properties in
design.mdare tests, written with fast-check where the input can be generated: patching touches only link targets, patching twice changes nothing, no 4xx, 5xx or timeout is ever judged dead. 529 tests in 48 files pass. - From real data to the spec. The field test above is the clearest case. Three kinds of false alarm became tasks 18.1 to 18.3, and each task ended in a rule and a test (the README section "Field test" names them).
- MCP. Revenant's own MCP server is registered in
.kiro/settings/mcp.json. The video shows a plain MCP client calling itscheck_linkstool. - Custom agent.
.kiro/agents/gravekeeper.mddefines a read-only reviewer: it may only run the tests, the type check andgit diff, and it answers ACCEPT or REJECT. It was used to review tasks during the build.
Disclosure
The product brief and calibration data in docs/brief/, the UI reference in docs/design/, the reviews that became sections 14 to 20 of the task list, and the edit of the video were made with another AI assistant (Claude). The video's narration is a synthetic voice (Kokoro, run locally). Kiro generated the spec and wrote all the application code and tests.
Built With
- cloudflare-workers
- esbuild
- fast-check
- hono
- kiro
- model-context-protocol
- node.js
- typescript
- vite
- vitest
- wayback-machine