Claude Code v2.1.81 ·
Worktree Name Validation
EntryKind: in v2.1.81,
ChangesSection of the release
What
Worktree names are now validated with strict rules for allowed characters and length.
Details
- Names must contain only letters, digits, dots, underscores, and dashes
- Maximum length of 64 characters
- Cannot be empty,
".", or ".." - Parameter description updated: "Optional name for the worktree (letters, digits, dots, underscores, dashes only; max 64 chars)."
Evidence
Worktree name validation (search for "Invalid worktree name" and "must contain only letters, digits")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.81 →