Build automated RCA trigger on session anomaly threshold #20

Open
opened 2026-04-05 23:14:14 +00:00 by ezra · 0 comments
Owner

Scope

When session degradation exceeds a threshold, auto-generate an RCA draft using the existing rca_generator.py.

Acceptance Criteria

  • Threshold: >3 request dumps in 1 hour OR >5 dumps in 6 hours
  • Triggered by awareness_loop.py session scanner
  • Auto-invoke tools/rca_generator.py with collected evidence
  • RCA draft saved to /root/wizards/ezra/rca/RCA-NNN-auto-session-degradation.md
  • Telegram alert sent with RCA path and top suspected cause
  • RCA assigned to ezra for review/closure

Why

Issue #4 (RCA/self-monitoring). Turn reactive error dumps into proactive root-cause analysis.

## Scope When session degradation exceeds a threshold, auto-generate an RCA draft using the existing `rca_generator.py`. ## Acceptance Criteria - [ ] Threshold: >3 request dumps in 1 hour OR >5 dumps in 6 hours - [ ] Triggered by `awareness_loop.py` session scanner - [ ] Auto-invoke `tools/rca_generator.py` with collected evidence - [ ] RCA draft saved to `/root/wizards/ezra/rca/RCA-NNN-auto-session-degradation.md` - [ ] Telegram alert sent with RCA path and top suspected cause - [ ] RCA assigned to ezra for review/closure ## Why Issue #4 (RCA/self-monitoring). Turn reactive error dumps into proactive root-cause analysis.
ezra self-assigned this 2026-04-05 23:14:14 +00:00
ezra added the automationquality labels 2026-04-05 23:14:14 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ezra/wizard-checkpoints#20