GuidesUpdated

Coding agent stuck or waiting for input? Check the live session

Tell a pending decision, running tool, dev server, finished turn and failed agent apart before you interrupt or restart a coding agent.

On this page

A session with no new text for 10 minutes isn't necessarily frozen. It may be waiting for approval, running a command that never exits, serving a dev server or sitting at its prompt. Find the last concrete event before you send another instruction or close the tab.

Canopy Agents rail beside live coding-agent terminals
Canopy Agents rail beside live coding-agent terminals

Find the session and its last event

Check the project, checkout, branch, CLI, last prompt and live terminal, and note when output last changed. Canopy's Agents rail combines lifecycle, process resources, session history and integration signals. A status badge is a useful pointer, but coverage differs by CLI, so open the terminal before deciding. Away from your desk, Canopy Remote still needs the host running.

Name the state from the live terminal

A permission or product question needs your answer in that session. A ready URL may be a long-running server: check the site and move the command to a saved service. A quiet test or build may be slow or waiting on a child process; check the command, elapsed time and process state first.

A CLI prompt after a final answer means the turn finished. An error exit calls for the first failure line. A flat token counter isn't proof of a hang.

Act on the live event, not the tab color.
Last evidenceCheckNext action
Approval or question visibleExact tool, target and decision askedAnswer or deny in that session
Ready URL and server logsWhich process and port are runningCheck the page; run it as a service
Tool or test hasn't returnedCommand, elapsed time, child process, outputWatch it, or stop that one operation
CLI prompt after final answerDiff, tests and unfinished workReview, or give a new bounded task
Process exited or printed an errorFirst error and checkoutDiagnose before restarting

Treat a missing badge as unknown

Canopy's parity audit shows hooks, notifications and resume differ across CLIs. Some report permission requests directly; others rely on terminal clues, so some waits never show a badge. When a badge and the terminal disagree, trust the terminal.

Save a checkpoint before you interrupt

Before stopping a long command or agent, capture the command, latest output, Git status, running services and last accepted result. Use the CLI's cancel control and check the child process also ended. Then resume the conversation or start a small new task from the checkpoint. Re-sending the original broad prompt can duplicate edits, launches and usage. If the agent was waiting for approval, check the scope and answer it.

Confirm the work moved forward

After a decision or restart, look for the next real event: a tool result, changed file, test result or clearer question. For code, read the diff and check behavior; for a server, use the printed URL. If nothing happens, narrow the work to one observable step and keep the terminal state for a bug report. A spinner isn't an outcome.

Copyable resources

Stalled-session checkpoint

Capture this before cancelling or repeating a task.

Project, checkout, branch and CLI version: [ ]
Last prompt and intended outcome: [ ]
Last terminal event and time: [ ]
Pending question or approval: [ ]
Running command/process and latest output: [ ]
Service URL and status: [ ]
Git status and last accepted result: [ ]
Decision (answer, observe, stop one operation, resume, new bounded task): [ ]
Next event that will prove progress: [ ]

Frequently asked questions

Does no new text mean the agent is frozen?

No. Check the live terminal for a pending question, active command, running server, CLI prompt or process error first.

Why is Canopy not showing a waiting badge?

Signals differ by CLI integration and release. Read the prompt in the terminal and check the parity audit; a missing badge doesn't mean work is progressing.

Should I close and reopen the tab to fix a stall?

Record the session, checkout, process, output and Git state first. Closing a tab, stopping a CLI and resuming its conversation are different actions; pick the one that fits what you see.

More questions and answers →

Sources and further reading