pub fn validate_thread_name(name: &str) -> Result<ThreadId, ThreadPlanError>Expand description
Validate a thread name against the shared safe-slug rule.
This is the single creation-boundary check used by start and create. It
rejects empty names, shell metacharacters, .. segments, and leading /
or - (see repo::validate_thread_id).