(prompt: string)
| 53 | |
| 54 | /** A short, stable key for a task (so we count distinct tasks). */ |
| 55 | export function taskKey(prompt: string): string { |
| 56 | return createHash('sha1').update((prompt || '').trim().toLowerCase()).digest('hex').slice(0, 10); |
| 57 | } |
| 58 | |
| 59 | export interface FailurePattern { |
| 60 | signature: string; |
no test coverage detected