pi-worktrees/.pi/extensions
David Kong 2cc2fa5ba3 fix: address all review findings for git_worktree_remove
Critical:
- Handle git status failure with clear error instead of silently skipping uncommitted-changes guard
- Add path-exists check before removal attempt (fail-fast)

Major:
- Reuse WorktreeError from create module instead of duplicating WorktreeRemoveError
- Add force parameter to TypeBox schema and wire it through to command builder
- Add baseDir parameter to isMainRepository for deterministic relative path resolution
- Fix environment-dependent test (use absolute paths / explicit baseDir)

Minor:
- Update stale JSDoc on resolveWorktreeTarget
- Add integration test section for execute path
- Include branch name in success response
- Add test for relative path with explicit baseDir

Suggestions:
- List remaining worktrees in success response details
2026-07-25 12:12:55 +10:00
..
pi-worktree-create.ts Milestone 2.1: Implement git_worktree_create tool (#4) (#17) 2026-07-24 20:50:45 +00:00
pi-worktree-parser.ts Milestone 1.3: Implement git_worktree_list tool (#3) (#16) 2026-07-24 13:11:08 +00:00
pi-worktree-remove.test.ts fix: address all review findings for git_worktree_remove 2026-07-25 12:12:55 +10:00
pi-worktree-remove.ts fix: address all review findings for git_worktree_remove 2026-07-25 12:12:55 +10:00
pi-worktree.test.ts Milestone 2.1: Implement git_worktree_create tool (#4) (#17) 2026-07-24 20:50:45 +00:00
pi-worktree.ts fix: address all review findings for git_worktree_remove 2026-07-25 12:12:55 +10:00