feat(git,session): add branch-selected worktree sessions - #331
Conversation
Master sync and acceptance evidenceMerge commit Conflict resolutionResolved and integrated both sides in:
The merged result preserves master's channel-aware daemon state, simulator consent, browser tooling, controlled workspace catalogs, and Pi coverage while retaining CODE-425 worktree storage/injection and branch selection. Because the combined wire surface contains both master's changes and CODE-425 variants, the wire protocol moves from 62 to 63, including the desktop E2E fixture. The real Electron E2E also sets Verification
Acceptance videoWatch/download the 10.7-second acceptance recording (MP4, 1280×800, H.264) The recording drives the real built Electron app against a real daemon and temporary Git repository: it adds the project, opens the branch picker, shows |
Summary
Implements Linear CODE-425 and its five child issues:
git.branch.list, with the current branch first and remaining branches ordered by recent commit timeWire protocol versions are bumped in lockstep from 52 to 55 across the three schema-changing commits.
Verification
NODE_OPTIONS=--max-old-space-size=4096 devenv shell -- pnpm typecheckdevenv shell -- pnpm test— 246 files / 1,945 tests passed; 1 file / 1 test skippeddevenv shell -- pnpm format:check— 1,154 files passedpnpm check:cicould not complete as a single command because whole-repository ESLint exhausts the available orb heap. Its format and typecheck stages pass, and ESLint passes for every changed TypeScript file.Checklist
pnpm check:ciandpnpm testboth pass (full tests pass; whole-repo ESLint is blocked by the documented orb heap limit above)WIRE_PROTOCOL_VERSION