(type: TaskType)
| 88 | |
| 89 | // Get task ID prefix |
| 90 | function getTaskIdPrefix(type: TaskType): string { |
| 91 | return TASK_ID_PREFIXES[type] ?? 'x' |
| 92 | } |
| 93 | |
| 94 | // Case-insensitive-safe alphabet (digits + lowercase) for task IDs. |
| 95 | // 36^8 ≈ 2.8 trillion combinations, sufficient to resist brute-force symlink attacks. |