Check --branch and --path globs before creating an agent
Commit
Stefan Hauboldyesterday
Each glob is trimmed, and an empty one, more than 32, one over 256 bytes, or one starting or ending with / is refused before anything is resolved, as the API would refuse it.
Co-Authored-By: Claude Opus 5.5 noreply@anthropic.com
Entire-Checkpoint: 01M6KHRBEXPDKAN0ZYBG81CFZ8