Inspiration

Every project is built on packages that someone, somewhere, stopped looking after. Lock files and audit reports list them as rows of text, and nobody reads rows. We wanted the state of a project's dependencies to be something you see in one glance, and Halloween gave us the picture: a graveyard.

What it does

Paste a public GitHub repository URL. Gravekeeper reads its manifests (package.json, requirements.txt, pyproject.toml, Cargo.toml) and checks every direct dependency against deps.dev, OSV, GitHub, and the npm, PyPI and crates.io registries. Then it draws the result:

  • Tombstones are buried packages: archived or deprecated.
  • Overgrown graves are forgotten: no release and no commit for 730 days.
  • Ghosts are haunted: at least one open security advisory.
  • A ghost rising from its own stone is restless: deprecated or archived and still vulnerable.
  • Lanterns are alive. Unmarked graves could not be checked, and the app says why.

The repository gets a grade from A to F, taken from its single riskiest package rather than an average, because one bad package is enough. Every grave opens to the reasons, the facts behind them and links to the evidence. Where there is an honest way back, Gravekeeper shows it: for example, upgrade uuid to 14.0.3, with the exact install command and the source of the advice. The same results are available as an accessible table.

How we built it

Kiro, spec first. Every feature started as a spec with requirements, a design and tasks: 12 specs with 151 requirements and 222 correctness properties. Each property is checked by a property-based test (fast-check), and npm run test:deep runs them at 1,000 cases each. Steering files hold the project rules, and agent hooks run the core purity check, the architecture check and the related tests every time a file is saved. The code is layered so the rules can be enforced: a pure core (parsers, scoring, classification) with no network, clock or file access; a scan pipeline with ports; adapters for each data source; and a pure view-model that turns a scan into what the screen draws. The graveyard art is original SVG and CSS. It runs on Next.js on Vercel, with a runtime cache and a scheduled job that keeps the showcase repositories warm.

Challenges we ran into

  • False deaths. Our first threshold buried healthy packages that simply don't need frequent releases. We raised it to two years without a release or a commit, and split dead into buried (archived or deprecated, a clear signal) and forgotten (silence only).
  • Ranges, not versions. Manifests declare ranges like ^3.3.2 or ~=2.0, so we had to resolve each range to the version actually installed before checking advisories. Property tests found two bugs in Python version matching (PEP 440 zero padding).
  • The deadline. A tester's first scans of a large repository timed out in the browser. The scan's time budget was counted from inside the handler, not from when the request arrived, so cold starts ate the slack. We now count from arrival and answer with partial results well before the limit.
  • Honest advice. Recommending a replacement is easy to get wrong. Every suggestion comes from the registry or a curated list where each entry carries its source and a link to verify it.

Accomplishments that we're proud of

  • 222 specified properties, every one mapped to a test, and six real product bugs found by property tests before any user saw them.
  • 4,086 unit and property tests and 316 end-to-end tests passing, with zero axe accessibility violations on the results screen.
  • The whole graveyard renders in about 22 ms for request/request and about 33 ms for a 300-package scene, with 175 KB of client JavaScript.
  • Nothing is decided by color alone: every grave has a status word in its accessible name, and motion respects reduced-motion settings.

What we learned

Writing properties before code changes the code. Twice the design phase caught a contradiction before a single line was written, and property tests kept finding inputs we would never have typed by hand, like a repository host of a.xn-- or a version range of ~=2.0.0.0. We also learned that rules an agent must follow belong in steering files, not in chat: once a rule was written down, it stopped being broken.

What's next for Gravekeeper

  • Lock-file support, to grade transitive dependencies, not just direct ones.
  • More ecosystems (Go modules and Maven).
  • A GitHub Action that posts the graveyard on pull requests that add a dead or haunted package.

How Kiro was used

Vibe coding. We used plain chat sessions for work that had no product behavior to specify: the first steering files and session log, adding the agent hooks, housekeeping, submission prep, the script that renders the demo footage, and a production incident. In the incident, Kiro read the scan pipeline end to end, found that the time budget was counted from inside the handler while the platform limit counts from the request's arrival, wrote the root cause down before touching code, then shipped the fix with a fake-clock property test and a live end-to-end test. The most impressive part was that it ruled out four other suspects with evidence first.

Agent hooks. Four hooks in .kiro/hooks. Saving a file in core runs the purity check (import allow-list, no fetch, file system, Date.now or Math.random). Saving in pipeline, adapters, app or core runs the architecture check. Saving core or pipeline code runs the related Vitest files. A manual Spec sync hook compares the active spec with the code and lists rules that exist in only one of them. The architecture hook caught a real layering violation during a build session: a mapping module importing from the ports layer.

Spec-driven development. Every product feature began as a spec: 12 specs, 151 requirements, 851 tasks and 222 correctness properties. Writing the design changed the product twice before any code existed. Kiro pointed out that "the worse of the average grade and the worst-package grade" is always the worst-package grade, so the rule was simplified. It also found that rejecting non-normalized Python names would reject real packages like Django and PyYAML, which led to PEP 503 normalization. Property tests then found six product bugs, each fixed with a commit, and three contradictions inside the specs themselves, which stopped the run until a human decided. Compared with chat alone, specs made long builds resumable: every session started from tasks.md instead of from memory.

Steering. Four always-included steering files: product.md (scope and principles, such as no paid APIs and no LLM calls at runtime), structure.md (layout, naming, the pure-core rule), tech.md (stack, testing and token handling) and ui-design.md (art direction and accessibility). The rule that made the biggest difference came from a failure. A sub-agent left a high property-test run count set in the shared shell, so later runs silently took an hour and timed out. We added an npm script that sets the count only for its own process, plus the steering rule "Agents must never set FC_NUM_RUNS in the shared shell." After that, the logs show the variable was never set again.

MCP. For most of the build, Kiro worked with its built-in tools plus the gh CLI and Node scripts. Near the end we added the official Playwright MCP server in .kiro/settings/mcp.json for production smoke checks: open the live app, scan request/request, confirm grade D, open the uuid grave and close it with the keyboard. The server ran with the exact command from that config and the check passed. Its tools did not appear inside the running Kiro session, so the calls were made through the MCP client instead, and the log says so. MCP's value here is a repeatable check of the real deployed site in a real browser, which unit tests cannot give.

Full details with commit hashes: https://github.com/rustoman-AI/gravekeeper/blob/main/docs/KIRO_USAGE.md

Built With

  • crates.io
  • deps.dev
  • fast-check
  • github-api
  • kiro
  • nextjs
  • npm
  • osv
  • playwright
  • pypi
  • react
  • tailwindcss
  • typescript
  • vercel
  • vitest
Share this project:

Updates

Submission history