Files
CatoandClaude Opus 5.5 9747207038 fix(runner): a working Claude is not reported as silent; fresh launches close dialogs (#966)
* fix(runner): a working Claude is not reported as silent; fresh launches close dialogs

Petvity, 2026-09-28: two dispatches failed with "claude opened on this
computer, but produced no response" while Claude was logged in, well
inside its limits, and working normally in a terminal on the same account.
The runner's only evidence for "no response" is Claude's own status file
(~/.claude/sessions/<pid>.json) staying idle for ~22s, matched to the
workspace by folder path. Three gaps, all closed here:

- claudeLiveSessionForDir compared paths as strings. Claude records its
  cwd as the kernel reports it (symlinks resolved, no trailing slash); the
  runner holds the path it was handed. One folder spelled two ways meant no
  session was found, the check fell back to a guess, and a working Claude
  was NACKed. Both sides are now compared by realpath as well as as given.
- The dialog dismissal added after Farmhouse (2026-09-26) ran only for an
  already-live session. A freshly launched Claude can open on a dialog too;
  the prompt then answered the dialog. The launch path now closes it first.
- The generic failure now quotes the last lines the CLI drew
  (screenExcerpt), so the next unexplained failure says what Claude was
  showing instead of leaving the operator to guess.

Tests: claude-dialog-not-a-composer (symlink, trailing slash, subfolder,
other folder; fresh-launch dismissal; the excerpt strips escapes and
borders and stays short). Unit suite 296/296, tsc clean, check:desktop ok.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EsT2PtLuBKwgaaBU5pheG8

* chore(desktop): Fleet Runner 0.8.36 carries the silent-Claude fix

The runner change touches desktop/, so it needs a version the release
workflow can publish, or it lands on the server and on no machine
(desktop-release-drift). 0.8.36 with its FLEET_RUNNER_RELEASES entry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EsT2PtLuBKwgaaBU5pheG8

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-09-28 14:54:24 -07:00
..