pub fn validate_slug(slug: &str) -> Result<(), AgentError>Expand description
Validate a slug for use in worktree paths and branch names.
Rules:
- Max 64 characters total
- Each
/-separated segment must contain only[a-zA-Z0-9._-] - Segments must not be
.or.. - Segments must not be empty