mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 12:42:38 +00:00
4749c21d4e
ReportAgentErrorFunction now injects ISessionRepository and, on a SessionAgeEmergencyBreak report, writes an agent_emergency_break EnrollmentEvent into the session stream (Sequence one past the last event, idempotent, best-effort — never turns the always-200 emergency channel into a retry loop). This is what makes the agent's otherwise-silent 48h break visible in the timeline and lets the timeout classifier see it. Pure BuildAgentEmergencyBreakEvent helper (Warning, non-terminal) + tests. Functions.Tests: 2685 pass.