Inspiration

Every year, thousands of open-source projects die. Not with a bang, but with a slow fade: a maintainer leaves, dependencies rot, CI goes red, and eventually the commits stop. The problem is that the reason they died is buried in thousands of commits, closed issues, and failed CI logs. By the time someone wonders "what happened to this project?" the evidence is scattered, stale, and nearly impossible to reconstruct by hand.

We were inspired by a single question: What if software had a black box?

Just like aviation investigators reconstruct a crash from flight recorders, JATAYU reconstructs the death of a software project from its digital artifacts. We chose the name JATAYU from the Ramayana — the vulture who witnessed a crime from above and reported exactly what he saw before dying. That is what this engine does: it witnesses the decline, reports the evidence, and refuses to speculate without proof.

What it does

JATAYU is a forensic resurrection engine for dead GitHub repositories. It performs a four-stage pipeline:

  1. Autopsy — Ingests git history, GitHub issues, pull requests, and CI logs to reconstruct a complete timeline of the project's decline.

  2. Inquest — A 4-agent Kiro Crew (Forensic, Architect, Product, Skeptic) debates the evidence and issues a verdict: what killed the project, with confidence scores and linked evidence for every claim.

  3. Resurrection — Generates a structured Kiro spec with ordered repair tasks, then runs a locked-down Docker sandbox (the Defibrillator) that applies patches and measures whether the build actually recovers.

  4. Proof of Life — Produces a before/after health report with real metrics: build status, test pass rate, dependency age, and CVE count. If the project cannot be saved, JATAYU says so honestly — it never fakes a green build.

The output is a Death Certificate: a shareable, evidence-backed report showing the cause of death, the exact time of death, the contributing factors, and the full debate that led to the verdict. Every claim links to a commit, issue, or CI log that you can verify yourself.

How we built it

JATAYU is a full-stack application built in 10 days for Kiroween 2026.

Backend: Python 3.11, FastAPI, Pydantic v2, SQLAlchemy 2.0 with async SQLite, and NetworkX for timeline DAG construction. The ingestion layer uses GitPython, httpx for GitHub API calls, and a custom CI log parser. Changepoint detection uses CUSUM and PELT algorithms on commit frequency time series. The Defibrillator runs in Docker with scope enforcement, resource limits, and health measurement.

Frontend: React 18, TypeScript strict mode, Tailwind CSS, TanStack Query for server state, and Axios for API calls. The Death Certificate UI features a responsive layout, an animated SVG pulse trace, evidence tags with hover tooltips, and a threaded Inquest Log showing the full 4-agent debate.

Kiro was not a tool we used. Kiro is the architecture.

  • Kiro Crew powers the Inquest: four agents with adversarial incentives debate the timeline and produce a structured verdict.
  • Kiro specs define both our development roadmap (in /.kiro/specs/) and the resurrection plans JATAYU generates for dead repos.
  • Kiro steering calibrates agent behavior per tech stack — nodejs.md for JavaScript projects, python2to3.md for Python migrations.
  • Kiro hooks automate the IDE (lint, typecheck, test on save) and the runtime pipeline (six gated stages with retry and timeout).
  • MCP extends Kiro with a stdio server exposing OSV vulnerability queries and GitHub Actions failed-run lookups.

Testing: 101 tests including 6 Hypothesis property-based invariants that verify critical correctness properties: acyclic task graphs, evidence completeness, sandbox command safety, and pulse data validity.

Challenges we ran into

The first version of JATAYU reported the time of death as the last commit date. For kriskowal/q, that was 2021. But the actual decline happened in July 2013. Fixing this required building a validation rule: the time of death must be a high-severity event followed by a sustained 70%+ activity drop. Kiro wrote the spec that defined this rule, and it caught our first buggy implementation.

The Defibrillator sandbox lost installed node_modules between tasks because each step ran in a fresh container. A host bind-mount fix failed on Windows with "Access is denied." The solution was a Docker named volume shared across all containers in a single job. Kiro's honesty-check-on-stop hook caught an agent claiming this error "can't happen" — forcing a re-check that revealed the real state.

A single stray space in a CSS selector broke the entire EvidenceTag hover UI in production builds. The typecheck-web-on-save hook did not catch it because it was valid CSS — just targeting a non-existent class. We added a visual regression step to our build verification.

GitHub CI runs were silently dropped due to a response-shape mismatch between the API client and the actual GitHub Actions payload. The ingestion test only checked success cases; we added property-based tests for malformed responses.

Accomplishments we are proud of

  1. The Evidence Graph. Every claim in the Death Certificate must link to at least one source artifact (commit, issue, PR, or CI log). If an agent makes a claim without evidence, the system rejects it. This is not a UI feature — it is a correctness invariant enforced by property-based tests.

  2. The Skeptic agent. Most AI tools optimize for consensus. JATAYU optimizes for disagreement. The Skeptic is forbidden from agreeing with the leading hypothesis and must propose an alternative that fits the same evidence better. The dissent is recorded in the Death Certificate permanently.

  3. Honest measurement. The Defibrillator does not fake resurrections. When we tested it on kriskowal/q, the build was already passing (243/243 tests). JATAYU reported "ALREADY PASSING" instead of inventing a before-and-after. When we tested bower/bower, the build remained broken. JATAYU reported "STILL FAILING" with specific remaining risks. Integrity is the feature.

  4. Kiro wrote our steering, specs, and hooks. The /.kiro/ directory contains 8 steering documents, 4 specs, 7 IDE hooks, a Crew app manifest, and an MCP server config. Kiro did not just generate code — it defined the rules that govern the entire system.

What we learned

A single AI agent cannot reliably diagnose complex software failure. Our first Inquest implementation used one LLM call. It kept hallucinating causes of death and inventing commits that did not exist. The 4-agent Crew with adversarial incentives was not an optimization — it was a necessity. The Skeptic agent is the reason JATAYU's verdicts are trustworthy.

Specs are not documentation. They are executable contracts. The time-of-death-and-phases spec in /.kiro/specs/ does not just describe the algorithm. It defines the validation rules, the edge cases, and the acceptance criteria that our tests enforce. When the spec changed, the tests changed, and the implementation followed. This is spec-driven development, not vibe coding.

Honest failure is a competitive advantage. In a hackathon, it is tempting to fake a green build for the demo. We refused. JATAYU's "ALREADY PASSING" and "STILL FAILING" reports are more impressive than a fabricated resurrection because they prove the system measures reality instead of inventing it.

Kiro surprised us. The honesty-check-on-stop hook caught an agent claiming a sandbox mount error "can't happen" when it absolutely could. The agent had only tested the fix outside the API process. The hook forced a re-check, and the corrected summary admitted the limitation. A tool that catches its own lies is a tool you can trust.

What is next for JATAYU

Pre-mortem monitoring. The same pipeline that diagnoses dead repos can monitor live ones. JATAYU will watch your dependencies, CI health, and commit velocity, and alert you before the flatline — a "check engine light" for open-source maintainers.

Dynamic task generation. Currently the Defibrillator uses a fixed 4-task template. The next milestone is a fully dynamic task generator that reads the verdict and produces bespoke repair plans: framework migrations, test framework upgrades, security patches, and architectural refactors — each with verified proof of life.

Enterprise archival. Companies depend on orphaned open-source dependencies. JATAYU will provide forensic reports for compliance and risk assessment: "This dependency died in 2019 from security rot. Here is the evidence. Here is the last known good version. Here is the migration path."

Monetization: SaaS API for dependency risk scoring, forensic reports as a service for M&A due diligence, and a managed resurrection service for critical infrastructure. The market for understanding why software died is as large as the market for keeping it alive.

Built with

  • Python 3.11
  • FastAPI
  • Pydantic v2
  • SQLAlchemy 2.0 (async SQLite)
  • React 18
  • TypeScript (strict)
  • Tailwind CSS
  • TanStack Query
  • Axios
  • Docker
  • GitPython
  • NetworkX
  • Hypothesis (property-based testing)
  • Kiro (IDE, Crew, specs, hooks, steering, MCP)
  • GitHub REST API
  • OSV API (via MCP)
  • pytest
  • Vite

Try it out

Built With

Share this project:

Updates

Submission history