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

Plan: close out the Herdr client migration (gap verification, docs, tracking)

Open AkaraChen opened this issue 2 months ago • 0 comments

Plan: close out the Herdr client migration

Phase 3 on top of PR #457 (task-10-launch-adopt) and PR #435. Phase 2 (#436) shipped the product change; this plan closes the loop: verify the gap issues that phases 1–2 filed, fix or retire the stale ones, sweep docs against the client-mode reality, and record a final evidence-based acceptance pass.

Base branch: task-10-launch-adopt. One task at a time, stacked.

Standing constraints (every sub-issue)

  1. No production behavior change unless a real defect is proven. This phase is verification, docs, and issue hygiene first.
  2. A gap may be closed only with evidence from the current tip (a file/line that now does the right thing, or a test that asserts it). Quote the evidence in the closing comment. No "probably fixed".
  3. If a gap is still real, fix it for real — no TODO, no swallowed error, no comment-only "fix".
  4. Do not touch the Local→Herdr runtime decision, do not re-add sqlite profiles as an authority, do not change interaction.
  5. Do not push and do not open a PR.

Tasks

  1. Verify the open gap issues against the tip and close or fix each one Audit every open issue that is a gap (not a task issue, not a line-count tracking issue) from phases 1–2: #446, #447, #454, #431, #416, #413, #403, #407, #442-class items excluded. For each: search the tip for the code path it names. If the defect is gone, comment with the exact file/line or test that proves it and close the issue. If it is real, fix it on this branch with a test. If it cannot be verified on this Linux builder (macOS/Windows-only, e.g. #396, #399, #401), leave it open and say why in one comment.
  2. Retire the stale documentation Sweep docs/ and src-tauri/AGENTS.md for text that still describes the deleted world: sqlite profiles as authority, profiles.worktree_path, profile_runtime_mappings / session_runtime_mappings, pty_sessions as the session store, the Local PTY runtime and its orphan-log GC, RuntimeRouter defaulting to Local, and the phase-1 "keep Local default" statements. Update the docs to the client-mode reality, or delete the dead sections. Cite each changed file in the reply.
  3. Line-count tracking issues For every exceeds the ... line estimate (tracking) issue from phases 1–2, post the real measured size of its task (added+removed lines for the sub-issue's own commits, excluding lockfiles and generated files) and close it as superseded by the shipping PRs (#435, #457) or leave it open with the measurement if it still tracks open work. Do not estimate — count.

Acceptance for this phase

  • Every verified gap issue is closed with quoted evidence, or has a comment explaining why it stays open.
  • No doc in docs/ or AGENTS.md still describes the deleted sqlite/PTY/Local-default world.
  • Each tracking issue has a measured number in a comment.
  • The phase branch contains no production behavior change that the phase did not need.

Base

Branch task-10-launch-adopt (PR #457). Do not reset that stack.

AkaraChen avatar Sep 16 '26 18:09 AkaraChen