Summary
Upgrade the incident memory system to store richer incident records that include observability evidence (trace IDs, error patterns, metric anomalies), not just text descriptions. Improve similarity matching to use these structured fields.
Current State
TF-IDF text similarity on title + root_cause + resolution text fields stored in JSON.
Desired State
- Store structured fields: affected_services, error_types, metric_anomalies, trace_patterns
- Match on both text similarity AND structural overlap (same service + same error type = high match)
- Weight recent incidents higher than old ones
Acceptance Criteria
Summary
Upgrade the incident memory system to store richer incident records that include observability evidence (trace IDs, error patterns, metric anomalies), not just text descriptions. Improve similarity matching to use these structured fields.
Current State
TF-IDF text similarity on title + root_cause + resolution text fields stored in JSON.
Desired State
Acceptance Criteria
IncidentRecordmodel with structured observability fields