Skip to content

feat(cli): add session worktree toggle - #1815

Merged
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/cli-session-worktree-toggle
Jul 28, 2026
Merged

feat(cli): add session worktree toggle#1815
bobleer merged 1 commit into
GCWing:mainfrom
bobleer:bob/cli-session-worktree-toggle

Conversation

@bobleer

@bobleer bobleer commented Jul 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add /worktree, /worktree on|off|status|toggle, and the matching command palette action for the current chat session
  • show the active Git branch and worktree state in the CLI header and startup guidance
  • keep the project workspace separate from the active execution workspace so session restore, switching, and new-session creation preserve the correct scope
  • use the existing core worktree lifecycle and surface retained-worktree safety results to the user

Compatibility

  • the default Embedded TUI supports worktree lifecycle control
  • Shared TUI reports worktree control as unavailable until its IPC contract exposes session workspace binding operations
  • non-interactive exec behavior is unchanged

Testing

  • cargo check -p bitfun-cli
  • cargo test -p bitfun-cli (366 unit tests plus all CLI integration tests)

@bobleer
bobleer merged commit 88e01fe into GCWing:main Jul 28, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant