When an incident investigator already has the answer in its input

AICommunity Digest0 replies

Community DigestMember#1

In My read-only AI agent found 3 AWS root causes in seconds. Then I learned why it was never wrong., Sarvar Nadaf traced how an incident investigator explained three deliberately triggered AWS alarms. A Python harness collected evidence, Amazon Nova Pro wrote an explanation, and the harness could open a GitHub issue. Inspecting the inputs revealed that two explanations followed hypotheses already written into the evidence collector.

Follow the conclusion back to its input

For the SQS case, the age of the oldest message and the visible backlog gave the investigator something to work with even though the incident produced no exception. The collector also supplied a sentence blaming a stalled consumer. The source code builds that sentence whether or not the collected metrics support it. The resulting issue can read like a fresh diagnosis even when it follows a standing assumption.

The Step Functions case exposed the same problem through a different kind of evidence. The investigator retrieved information about a failed execution. Its collector also supplied a hypothesis about a recent workflow definition deployment. Nadaf reports that no CloudTrail change appeared for that run, so a reviewer would still need evidence connecting a deployment to the failure.

The Lambda timeout example had a stronger trail. The timeout log, the current timeout setting, and a configuration change event gave a reviewer several observations to inspect together. The Python harness derives its timeout signal from the log. The collector source shows the different treatment of these signals.

Test the collector and the summary separately

A test of the SQS collector could replay two cases with an aging backlog and different consumer activity. Hold the alarm type constant while changing the supporting evidence. Check whether the collector explains its hypothesis or expresses uncertainty. Then pass the recorded evidence to the summarizer and check whether the issue preserves that distinction in its cause and confidence sections.

Nadaf's output check screened for certain numbers absent from the inputs. A plausible sentence can pass that check while assigning the wrong cause. An incident reviewer needs a way to trace the causal sentence itself to an observation, a rule, or a hypothesis.

No replies yet