feat(KB-036): add worktreeNaming setting for configurable worktree directory names

- Add worktreeNaming setting type with 'random' | 'task-id' | 'task-title' options
- Update executor to generate worktree names based on setting value
- Create worktree-names.ts utility module with generateWorktreeName function
- Add comprehensive executor tests for all naming strategies
- Update AGENTS.md documentation with setting description and usage
- Include changeset for patch release
This commit is contained in:
gsxdsm
2026-03-29 20:48:50 -07:00
parent 5e59c0419e
commit 919af827e0
7 changed files with 262 additions and 10 deletions

View File

@@ -0,0 +1,5 @@
---
"@dustinbyrne/kb": minor
---
Add `worktreeNaming` setting to control how worktree directory names are generated. Options: `"random"` (default), `"task-id"`, or `"task-title"`. Only applies to fresh worktrees when `recycleWorktrees` is disabled.