TestSprite Season 4 · Project track

Your agent shipped a bug.
Ghost shows you which prompt did it.

GhostInTheCodebase is a black-box recorder for AI coding agents. It captures every turn, watches the app at runtime, attributes the regression to the exact prompt — then rewinds the file in one click.

agent-agnostic · no SDK · no agent cooperation required

GhostInTheCodebase
Autopsy · leak
turn 04 · src/store/invoices.ts

Module-level Map cache with no eviction policy.

healed
0
integrations to install
3
lenses: timeline · diff · city
4
runtime signals tracked
1
click to roll back
The checker

TestSprite tells you the PR is red.

Every pull request gets a verdict. It catches the regression before it merges — but the verdict is a symptom, not a cause.

1 test failed · who broke it?
The black box

Ghost tells you which prompt turned it red.

The turn, the diff, the metric that moved, and the file to roll back. Different layer of the same loop — behind the maker, not the merge.

turn 04 · cache leak · rollback ready
The loop

Three verbs. One repeat.

Record what happened, attribute the regression, reverse the damage. Then the agent tries again — with the autopsy in hand.

01

Record

A shadow git commit per change burst. Runtime metrics sampled straight from the app. Nothing is installed into your agent.

passive
02

Attribute

Thresholds catch the spike, trend slope separates a leak from a busy minute, and a per-turn bisect names the prompt that introduced it.

autopsy
03

Reverse

Roll the blamed turn back, re-measure, and watch the curve flatten. The fix prompt is one click from the clipboard.

time travel
What is inside

Built to be trusted when the agent is not.

Every claim in the dashboard comes from something Ghost observed — files on disk, memory in the process, responses from the app.

Black-box recorder

Shadow git commits every change burst, so the timeline is built from what actually landed on disk — not from what an agent says it did.

Autopsy engine

Four signal types — memory, CPU, latency, error rate — plus a slope test that tells a leak from a load spike, attributed to a single turn.

3D code city

Modules become districts, files become towers, imports become arcs. AI-written code glows amber, unreviewed code sits under fog.

One-click rollback

Restore the blamed file to the commit before the regression, then watch the metric line drop back to baseline in the same view.

Agent-agnostic

Cursor, Claude Code, Codex, OpenCode, or a human with a keyboard. Ghost watches the filesystem and the process, so it never needs an integration.

TestSprite-native

The live API is covered by a TestSprite suite that runs on every pull request, so the regression guard keeps working after the demo ends.

Replay a real autopsy.

Seven turns, one unbounded cache, one heal. Scrub the timeline, read the diff, rotate the city, and copy the fix prompt.

Open playground