Task 1 client-mode contract exceeds the 200–400 line estimate (tracking)
Summary
Parent: #437 / #436. Tracking only — not a follow-up implementation.
Issue #437 estimated 200–400 lines and required material scope growth to become a separate issue. The client-mode rewrite is larger because #437 also required a Linux live JSON probe of worktree.list / workspace.list / session.snapshot (empty server, primary, linked, disk-only worktree, second-repo isolation, non-git workspace.create) plus sanitized fixtures and the architecture remapping off #394.
Approximate additions on task-1-client-mode-contract: ~840 insertions (docs + herdr_contract.rs + lists/join-key.json).
What grew
docs/herdr-integration.md(client-mode join key, table inventory, #436 proceed/block, #394 leftover labels)src-tauri/crates/infra/tests/herdr_contract.rs(required methods + live join probe)src-tauri/crates/infra/tests/fixtures/herdr/lists/join-key.json
All of that is tests and documentation. Production code, frontend, migrations, Local/PTY deletion, and the RuntimeRouter default (still Local) are unchanged.
Decision
Keep the extra evidence in Task 1. Splitting the join-key probe into a later issue would leave #436 Tasks 3–4/7/10 without the path-join contract they must depend on.
No production work belongs on this issue.
Measured on checkout task-3-line-count-trackers at f0ac78c0735e2664c5d8f42ca1dd5f0f6324f46c (#458 Task 3 / #461). Task 1 client-mode contract: this task's own stacked range, not origin/main...HEAD and not the #457 squash.
The tracker body named an approximate ~840 insertions. This is the counted range, not that estimate.
Command (exclude lockfiles + generated files; binary numstat - rows are not summed):
git diff --numstat origin/task-17-shell-templates...origin/task-1-client-mode-contract -- . \
':(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-17-shell-templates=a7a4fcf0825a8be4bfb5d06ad0e1e1ce8e19bd64(feat(service): send Herdr init and startup commands once after create) - tip
origin/task-1-client-mode-contract=d08b0d93e9919fbec5f2fe4db6a25e197ddfe514(docs: remap leftover #394 task numbers onto the #436 plan) 4commit(s) inorigin/task-17-shell-templates..origin/task-1-client-mode-contract
git diff --shortstat with the same range and pathspec:
3 files changed, 890 insertions(+), 47 deletions(-)
+890 / -47 = 937
This work is already on task-10-launch-adopt and PR #457. Closing as superseded by #457. No remaining unshipped work on this tracker.