RCA Agent polls the incident_management DB for tickets in ESCALATED status. For each ticket it picks up, it updates the status to INVESTIGATING, then begins autonomous analysis using the enriched alert context, RAG findings, and available data sources (logs, metrics, deployment history, service dependencies).
- Poll DB for ESCALATED tickets — update to INVESTIGATING on pickup
- Query RAG for previous occurrences of the same alert signature
- Investigate logs, metrics, and service dependencies autonomously
- Correlate with recent deployments, config changes, or dependency failures
- Produce structured finding: root cause, evidence, confidence score
- Recommend specific remediation actions (Jenkins job, config change, rollback)
- Write findings back to RAG — future incidents with same pattern benefit immediately
- Update ticket with findings and set status to RCA_COMPLETE
Ticket updated → status: RCA_COMPLETE + findings attached