* feat(feedback): say WHY the agent is quiet, not just that it is
George dispatched a fix at 15:45:29. The first output arrived at 15:58:43 —
thirteen minutes later, and only because he opened a terminal by hand and
found the agent sitting at a Claude sign-in. The row said "the agent never
reported any output". True, useless, and the reason was ten seconds away.
Silence has two meanings and the operator can only act on one. "Thinking" is
nobody's problem; "waiting for a human" is theirs, right now. The runner could
already tell them apart — detectAuthFailure reads the transcript for a 401 or a
/login notice — but it only ever asked ONCE, inside an 8-second window at
inject time. That run passed the check and then went quiet, and nothing looked
again.
The heartbeat is the thing that watches the terminal for the whole run, so it
is where the question belongs. After 90 seconds of no output the runner asks,
and the answer rides the next beat; the route stamps payload.blocked and emits
one `blocked` event per stretch; the row reads "Needs you to sign in" with
Watch opening the terminal where you answer it. 90 s is chosen so the reason is
ready BEFORE the ten-minute mark forces the row to say something.
One subtlety worth the test that pins it: a blocked agent prints nothing, so
the "no output, no beat" rule would have suppressed exactly the beat carrying
the reason. Silence WITH a reason is now the message — still one beat per
window.
detectAuthFailure moved to desktop/src/main/agent-auth.ts: the poller starts the
heartbeat, so importing it back would have been a cycle.
163/163 unit files, lint, check:desktop, prettier green.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
* chore(desktop): 0.8.23 — the runner says why a quiet agent is quiet
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
* feat(feedback): the row shows the work happening — runner heartbeat, Working · N min, Watch into the terminal
Between 'submitted' and 'closed' a run wrote nothing anywhere, so Feedback
read a busy agent as Queued and, from minute ten, as Not running. The box
runner owns the agent's PTY and sees every byte; it now beats
PATCH /api/control/runs/:id/progress (at most every 45 s, only when the PTY
printed) and the cloud stamps payload.lastProgressAt + a 'progress' event.
deriveFeedbackWork reads the heartbeat: fresh = 'Working · 47 min' for as
long as the run takes; gone quiet = 'Stalled' with how long it worked and
how long it has been silent; never any = 'Not running' after 10 min measured
from delivery. Every delivered phase is watchable, so the row's button is
'Watch' into /terminal?project=… whenever a PTY exists, and 'Open on
Control' only while Queued.
A project with no repository and no folder gets 'Connect a repository'
instead of Implement, and the dispatch route refuses the same case with a
422 that says what to do — the Annushka failure class, closed at the source.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017FU2m6NxPYYFkEdyufcSrX
* fix(control): Watch follows the same watchable rule as the Feedback row
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017FU2m6NxPYYFkEdyufcSrX
* chore(desktop): 0.8.21 — Fleet Runner reports run progress while the agent prints
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017FU2m6NxPYYFkEdyufcSrX
* docs(changelog): Fleet Runner 0.8.21 — run progress heartbeat
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017FU2m6NxPYYFkEdyufcSrX
---------
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>