Skip to content

feat(dispose): switch before removing live worktree - #27

Merged
neilwashere merged 3 commits into
mainfrom
feat/dispose-session-switch
Aug 23, 2026
Merged

feat(dispose): switch before removing live worktree#27
neilwashere merged 3 commits into
mainfrom
feat/dispose-session-switch

Conversation

@neilwashere

Copy link
Copy Markdown
Contributor

Summary

Verification

  • npm run check
  • npm run test:container-enter
  • primary LSP diagnostics: clean
  • pi-lens blocking diagnostics: clean

No host-side live session switch or cwd deletion was run during development.

Closes#21

Move slash-command disposal into a replacement main-checkout runtime, align the process cwd before teardown, and persist the observed cleanup result.\n\nRefs #21
Comment threadextensions/worktree.ts Outdated
Comment threadextensions/worktree.ts Outdated
Comment threadextensions/worktree.ts Outdated
Comment threadtest/container/enter-switch.e2e.ts
Run replacement teardown without blocking Pi, gate branch cleanup on path removal, observe the successor checkout, and cover partial and soft-delete outcomes.\n\nRefs #21
Treat detached HEAD consistently when planning and observing the main checkout, and keep hard destroy deletion independent from the soft-dispose path gate.\n\nRefs #21
@neilwashere
neilwashere merged commit 56c2fb3 into mainAug 23, 2026
4 checks passed
@neilwashere
neilwashere deleted the feat/dispose-session-switch branch August 23, 2026 19:10
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.3.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(dispose): switch first, then tear down from the main checkout

1 participant

@neilwashere