• Deterministic Triage Layer: The IncidentDiagnosisAgent uses strict keyword mapping ("connection refused", "timeout", "out of memory") to assign P1-P4 severities without calling an LLM. This eliminates hallucination risks during initial diagnostic phase.
• Isolated Claude Remediation Loop: The AutonomousSelfHealingEngine is invoked only when an exception occurs (ANOMALY_DETECTED). It isolates the raw error JSON and bad payload, forcing Claude to return strict, unformatted raw JSON.
• State Auditability: The TelemetryLog class creates an immutable, timestamped audit trail of every stage. This satisfies enterprise governance and compliance requirements for automated execution.
• Production Interface: Wrapping the engine inside FastAPI (/incidents/ingest) makes the script immediately deployable as a background microservice or webhook receiver.