Files
loki/scripts
CatoandClaude 1be367df36 fix(builder): a dispatch starts in the builder's own checkout, never the laptop path (#1638)
* fix(builder): a dispatch starts in the builder's own checkout, never the laptop path

A message to a busy project gets a parallel lane, tab <project>~<run>. On the
cloud builder the checkout was looked up under that tab name: no such project,
nothing to clone, and the stored laptop directory went on to the sandbox
("Sandbox cwd does not exist: /home/g/dev/orangecat", 2026-11-12). The run
died before the prompt arrived.

- dispatchLaunchDir: the project's checkout on this builder first, by project
  name, then the run's worktree of it. A lane without its own worktree, or a
  project the builder can neither find nor clone, is refused with the reason.
- launchAgentPty no longer hands on a directory that is not on the builder,
  and asks for the project's repository and token, not the lane's.
- /api/control/workspace-source answers for a lane tab as for its project.
- scripts/test/dispatch-launch-dir.ts pins it against the real checkout and
  worktree steps.

* chore(runner): 0.8.65 with its release note

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-12 05:37:08 +01:00
..
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00
2026-08-31 09:23:30 +00:00