session-memory: recurring-error signal + clustering (WP-0006 T02)

detect/signals.py sig_recurring_error emits one signal per distinct error
fingerprint per session (magnitude = in-session occurrences), so the same error
recurring across sessions/repos/flavors clusters into a candidate root-cause
problem pattern via the existing clusterer — cross-flavor flagged automatically.
3 new tests; suite 98/98 green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-06-07 13:01:29 +02:00
parent 2bd6aa3b41
commit e022c0f9d6
3 changed files with 78 additions and 1 deletions

View File

@@ -48,7 +48,7 @@ sessions with repeated and varied errors.
```task
id: AGENTIC-WP-0006-T02
status: todo
status: done
priority: high
state_hub_task_id: "1a41b6f5-48bc-4080-bd18-94f2186ef566"
```