fix: prefer native worktree tool in description#376
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughDocumentation added to the worktree tool guidance specifying when to use the tool to create/start/enter/open/switch into a worktree and instructing not to call a worktree skill first when this tool directly satisfies the request. ChangesWorktree Tool Guidance
Estimated Code Review Effort🎯 1 (Trivial) | ⏱️ ~3 minutes Suggested labels
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Review rate limit: 8/10 reviews remaining, refill in 9 minutes and 29 seconds. Comment |
There was a problem hiding this comment.
Code Review
This pull request updates the documentation for the enter-worktree tool to clarify its role as the authoritative mechanism for session worktrees and to discourage the use of alternative shell-based commands. A review comment suggests refining the tool's description to avoid misleading the model into thinking it handles the migration of uncommitted changes.
Summary
Clarify the
enter-worktreetool description so PawWork's native worktree tool is the preferred path when users ask to create, enter, switch to, or move work into a worktree.Why
After #360 added native worktree session binding, models can still be pulled toward generic worktree skills or shell-based
git worktreeworkflows. The native tool is the only path that updates PawWork session execution context, so its tool description should make that routing explicit.Related Issue
Follow-up to #360. No separate issue filed.
Human Review Status
Pending. A human should make the final merge decision after reviewing the final diff and verification evidence.
Review Focus
Please review whether the wording is strong enough to steer tool selection without over-scoping beyond session worktree transitions.
Risk Notes
Low risk. This changes only the
enter-worktreetool description shown to models; it does not change execution behavior, permissions, Bash behavior, or skill routing.How To Verify
Screenshots or Recordings
Not applicable; no visible UI change.
Checklist
dev, and my PR title and commit messages use Conventional Commits in EnglishSummary by CodeRabbit