Task 10 launch/adopt exceeds the 400–700 line estimate (tracking)
Summary
Parent: #455 / #436. Tracking only — not a follow-up implementation.
Issue #455 estimated 400–700 lines and required material scope growth to become a separate issue. The launch/adopt branch (task-10-launch-adopt, 9 files, 742 insertions / 89 deletions versus task-9-delete-local-pty, excluding generated bindings) is larger because #455 also required connect-time adopt after GUI Herdr connect, git disk extras via worktree.open, non-git workspace.create --cwd, colocated fake-client tests (already_open, skip missing, dirty folder, Herdr-down fail-closed, watcher read-only), closing the Task 3 empty-list exception, and contract docs. There is no Task 11 on this plan.
What grew
src-tauri/crates/service/src/project.rs(adopt_existing_checkouts/adopt_existing_checkouts_with; gitworktree.openofprojects.folderthen listed disk extras; non-gitworkspace.create --cwd; skip missing / log uncertain / no retry; colocated tests)src-tauri/crates/service/src/runtime.rs(adopt after successfulconnect_gui_herdr/build_gui_runtime, not fromlib.rs)src-tauri/src/handler/project.rs(list_projectsadopts then live-reads)src-tauri/crates/service/src/profile.rs(reuseopen_existing_checkoutfor git adopt)src-tauri/crates/service/src/watcher.rs(live-read roots after adopt; noworktree.openon the 3s poll)src/features/projects/CreateProjectDialog.tsx(navigate to the adopted default after refetch)docs/herdr-integration.md+ service/projects AGENTS.md (Task 10 done; empty-list exception closed when Herdr is up)
All of that is the Task 10 launch/adopt plus tests and docs. It is not a new #436 task: no second events.subscribe; lib.rs still does not name HerdrRuntimeSync; pin stays v0.9.0; sqlite profiles stays absent; no Local / TWOCODE_RUNTIME.
Decision
Keep the extra coverage in Task 10. Splitting connect-time adopt, git disk extras, or the empty-list close into a later issue would leave HomePage / New Project / the watcher stuck on profiles: [] when Herdr is up. Do not invent Task 11.
No production work belongs on this issue.
Measured on checkout task-3-line-count-trackers at f0ac78c0735e2664c5d8f42ca1dd5f0f6324f46c (#458 Task 3 / #461). Task 10 launch/adopt: this task's own stacked range, not origin/main...HEAD and not the #457 squash.
This re-count matches the tracker body's contemporaneous 742 insertions / 89 deletions (excluding generated bindings).
Command (exclude lockfiles + generated files; binary numstat - rows are not summed):
git diff --numstat origin/task-9-delete-local-pty...origin/task-10-launch-adopt -- . \
':(exclude)src/generated/' \
':(exclude)src/paraglide/' \
':(exclude)**/Cargo.lock' \
':(exclude)bun.lock' \
':(exclude)**/bun.lock' \
':(exclude)bun.lockb' \
':(exclude)**/bun.lockb' \
':(exclude)package-lock.json' \
':(exclude)**/package-lock.json' \
':(exclude)src-tauri/binaries/'
Resolved SHAs:
- base
origin/task-9-delete-local-pty=d5ae53e169799f9ddd4287f35b99640b25ede6aa(docs: record Task 9 delete Local PTY) - tip
origin/task-10-launch-adopt=52d77d5d53d338156d51caefe91a289da2070850(docs: record connect-time adopt for Task 10) 4commit(s) inorigin/task-9-delete-local-pty..origin/task-10-launch-adopt
git diff --shortstat with the same range and pathspec:
9 files changed, 742 insertions(+), 89 deletions(-)
+742 / -89 = 831
This work is already on task-10-launch-adopt and PR #457. Closing as superseded by #457. No remaining unshipped work on this tracker.