{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "continuum-ai-corp-orcareplay--find-the-step-that-broke-an-agent-run",
 "repo": "Continuum-AI-Corp/OrcaReplay",
 "repo_url": "https://github.com/Continuum-AI-Corp/OrcaReplay",
 "repo_slug": "continuum-ai-corp-orcareplay",
 "title": "Find the exact step that broke an agent run",
 "page_title": "How to find the exact step that broke an agent run with Orca Replay",
 "summary": "Replay a failed coding agent run offline and see which tool call changed a file or skipped a failing check.",
 "who": "A developer whose coding agent reported success, but the tests still fail or a file was changed wrongly.",
 "problem": "The agent's exit code and its transcript do not show which action caused the damage or whether a check actually failed.",
 "outcome": "A step-by-step timeline and causal graph that shows which tool call changed which file and which check failed, with the replay blocked from calling any model.",
 "steps": [
  "Run `npm i -g orcareplay` to install the package that provides the `orca` command.",
  "Run `orca record claude` and use your agent as normal until the run finishes.",
  "Run `orca show last` to read the ordered timeline of model turns, tool calls, file changes and shell results.",
  "Run `orca graph last` to see which events produced which, and check whether each link is recorded or inferred.",
  "Run `orca replay last` to repeat the run with no network and no tokens spent, and confirm the same result."
 ],
 "agent_prompt": "Use the OrcaReplay repo (Continuum-AI-Corp/OrcaReplay) to inspect the most recent failed run on this machine by running `orca show last` and `orca graph last`. Report the sequence number of the tool call that changed <target file> and the sequence number of any shell check that exited non-zero. Verify that `orca replay last` prints the run again with no model called.",
 "agents": [
  "claude-code",
  "codex"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Replay is not a sandbox, and a tool call that opens its own socket, such as a shell command running curl, is outside the no-network guarantee.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js and npm, to install the orcareplay package",
  "A coding agent installed locally, such as Claude Code or Codex CLI, to record a run",
  "A model API key and network access for recording and for live forked turns",
  "A terminal with permission to install a global npm package"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/continuum-ai-corp-orcareplay/find-the-step-that-broke-an-agent-run/",
 "md": "https://dedupedai.com/use-cases/continuum-ai-corp-orcareplay/find-the-step-that-broke-an-agent-run/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/continuum-ai-corp-orcareplay--find-the-step-that-broke-an-agent-run.json",
 "api_version": "v1"
}
