# How does root cause analysis tell a real cause from something that was always there?

It compares the flagged traces with comparison traces, and a feature as common in the comparison set as among the flagged ones is not a cause. The comparison set is whatever the finding itself recorded. For a duration or cost drift finding, that is the finding's baseline rows. For a tool error, frustration, or groundedness finding, it is the unflagged rows from the same measurement. Before the agent starts, Tessary computes a checks file that sets flagged rows against comparison rows on every field where they differ. The agent never fetches normal traffic to build a comparison of its own.

The limit: a malformed output or secret leak finding has no comparison side, so those are investigated from the flagged traces alone. For the general method, see [what evidence a regression investigation needs](/answers/cause-attribution/what-evidence-a-regression-investigation-needs).

---

Published: 2026-10-28

Sources:
- Tessary docs, Root-Cause Analysis: https://docs.tessary.ai/concepts/root-cause-analysis (fetched 2026-10-28)
- Tessary commit 7de93b3, "Give RCA the evidence, checks and coverage to find causes": https://github.com/tessaryai/tessary/commit/7de93b30f6e8a35c410c6c3d1bbcd84acee702d3 (fetched 2026-10-28)

Source: https://tessary.ai/answers/tessary-rca/how-does-rca-tell-a-real-cause-from-something-that-was-always-there
More on Tessary RCA: https://tessary.ai/answers/tessary-rca
From Tessary, agent reliability for AI agents in production: https://tessary.ai
