Session statuses (the eleven states)
A session is always in exactly one of eleven states, and that one word decides its colour in the sidebar, whether it lands in your inbox, whether it chimes, and whether an app restart brings it back. The design is attention-first: only the states that genuinely need a decision from you are allowed to ask for one.
On this page
What it is
Eleven states, one colour each, and a plain meaning behind every one. They come from the app's single status list (src/shared/types/session-status.ts, the tuple at :21-41), and the label and dot colour each one shows come from one display table (src/renderer/src/lib/status-display.ts, :26-116):
starting— shows as Starting, in grey. The CLI is being launched, and the session has not begun working yet.running— shows as Running, in green. The agent is working, right now.needs_you— shows as Needs You, in amber. The agent has stopped and is waiting on you: a question, a plan to approve, or a permission to grant. This is the only state that asks for you.ready— shows as Ready, in cyan. The session has started and is waiting for its first message.stalled— shows as Stalled?, in red. No output for a while, so the session may be wedged — a watch on the session flips it into this state.error— shows as Error, in red. The process died; the row says so and a message retries it.terminating— shows as Terminating, in grey. The process is shutting down.ended— shows as Interrupted, in red. The process is gone but the session is resumable: a message picks the conversation back up.paused— shows as Paused, in grey. You parked it deliberately; pressing P again resumes it.archived— shows as Archived, in grey. Filed away into the project's Archived section. This is the only true terminal state; nothing is deleted.waiting— shows as Rate Limited, in ember orange. The system parked the session on account capacity; it is alive and resumes by itself when a limit resets or an account frees up.
Where to find it
- The coloured dot on the session row in the sidebar, and the same dot in the session header.
- The inbox and the Needs You counts, which only ever contain attention states.
- The taskbar / dock badge on the app icon, which counts the same attention states.
How it behaves
- Every state sits in one of five buckets, and each state belongs to exactly one of them: live, needs-you, interrupted, paused, archived (
src/shared/types/session-status.ts, :66-78). The bucket is what decides where a session appears rather than what it is called. - One rule decides who is allowed to ask for you. A single predicate is the only route the inbox, the needs-you counts, the chime, the Overseer count and the mobile surfaces go through (
src/shared/session-attention.ts), so a state that is not owed your attention cannot reach any of them by another path. - Failures are quiet on purpose. An errored or stalled session collects in the sidebar's Interrupted section rather than nagging from Needs You — no inbox row, no badge, no chime. A session you stopped yourself is quiet the same way, and a session that has permanently given up on recovery is the exception: it surfaces in Needs You.
- Waiting is never amber. A capacity park is ember orange — the rate-limit colour — and it deliberately never enters the amber needs-you bucket, the inbox or the chime, because nothing is being asked of you.
- Some states resume by themselves after a restart. Only genuinely active sessions — running, starting or stalled — are brought back when the app relaunches; anything you parked or finished stays where you left it.
- A cloud session the app lost track of is checked on its machine, not guessed at. If a cloud session still shows Running with nothing tracked here for a few minutes, the app asks the machine itself (a plain status read that never starts a stopped machine). A machine that says nothing is running and nothing is waiting to be read turns the session to Error with a note in the transcript, and a machine that is still running it is left alone.
- A machine that cannot be checked ends as Needs You, never as an open question. The app raises one inbox card after 15 minutes, and it keeps that card instead of withdrawing and re-raising it, and keeps counting from when the card was first raised, so a restart neither repeats the card nor restarts the wait. Once the run has been uncheckable for an hour and has produced nothing for an hour, the app stops checking and parks it at Needs You with a note that names why — that its machine still holds output the app has not read, or that the machine did not answer. Nothing is archived and nothing is deleted: the note and the session's content all stay, and the machine is put to sleep exactly as any session waiting on you is — its work snapshotted first — so resuming the session wakes it again and picks up whatever is still there. A run that is still producing output is never parked, however long its machine stays unreadable. (
src/main/process/liveness-cloud-release.ts) - Transitions are what notify you. The OS and in-app alerts fire on the change into a state that needs you, not on a timer.
Related
- Sessions — the lifecycle and its controls — the whole life of a session, and the pages that own each step.
- Session stuck in "needs you" — what the Needs You sub-labels mean (question, plan review, permission, and the rest).
- The Interrupted section — where the quiet failures collect.
- Paused session triage — what to do with a session you parked.
- Quiet chip — the small elapsed-time badge on a session row.
Last verified 2026-10-15