Skip to content

Conversation

@CaptainCodeAU
Copy link
Owner

Summary

This PR enhances the worktree-cli tool for AI-assisted parallel development workflows, adding new features and comprehensive documentation for Claude Code and Cursor integration.

New Features

1. wt status Command

  • Display comprehensive status of all worktrees
  • Show git working tree status (clean/dirty)
  • Show upstream tracking status (ahead/behind/diverged)
  • Include indicators for main worktree, locked, and detached HEAD states
  • Handle edge cases (bare repos, missing directories)

2. Trust Mode Configuration

  • Skip confirmation prompts for setup scripts
  • Essential for CI/CD and AI agent automation
  • Command: wt config set trust true

3. Subfolder Mode Configuration

  • Organize worktrees in dedicated subdirectories
  • Cleaner project organization
  • Command: wt config set subfolder true

Documentation

  • ✅ Updated README.md with new features and detailed examples
  • ✅ Created comprehensive QUICKSTART.md guide
  • ✅ Added AI Assistant Integration section
  • ✅ Added Claude Code slash command at .claude/commands/worktree.md
  • ✅ Added CHANGELOG-SESSION.md as development log

Testing

  • ✅ All 110 tests passing
  • ✅ Added 6 new tests for status command
  • ✅ Fixed test issues with git branch naming
  • ✅ End-to-end testing completed

Changes

Breaking Changes

None. All changes are backward compatible.

johnlindquist and others added 4 commits December 9, 2025 13:37
…johnlindquist#34)

- Add `wt config set trust true/false` to bypass setup command confirmations
  without needing to pass -t flag every time (issue johnlindquist#34)
- Add `wt config set subfolder true/false` to create worktrees in a
  my-app-worktrees/feature pattern instead of my-app-feature siblings (issue johnlindquist#33)
- Add getter/setter functions in config.ts for both options
- Update confirmCommands() to check config trust setting
- Update resolveWorktreePath() to support subfolder naming pattern
- Add 8 new tests for the config options (98 total tests pass)
- Merged PR johnlindquist#35 (trust and subfolder config options)
- Implemented wt status command with comprehensive git status info
- Added 6 tests for status command (104 total tests passing)
- Created Claude Code slash command at .claude/commands/worktree.md
- Updated documentation with progress and new features
- Fixed test issues related to trust mode configuration
- Add 'wt status' command to show comprehensive worktree git status
- Display all worktrees with branch names, paths, and git state
- Show working tree status (clean/dirty) and upstream tracking (ahead/behind)
- Include indicators for main worktree, locked, and detached HEAD states
- Handle edge cases including bare repos and missing directories
- Add 6 comprehensive tests for status command

- Update README.md with new features and detailed status documentation
- Add trust mode and subfolder mode configuration sections
- Add AI Assistant Integration section with parallel agent workflows
- Create comprehensive QUICKSTART.md guide with practical examples
- Add CHANGELOG-SESSION.md as development log
- Remove temporary WORKTREE-CLI-PROJECT.md file
@CaptainCodeAU CaptainCodeAU merged commit 0698583 into main Dec 23, 2025
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.

3 participants