AI coding troubleshooting and recovery guides.

Find tool-specific fixes and recovery steps for lost sessions, stale context, rate limits, handoffs, and verification state.

Recovery guide

AI coding session died before the work was finished

Recover the useful state after Claude, Cursor, Codex, Gemini, or another AI coding session dies mid-task.

Read guide ->
Recovery guide

AI forgot what it was doing in the middle of a coding task

Recover when an AI coding assistant forgets the current goal, earlier constraints, or the next step.

Read guide ->
Recovery guide

AI coding chat got too bloated to trust

Fix bloated AI coding chats by keeping the useful working state and dropping transcript noise.

Read guide ->
Recovery guide

AI coding context window is full and the chat is slowing down

Restart from a compact verified packet when the AI coding context window gets full or too slow.

Read guide ->
Recovery guide

Local LLM ran out of VRAM or context during a coding task

Recover local AI coding work after VRAM out-of-memory, small context windows, or local model failure.

Read guide ->
Recovery guide

AI coding decisions and constraints got lost in the chat

Preserve coding decisions, constraints, and rejected approaches so the next AI does not reopen solved questions.

Read guide ->
Recovery guide

No handoff was written before the AI session failed

Recover useful coding context when you forgot to write a HANDOFF.md, plan.md, or wrap-up note.

Read guide ->
Recovery guide

Chat transcripts are too noisy to use as handoff state

Turn noisy AI coding transcripts into lean continuation packets grounded in repo state.

Read guide ->
Recovery guide

plan.md drifted away from what actually changed

Fix stale plan.md, scratchpad, or AGENTS.md notes by reconciling them with git diff and current files.

Read guide ->
Recovery guide

AI hit a rate limit halfway through a refactor

Recover a half-finished refactor after Claude, Cursor, Codex, Gemini, or another AI tool hits a usage limit.

Read guide ->
Recovery guide

AI keeps repeating failed debugging attempts

Stop the next AI coding session from retrying the same dead ends after a reset or tool switch.

Read guide ->
Recovery guide

The AI session summary missed important coding details

Avoid lossy AI coding summaries by rebuilding the handoff from current repo state and verified facts.

Read guide ->
Recovery guide

Switching AI coding tools loses the working state

Move a coding task between Claude, Cursor, Codex, Gemini, Aider, Roo Code (archived May 2026), Devin and Windsurf, and more without starting over.

Read guide ->
Recovery guide

AI agents waste tokens rereading the same repo

Stop AI coding agents from burning tokens rediscovering files, imports, risks, and decisions every session.

Read guide ->
Recovery guide

Your AI coding session data is trapped inside one tool

Avoid AI coding tool lock-in by keeping working state local, portable, and tied to the repo.

Read guide ->
Recovery guide

AI memory is stale or unverified against the current repo

Prevent stale AI memory from becoming false ground truth during coding handoffs.

Read guide ->
Recovery guide

AI coding usage limits expire faster than expected

Use clean handoffs to reduce wasted tokens when AI coding limits or credits drain faster than expected.

Read guide ->
Recovery guide

The next AI does not know what tests passed or failed

Preserve verification state across AI coding restarts: tests, checks, screenshots, commands, and manual validation.

Read guide ->
Most searched fix

Roo Code API request stuck or failed?

Use the ranked troubleshooting path for a stuck spinner, provider failure, oversized context, Ollama hang, or extension stall. Preserve the working tree before retrying.

Open Roo Code guide ->
Rising search

ChatGPT stuck on Thinking or one last tweak?

Stop the spinner, check status, preserve coding context, and restart from a compact packet instead of a stale transcript.

Open ChatGPT guide ->
Rising search

Kiro clear cache?

Use the safe cache-clear order: preserve the task, check shell integration, then clear cache only if Kiro remains stuck.

Open Kiro guide ->
Rising search

OpenCode stops after tool call?

Check whether the tool already wrote files, then stop the hanging process and resume from verified disk state.

Open OpenCode guide ->
Search-led guide

Codex CLI stuck or frozen?

Preserve completed commands and edits, diagnose the stalled turn, then resume or fork the session without replaying verified work.

Open Codex guide ->
Emerging search

DeepSeek V4 Flash in Codex CLI?

Connect the model through LM Studio or a Responses-compatible gateway, then verify the tool loop before a long coding task.

Open setup guide ->
Cross-tool handoff

Claude Code to OpenClaw?

Move the current diff, decisions, failed attempts, checks, and one safe next action into OpenClaw.

Open handoff guide ->
Page-one opportunity

Copilot send button disabled?

Recover the current diff, reload the blocked chat safely, and restart from one bounded action.

Open Copilot guide ->
Limits hub

AI coding limits: Claude, Cursor, Codex, Roo Code

Recover work after usage limits, rate limits, reset windows, context overflow, and stuck API requests interrupt a coding task.

Open hub ->
Orchestration

Get more from an AI coding base plan

Route work by model cost, separate planning from execution, preserve state, and stop paying tokens to rediscover context.

Read guide ->
Session recovery

AI coding session died?

Recover the last verified work from disk and continue without relying on a missing conversation.

Read guide ->
After death

Works after the AI session dies

Recover coding context from disk truth when the old AI cannot summarize, compact, export, or continue.

Read guide ->
No prep

No handoff written?

Recover useful context when you forgot to write a note before the chat got blocked, stale, or deleted.

Read guide ->
Trust

Verified, not recalled

Separate repo-backed facts from inferred next steps so the next AI knows what to trust.

Read guide ->
Cross-tool

Project memory across AI tools

Carry working state across Claude, Cursor, Codex, Gemini, Aider, Devin, Windsurf, and more.

Read guide ->
Coverage

Feature coverage across native integrations plus web handoff

See which ShardStitch recovery layers work across disk scan, handoff files, MCP, and Recall.

Read guide ->
Codex

Codex session corrupted or cannot resume?

Rebuild the continuation from Git, changed files, and verified state when the old Codex session cannot be trusted.

Read guide ->
Cursor

Cursor terminal command stuck?

Separate interactive prompts, watchers, servers, and hidden shell output before retrying the agent task.

Read guide ->
Cline

Cline stuck after a terminal command?

Recover from interactive commands, long-running servers, and shell boundary confusion without losing partial work.

Read guide ->
Gemini CLI

Gemini CLI session lost?

Resume from disk truth when the old Gemini CLI conversation disappears or cannot continue.

Read guide ->
Pillar

AI coding session recovery

Continue after Claude, Cursor, Codex, Gemini, or another AI tool dies, gets stale, or moves tools.

Read guide ->
Claude Code

Claude Code session died?

Recover the work from git diff, changed files, failed attempts, verification state, and next action.

Read guide ->
Cursor

Cursor chat getting stale?

Restart a bloated Cursor chat without losing the useful coding context.

Read guide ->
HANDOFF.md

What should a handoff include?

A practical AI coding handoff format: goal, files, decisions, failed attempts, verification, next action.

Read guide ->
Cursor

Cursor AI limit hit mid-task?

Recover git state and changed files before restarting or switching tools.

Read guide ->
Claude

Claude context limit recovery

Restart clean without dragging a bloated thread into the next session.

Read guide ->
Claude

Claude reset limits

Preserve the working state while usage resets or move it to another AI coding tool.

Read guide ->
Codex

Codex rate limit recovery

Recover the working state from disk and continue in a fresh session.

Read guide ->
Roo Code

Roo Code request stuck?

Capture useful project state before another agent repeats the same loop.

Read guide ->
Cline

Cline API Request stuck or failed?

Tell a provider error, stale task, and checkpoint slowdown apart before you retry.

Read guide ->
GitHub Copilot

Copilot agent stuck after a command?

Confirm whether the terminal already finished, preserve partial edits, and restart from one verified action.

Read guide ->
Windsurf

Windsurf freezes after Cascade responds?

Check what reached disk before forcing a restart, then continue with a smaller, verifiable task.

Read guide ->
Devin

Devin stuck on the same action?

Preserve the task branch, separate the remote session from local repository truth, and continue without repeating the cloud loop.

Read guide ->
Aider

Aider stuck in an infinite lint loop?

Stop repeated lint edits before they consume more tokens, then recover the last useful Git state.

Read guide ->
Gemini CLI

Gemini CLI terminal stuck running?

Make the shell boundary explicit, preserve the diff, and restart with one bounded command.

Read guide ->
Antigravity

Antigravity stuck in Thought Process?

Break the planning loop by narrowing the task to one executable action and one check.

Read guide ->
Replit Agent

Replit Agent stuck in Working?

Stop the cloud loop, restore the last working checkpoint, and continue from Git-backed state.

Read guide ->
Trae

Trae stuck Thinking?

Restart the silent background-agent failure and preserve local project state.

Read guide ->
Lovable.dev

Lovable stuck loading?

Diagnose the Supabase auth loop and recover from a Git-synced project.

Read guide ->
Amazon Q

Amazon Q stuck starting up?

Separate extension state from backend overload before retrying the task.

Read guide ->
Kilo Code

Kilo Code stuck retrying?

Stop repeated file rewrites and carry the failed context into the next attempt.

Read guide ->
All supported tools

One researched failure guide per target.

Exact symptoms and first-party fixes for all 31 supported AI handoff targets. Each guide preserves the work before it explains how to retry, reset, or switch.

Amp

Amp thread lost context after compaction?

Amp thread too long or missing details after auto-compaction? Preserve the Git-backed state, start a focused thread, and verify what the summary omitted.

Read guide ->
Cursor

Cursor Composer stuck generating?

Preserve partial work, capture the Request ID, diagnose the network or index, and recover the persisted conversation safely.

Read guide ->
Claude Code

Claude usage limit draining fast?

Separate normal context growth from an account-level usage mismatch, preserve the session, and continue from verified state.

Read guide ->
Claude Desktop

Claude Desktop task stopped mid-run?

Claude Desktop or Cowork stopped mid-task? Check app state, sleep, permissions, Windows virtualization, and logs before restarting the work.

Read guide ->
Crush

Crush stuck on Generating?

Crush stuck on Generating after a provider or base URL error? Stop the retry loop, verify configuration, preserve Git state, and resume safely.

Read guide ->
DeepSeek

DeepSeek rate limited or server overloaded?

DeepSeek 429 rate limit, 503 server overloaded, or 402 insufficient balance? Match the code, stop blind retries, and preserve coding work.

Read guide ->
Factory Droid

Factory Droid rate limit reached mid-session?

Factory Droid hit a 5-hour, weekly, or monthly rate limit? Use /limits, preserve the completed request, and continue with Droid Core or another tool.

Read guide ->
Gemini web

Gemini usage limit reached mid-task?

Gemini usage limit reached or context too large? Check the reset, switch to Fast or Flash-Lite, and preserve the coding state before continuing.

Read guide ->
Grok

Grok returned 429 Too Many Requests?

Grok API returned 429 Too Many Requests? Reduce request rate, use exponential backoff, preserve partial coding work, and retry safely.

Read guide ->
Kimi

Kimi Code limit reached or context too long?

Kimi Code hit a 5-hour or monthly limit, engine overload, or context-size error? Match the message, preserve work, and continue safely.

Read guide ->
OpenClaw

OpenClaw agent stopped responding after a tool call?

OpenClaw agent stopped replying after a tool call? Back up the session, check tool-call pairing, quarantine corrupted state, and restart safely.

Read guide ->
Perplexity

Perplexity returned 429 Too Many Requests?

Perplexity API returned 429 Too Many Requests? Use jittered backoff, preserve partial agent work, and continue from a verified packet.

Read guide ->
Qwen Code

Qwen Code generated a tool call but did not run it?

Qwen Code prints a tool call but does not execute it? Verify backend tool support, model templates, and Windows command handling before retrying.

Read guide ->
Z.ai GLM

Z.ai GLM Coding Plan limit reached?

Z.ai GLM limit reached, weekly quota exhausted, or high traffic? Match codes 1308, 1310, 1312, 1305, and 1261 before retrying.

Read guide ->