Skip to content

Feature global create worktree#951

Open
itissid wants to merge 6 commits intohumanlayer:mainfrom
itissid:feature-global-create-worktree
Open

Feature global create worktree#951
itissid wants to merge 6 commits intohumanlayer:mainfrom
itissid:feature-global-create-worktree

Conversation

@itissid
Copy link
Copy Markdown

@itissid itissid commented Jan 29, 2026

See itissid#1 for details.

itissid and others added 6 commits November 27, 2025 18:24
- Initialize worktree for feature/global-create-worktree branch
- Run make setup for development environment
- Update dependencies in package-lock.json

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
Phase 5: Add symlink setup message to humanlayer claude init
- Show helpful worktree setup instructions after successful init
- Message appears when commands are copied
- File: hlyr/src/commands/claude/init.ts

Phase 6: Fix cleanup_worktree.sh for multi-repo compatibility
- Update WORKTREE_BASE_DIR to use ~/workspace/wt/$REPO_NAME (matching create_worktree.sh)
- Support HUMANLAYER_WORKTREE_OVERRIDE_BASE environment variable
- Update worktree path construction to use just worktree name
- File: hack/cleanup_worktree.sh

All automated tests passed:
- ✅ hlyr: Format, Lint, Tests, Build
- ✅ humanlayer-wui: Format, Lint, Type checking, Rust check, Clippy

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
Implement Phases 3 and 7 of global worktree script access plan:

- Add --no-setup flag to create_worktree.sh to skip make setup for
  non-humanlayer projects (Phase 7)
- Update slash command to prompt for custom worktree base path via
  HUMANLAYER_WORKTREE_OVERRIDE_BASE environment variable (Phase 3)
- Update slash command to use --no-setup for non-humanlayer repos

This allows the worktree scripts to work globally across any project,
not just the humanlayer repository.
Copy link
Copy Markdown
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Important

Looks good to me! 👍

Reviewed everything up to 1cd11bb in 20 seconds. Click for details.
  • Reviewed 168 lines of code in 4 files
  • Skipped 1 files when reviewing.
  • Skipped posting 0 draft comments. View those below.
  • Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.

Workflow ID: wflow_XGFQV8N1vRhygqLV

You can customize Ellipsis by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.

@itissid
Copy link
Copy Markdown
Author

itissid commented Jan 29, 2026

Hey @dexhorthy you already approved this in itissid#1 , but I had forgotten to create the PR to your repo.

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