pub fn normalize_task_name(name: &str) -> StringExpand description
Normalizes a task/commit name for near-duplicate and ignore-list comparison.
Trims whitespace, collapses internal spaces, lowercases, and strips
trailing punctuation so variants like "New commit", "New commit.",
and " New commit" map to the same key.