---
description: "Show what continuous mode is doing here: what runs at which phase, what is queued, what waits for an answer, what PRs it opened today. Use when asked whether autopilot is on."
description-tr: "Sürekli modun ne yaptığını gösterir: ne koşuyor hangi fazda, sırada ne var, ne cevap bekliyor, bugün hangi PR'lar açıldı."
argument-hint: "[--subjects]  -  --subjects prints one widget line per in-flight item"
parameters: [{"name":"--subjects","kind":"flag"}]
gui: button
destructive: false
confirm: none
---

# multi-agent autopilot-status  -  what is it doing

```bash
bash "$HOME/.claude/scripts/autopilot-status.sh" ${ARGUMENTS}
```

That script is the **only** producer. The menu bar indicator, this command and
the session-start hook all render the same `status.json` it writes, because the
moment each computes its own answer they start disagreeing - which is the failure
this whole area was built around: a run reading `in_progress` while its PR was
already open.

## What the output means

Every line renders in `prefs.global.outputLanguage`; the wording below is the
English one, and the command a line names is spelled the way the CLI in front of
you spells it.

| Line | Meaning |
|---|---|
| `OFF` with repos selected | the selection is kept, launchd holds no job. `autopilot-on` starts it again without re-asking |
| `not set up` | never configured on this machine; nothing has been written |
| `Running` | in flight now. Phase and elapsed come from the run's own state, not from a guess; an analysis item says so and shows its own step names (Intake, Evidence, Synthesis, ...) |
| `Queued for development` / `Queued for analysis` | the two queues, listed apart because they deliver different things: a pull request, or a written document with no branch and no PR. A repo is only in the second one when it was enrolled (`/multi-agent:autopilot-on`, step 4); no analysis heading means no repo asked for it |
| `Waiting for an answer` | the run is parked on a question and never re-runs on its own. Answer it with `resume <id> --answer <option>` or from a client; the questions are posted on the item only when `autopilotCommentsOnIssue` is on (default off) |
| `the config is on but launchd holds no job` | the failure a `resume` command would have hidden: an OS update dropped the plist, or it was booted out. Re-run `autopilot-on` |

An empty queue is reported with the reason - no item carries the label yet - and
not as an error. That is the most common "why is nothing happening", and it is
not a fault.

## The runner's operations in `--json`

`status.json` also carries what the runner does around a run
(`features/autopilot-operations.md`): `inhibitorHeld` (a sleep inhibitor is held
for a run in flight), `lastGcReport` and `lastDigest` (paths of the newest daily
cleanup report and digest in `~/.claude/autopilot/`, empty when there is none),
`queuedDevelopment` and `queuedAnalysis` (the same queue split by kind, so a
client renders the two without re-deriving the rule),
`maxParallelAgents` (the configured cap, `null` when unlimited), and `awake`,
`{held, display}`: whether the awake agent that keeps the Mac awake for as long
as the mode is on is running, and whether it keeps the display on too. On with
`awake.held: false` means the Mac can sleep between ticks; re-run `autopilot-on`.

## The menu bar indicator

When `swiftc` was available at `autopilot-on` time, `~/.claude/autopilot/bin/menubar`
shows the same thing in the top right, refreshing on its own: one row per item
with its id, the phase as a fraction, the
elapsed time and the stack, then the queue, then what is waiting, then the PRs of
the last day - each one clickable.

The indicator only **draws**. It cannot start, stop or change a run: control
stays here, where it is confirmed. It disappears from the list the moment an item
finishes, and the item reappears under `Reports` with its PR. Its chrome reads
`prefs.global.outputLanguage` at launch, the same table the terminal renders
from, so both say the queue's state the same way.

No `swiftc` means no indicator and nothing else changes.

## Watching the queue before anything runs

The queue can be read dry, with no scheduling and nothing dispatched:

```bash
node "$HOME/.claude/scripts/autopilot-intake.mjs" --dry-run | jq '{queued: [.queued[].id], awaiting: [.awaiting[].id], dropped: [.dropped[] | {id, reason}]}'
```

This is the honest way to decide whether to arm the runner: it queries the same
sources, applies the same ordering and the same attempt history, and writes
nothing at all. `dropped` is the part worth reading - it is where "why is my
issue not being picked up" is answered, one reason per item.

## `--subjects`

One line per in-flight item, shaped for the native task widget, with the numbers
travelling **inside** the subject string because the widget takes exactly one
string per row:

```
PROJ-1234 · Phase 2/5 Dev · ios
PROJ-1240 · Phase 2/5 Synthesis · ios · analysis
PROJ-1199 · waiting for an answer
```

Honest limit, worth saying rather than discovering: that widget belongs to the
session that calls `TaskUpdate`, and it refreshes when that session takes a turn -
when you type, or when a hook fires. It is a view, not a live counter. The menu
bar indicator is the one that updates on its own.
