* fix(lanes): a lane starts clean: from main, in a new conversation, without touching the shared checkout
A lane is a run beside the project's own session, in a worktree of the same
checkout on the cloud builder. A review of the merged runner fixes
(2026-11-12) found three ways it did not start clean:
- Its worktree was cut from the checkout's HEAD, which on the box is the
shared session's run branch (loki/run-<id8>). The lane began with another
run's unmerged commits and its pull request carried them. It now starts
from the remote default branch (worktree-workspace laneBaseRef).
- Its checkout step ran git pull --ff-only in the folder the shared
session's agent works in; the run branch tracks origin's default, so the
live agent's files could move under it. A lane now only fetches
(ensureBoxWorkspace pull: false).
- A dispatch that carried the project's sessionId kept it in a lane, so the
lane ran claude --resume of the shared conversation in a new folder.
A lane resumes nothing.
Also: a live lane reopened after a builder restart is looked for in its own
folder (pty-runtime's record), and traced back to its checkout for pruning,
not to the dispatch's laptop path.
scripts/test/lane-base.ts runs real git for each case. Runner 0.8.68.
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtHxn2FxY2x8pJ83Xj
* fix(lanes): a lane that cannot start says why in words the retry policy reads
A laptop lane for a folder that is not on that machine was refused as a
worktree failure, and a missing box checkout as "nothing was launched".
auto-reimplement-policy reads neither as a workspace problem, so both were
retried on a builder where they cannot work. Both now use its words
("does not exist on this machine", "nothing was launched here").
Found by a review of the merged runner fixes (2026-11-12).
Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019MDtmtHxn2FxY2x8pJ83Xj
---------
Co-authored-by: Claude <noreply@anthropic.com>