2code icon indicating copy to clipboard operation
2code copied to clipboard

Task 3 Herdr sidecar bundle exceeds the 150–300 line estimate (tracking)

Open AkaraChen opened this issue 2 months ago • 1 comments

Summary

Parent: #404 / #394. Tracking only — not a follow-up implementation.

Issue #404 estimated 150–300 lines and required material scope growth to become a separate issue. The sidecar branch (task-3-herdr-sidecar, 1168 insertions / 3 deletions versus task-2-runtime-boundary) is larger because #404 also required checksum-verified acquisition, Apache-2.0 license/NOTICE text, discovery tests, and CI fetch wiring later tasks must depend on.

What grew

  • scripts/herdr-sidecar.mjs and scripts/tauri-before.mjs
  • src-tauri/crates/infra/src/herdr.rs (path discovery, --version, colocated tests)
  • src-tauri/licenses/herdr-0.9.0/ (LICENSE, NOTICE)
  • src-tauri/build.rs, src-tauri/tauri.conf.json bundle.externalBin, and CI fetch steps in .github/workflows/{release,tauri-smoke,unit-tests}.yml

The extra is in-scope packaging and discovery, including required tests and license text. Frontend, legacy PTY ownership, RuntimeSelector default (Local), and the Herdr stub are unchanged. No server, socket client, or terminal-session attach was added.

Decision

Keep the extra packaging in Task 3. Splitting it into a later issue would leave Task 4 without the checksum-verified sidecar #404 asked it to depend on. This is not #400 (Task 1 tests/docs only).

No further production work belongs on this issue.

AkaraChen avatar Sep 15 '26 04:09 AkaraChen

Measured on checkout task-3-line-count-trackers at f0ac78c0735e2664c5d8f42ca1dd5f0f6324f46c (#458 Task 3 / #461). Task 3 Herdr sidecar bundle: this task's own stacked range, not origin/main...HEAD and not the #435 squash.

The tracker body named 1168 insertions / 3 deletions contemporaneously. That unfiltered count includes src-tauri/Cargo.lock (+1). This re-count excludes lockfiles as required.

Command (exclude lockfiles + generated files; binary numstat - rows are not summed):

git diff --numstat origin/task-2-runtime-boundary...origin/task-3-herdr-sidecar -- . \
  ':(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-2-runtime-boundary = 7aaaefb25320dc80b9bb5e21c5015ef9230f292a (feat(app): route PTY handlers through the Local runtime boundary)
  • tip origin/task-3-herdr-sidecar = 212509d2ac9fded1a9067dc33b18ec5f07e91c99 (fix(scripts): do not delete an existing sidecar on fetch failure)
  • 5 commit(s) in origin/task-2-runtime-boundary..origin/task-3-herdr-sidecar

git diff --shortstat with the same range and pathspec:

14 files changed, 1167 insertions(+), 3 deletions(-)

+1167 / -3 = 1170

This work is already on task-17-shell-templates / task-10-launch-adopt and PR #435. Closing as superseded by #435. No remaining unshipped work on this tracker.

AkaraChen avatar Sep 16 '26 19:09 AkaraChen