fix: apply the review items for #722 at merge

Note in docs/remote-sessions.md that the @fix_plan.md auto-load does not
run for remote sessions, and rewrap the test's header comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Codeman maintainer committed 2026-10-28 09:07:28 +01:00
1 parent 0a56c1445f
commit 74fc3ea6ae
2 files changed
+9 -3

No files matched your search

+5
View File
@@ -429,6 +429,11 @@ path but the SESSION (`session.remote`): a remote session never falls back to lo
`fs`, and a local session never opens an ssh connection — including for attachment
records, which are keyed to the session that registered them.
**Local watchers skip a remote session.** The Ralph tracker's `@fix_plan.md` auto-load
(and the `fs.watch` behind it) never runs for a remote session: `setupSessionListeners()`
(`server.ts`) does not hand the tracker a remote `workingDir`, because the watcher reads
the LOCAL disk, where that path is missing or a different tree.
## Wake-on-LAN from user input
A durable remote session survives an SSH drop (COD-104/108), but nothing brought the
+4 -3
View File
@@ -9,9 +9,10 @@
* remote session (and where a same-named local directory did exist, it watched
* the wrong tree). Setting the path also made the tracker treat the unreadable
* file as authoritative (`isFileAuthoritative`), which switched off its
* output-based todo completion for every remote session. `setupSessionListeners()` already skips external CLI modes for
* the same reason (the tracker is not supported there); a remote location is the
* other case with no local file to watch.
* output-based todo completion for every remote session.
* `setupSessionListeners()` already skips external CLI modes (the tracker is
* not supported there); a remote location is the other case with no local
* file to watch.
*
* Drives the real `WebServer.setupSessionListeners()`, like
* discard-partially-built-session.test.ts.