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

Task 1 Herdr contract probe exceeds the 200–400 line estimate (tracking)

Open AkaraChen opened this issue 2 months ago • 1 comments

Summary

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

Issue #395 estimated 200–400 lines and required material scope growth to become a separate issue. The contract probe is larger because #395 also required an executable, checksum-verified sidecar probe: isolated server startup, captured terminal frames, worktree/split lifecycle, and platform/capability evidence later tasks must depend on.

What grew

  • docs/herdr-integration.md and docs/README.md index
  • src-tauri/crates/infra/tests/herdr_contract.rs
  • src-tauri/crates/infra/tests/fixtures/herdr/

All of that is tests and documentation. Production code, frontend, legacy PTY ownership, migration UI, and the default runtime are unchanged.

Decision

Keep the extra evidence in Task 1. Splitting it into a later issue would leave Tasks 5/10–12 without the contract #395 asked them to depend on.

No production work belongs on this issue.

AkaraChen avatar Sep 14 '26 14:09 AkaraChen

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

Measured as Task 1 only. Tip is 08ae2f6 (docs: proceed Linux Task 5/10 and gate 11-12 on Task 10), the parent of the first Task 2 commit 3ab67ed (feat(model): add Herdr-agnostic terminal runtime DTOs) on task-2-runtime-boundary. This range does not include task-2-runtime-boundary. The tracker body did not name a contemporaneous shortstat.

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

git diff --numstat origin/dev...08ae2f606f19c64480dece7313fa8dd87daa1b3f -- . \
  ':(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/dev = fa2465aae831d6aca93f2898973ba070a3f0db9f (Merge pull request #387 from AkaraChen/cursor/raise-afdocs-agent-score-4e93)
  • tip 08ae2f606f19c64480dece7313fa8dd87daa1b3f = 08ae2f606f19c64480dece7313fa8dd87daa1b3f (docs: proceed Linux Task 5/10 and gate 11-12 on Task 10)
  • 18 commit(s) in origin/dev..08ae2f606f19c64480dece7313fa8dd87daa1b3f

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

13 files changed, 3008 insertions(+)

+3008 / -0 = 3008

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