Lazarus — Resurrect Dead Code with Kiro Crew
Inspiration
Millions of GitHub repositories sit abandoned — outdated dependencies, unpatched CVEs, broken APIs. These projects solved real problems once, but they've been left behind. For Kiroween 2026 (Resurrection Category), we asked: what if dead code could come back to life?
That's Lazarus.
What It Does
Lazarus resurrects abandoned GitHub repositories using a crew of four Kiro Crew agents:
- Archivist — Reads the repo tree, README, dependencies, and commit history
- Mortician — Diagnoses cause of death: deprecated deps, CVEs, API breakage, abandonment
- Surgeon — Applies targeted modernization patches mapped to a resurrection spec
- Embalmer — Adds tests, documentation, and a changelog — preserving original spirit
Point Lazarus at any public GitHub repo URL, and it autopsies the repository, modernizes the code, runs tests via agent hooks, and opens a pull request back to the original repo.
Health scores jump from ~2.4 to ~7.9 after resurrection.
How We Built It
We built Lazarus using spec-driven development with Kiro:
- Kiro IDE — Primary development environment
- Kiro Crew — Four custom agents working from shared specs in
/.kiro/specs/ - Agent Hooks — Pre-resurrection validation, post-spec test enforcement, PR creation verification
- Steering Docs —
/.kiro/steering/kiro-crew-steering.mdkeeps agents honest (no secrets, preserve original intent, cite spec sections) - GitHub MCP — Agents read repos and open pull requests directly from Kiro
- Property-Based Testing — Hypothesis-based testing validates the Mortician's dead-vs-active classification
Challenges
- Connecting FastAPI with Pydantic v1 on Render's free tier (no Rust compilation available)
- Ensuring agent hooks enforce test coverage before PR creation
- Preserving the original project's spirit while modernizing dependencies
What's Next
- Connect to real GitHub MCP for live repo mutations
- Add more resurrection categories
- Expand to other dead technologies beyond GitHub repos