Neil
abd1fcf217
fix(cli): worktree create sends the host --project/--host selected ( #31066 )
...
* fix(cli): worktree create sends the host --project/--host selected
Codex review 6 #6 : the CLI picked the right setup but sent only its repo id,
so a repo id set up on two hosts failed as selector_ambiguous; and
--project-host-setup ignored --host when setup ids repeated.
worktree.create gains optional repoHostId (older hosts drop it and keep the
old behaviour); the runtime narrows the repo selector to that host.
* refactor(runtime): the repo selector carries its host through every lookup
Review follow-up (Codex + Opus on #31066 ): a separate repoHostId was dropped
by the startup-agent lookup, the CLI's GitLab link check and the create
dedupe key. RuntimeRepoSelector now carries the host with the selector, so
showRepo/resolveRepoSelector and startup-agent resolution keep it; the
create dedupe key includes it; repo.show gains the same optional
repoHostId; the CLI spreads one CliRepoTarget into every repo lookup.
Handler-level tests cover worktree.create (plain, startupAgent,
startupDraft), agent.launch, repo.show and the dedupe key.
* test(runtime): drop a needless cast in the agent.launch host test; fold an import
2026-10-20 02:57:14 -07:00
..
2026-10-20 02:57:14 -07:00
2026-10-20 01:34:52 -07:00
2026-10-19 21:31:13 -07:00
2026-09-16 12:03:38 -04:00
2026-10-09 22:22:01 -07:00
2026-10-12 02:14:43 -07:00
2026-10-12 02:14:43 -07:00
2026-10-12 02:14:43 -07:00
2026-09-29 21:38:09 -07:00
2026-10-02 17:23:11 -07:00
2026-10-12 00:38:00 -07:00
2026-09-16 12:03:38 -04:00
2026-09-29 21:38:09 -07:00
2026-10-14 03:03:50 -07:00
2026-08-07 23:02:29 -07:00
2026-10-16 19:38:32 -07:00
2026-08-26 09:50:12 -07:00
2026-10-19 21:31:13 -07:00
2026-08-26 09:50:12 -07:00
2026-08-26 09:50:12 -07:00
2026-10-15 23:24:11 -07:00
2026-10-15 23:24:11 -07:00
2026-06-07 17:49:01 -07:00
2026-10-14 16:14:27 -07:00
2026-09-16 10:31:01 -07:00
2026-09-16 10:31:01 -07:00
2026-09-29 21:38:09 -07:00
2026-10-18 19:48:36 -07:00
2026-10-16 19:02:47 -07:00
2026-10-19 03:12:30 -07:00
2026-10-11 18:30:03 -07:00
2026-10-11 18:30:03 -07:00
2026-09-29 10:22:27 -07:00
2026-09-29 10:22:27 -07:00
2026-10-14 03:03:50 -07:00
2026-10-14 03:21:31 -07:00
2026-10-09 22:22:01 -07:00
2026-10-10 15:16:18 -07:00
2026-10-10 15:16:18 -07:00
2026-09-29 21:38:09 -07:00
2026-10-10 15:16:18 -07:00
2026-10-03 00:50:46 -07:00
2026-10-03 00:50:46 -07:00
2026-09-29 01:21:53 -07:00
2026-06-28 21:01:09 -07:00
2026-06-28 21:01:09 -07:00
2026-06-28 21:01:09 -07:00
2026-10-19 12:18:31 -07:00
2026-10-19 12:18:31 -07:00
2026-10-15 23:28:21 -07:00
2026-09-06 14:34:03 -04:00
2026-10-19 03:12:30 -07:00
2026-08-18 11:29:26 -07:00
2026-10-18 19:48:36 -07:00
2026-10-13 20:25:00 -07:00
2026-10-18 19:48:36 -07:00
2026-10-18 19:48:36 -07:00
2026-09-05 14:35:45 -07:00
2026-10-19 03:12:30 -07:00
2026-10-12 02:14:43 -07:00
2026-10-08 13:41:11 -07:00
2026-08-26 09:50:12 -07:00
2026-10-19 21:31:13 -07:00
2026-08-15 00:54:20 -07:00
2026-08-26 09:50:12 -07:00
2026-08-26 09:50:12 -07:00
2026-08-26 09:50:12 -07:00
2026-08-15 00:54:20 -07:00
2026-08-15 00:54:20 -07:00
2026-10-17 00:37:16 -07:00
2026-10-14 03:03:50 -07:00
2026-10-19 12:18:31 -07:00
2026-08-26 15:43:02 -07:00
2026-10-17 00:27:55 -07:00
2026-09-28 15:19:44 -07:00
2026-10-18 15:22:37 -07:00
2026-10-19 03:47:23 -07:00
2026-10-14 03:21:31 -07:00
2026-10-09 22:22:01 -07:00
2026-10-11 20:16:33 -07:00
2026-10-11 06:31:43 -07:00
2026-08-15 00:54:20 -07:00
2026-10-17 00:27:55 -07:00
2026-08-18 14:12:24 -07:00
2026-09-26 21:22:13 -07:00
2026-10-12 02:14:43 -07:00
2026-10-16 19:02:47 -07:00
2026-08-31 19:08:05 -04:00
2026-08-31 19:08:05 -04:00
2026-10-20 02:57:14 -07:00
2026-10-20 02:57:14 -07:00
2026-10-03 00:51:19 -07:00
2026-10-03 00:51:19 -07:00
2026-09-18 00:11:33 -04:00
2026-10-03 01:59:38 -07:00
2026-10-14 16:14:27 -07:00
2026-10-19 12:18:31 -07:00
2026-10-14 03:03:50 -07:00
2026-10-14 03:03:50 -07:00
2026-10-14 03:03:50 -07:00
2026-10-14 03:21:31 -07:00
2026-08-21 14:28:55 -07:00
2026-10-17 13:14:48 -07:00
2026-10-17 13:14:48 -07:00
2026-10-14 03:03:50 -07:00
2026-08-13 20:44:16 -07:00
2026-10-17 00:27:55 -07:00
2026-09-05 20:27:29 -04:00
2026-10-18 00:24:34 -07:00
2026-10-18 23:12:27 -07:00
2026-10-01 10:33:49 -07:00
2026-09-06 20:24:21 -07:00
2026-09-06 20:24:21 -07:00
2026-10-15 23:26:59 -07:00
2026-10-15 23:26:59 -07:00
2026-09-25 22:47:33 -07:00
2026-08-13 22:48:24 -07:00
2026-10-18 15:22:37 -07:00
2026-08-30 01:23:27 -07:00
2026-08-30 01:23:27 -07:00
2026-10-09 22:22:01 -07:00
2026-10-14 03:03:50 -07:00
2026-10-14 03:21:31 -07:00
2026-09-03 14:43:05 -07:00
2026-06-29 22:38:29 -07:00
2026-09-06 14:34:03 -04:00
2026-09-06 14:34:03 -04:00
2026-10-18 19:48:36 -07:00
2026-10-19 03:47:23 -07:00
2026-09-30 14:26:23 -07:00
2026-10-15 22:21:36 -07:00
2026-10-11 03:58:58 -07:00
2026-10-02 17:23:11 -07:00
2026-09-16 12:03:38 -04:00
2026-10-19 03:12:30 -07:00
2026-10-16 19:02:47 -07:00
2026-10-11 20:16:33 -07:00
2026-09-29 10:46:58 -07:00
2026-06-07 17:49:01 -07:00
2026-10-18 23:12:27 -07:00
2026-09-06 14:34:03 -04:00
2026-10-17 23:24:02 -07:00
2026-09-06 14:34:03 -04:00
2026-10-14 16:14:27 -07:00
2026-10-18 19:48:36 -07:00
2026-10-18 15:25:48 -07:00
2026-08-18 22:51:37 -07:00
2026-10-16 19:02:47 -07:00
2026-07-10 19:17:01 -07:00
2026-07-10 19:17:01 -07:00
2026-10-18 22:12:37 -07:00
2026-10-20 02:57:14 -07:00
2026-10-18 22:12:37 -07:00
2026-10-18 22:12:37 -07:00
2026-10-07 03:15:06 -07:00
2026-10-07 03:15:06 -07:00
2026-10-09 20:36:36 -07:00
2026-09-06 14:34:03 -04:00
2026-08-30 16:36:20 -07:00