export function isNameConflictError(msg: string): boolean { return /\b(409|conflict|already exists|unique constraint)\b/i.test(msg); }