# When There’s No Precedent: Investigating Failures Nobody Has Seen Before

> Knowledge bases and ticket history only help when a problem has happened before. TicketResolve 6.0 starts with the harder case: it recognises a new failure, designs the experiments that tell the explanations apart, follows requests through your traces, and escalates rather than guess. A benchmark, judged by people, measures whether that works.

Source: https://www.ticketresolve.ai/blog/novel-issues-traces-benchmark · Published 2026-11-15 · TicketResolve AI

**Most support automation is retrieval: find the article, the earlier ticket or the known issue that matches. That works until a customer reports an error nobody has seen. "XK_SIG_MISMATCH" has no article. Retrieval returns the closest thing it can find, and the closest thing is often wrong.**

Here's what "the closest thing" did at a company that sells an e-signature API. A customer reported *"XK_SIG_MISMATCH when signing documents with more than 50 pages"*. The support AI retrieved the nearest article, *"Signature mismatch: check your webhook secret"*, and answered confidently. The customer rotated their webhook secret, which broke their production webhooks for an hour. The real cause was new: a page-count limit in a PDF library upgrade, never seen before.

The AI didn't fail because it was careless. It failed because it had no way to say *"I haven't seen this before"*.

**TicketResolve 6.0 starts from that case.**

## First, the basics

- **Retrieval** finds the most similar existing article or ticket.
- **Novel** means genuinely new: no precedent close enough.
- **A hypothesis** is a possible explanation. **The unknown condition** hypothesis means "none of the known explanations".
- **An experiment** (diagnostic) tests hypotheses; it's chosen for how much it would tell them apart.
- **A trace** follows one request across services; **a span** is one step. **The first failing span** is the deepest error whose children are fine.
- **Observed** means seen in the data; **inference** means reasoned from it.
- **A benchmark** is a fixed set of test cases with known answers. **Top-1 and top-3 diagnosis** measure whether the right cause was ranked first, or in the top three.
- **A 95% interval** shows the range a true rate is likely in; small samples give wide intervals.

**Why does this matter?** The most expensive mistakes happen when a system treats a new problem as an old one. Recognising novelty, testing explanations rather than guessing, and escalating when the evidence runs out, is what separates investigation from retrieval.

## The problem, in plain terms

1. **Retrieval always returns something**, even for new problems.
2. **"New" problems** are often old ones in new words, and vice versa.
3. **Engines name a cause** even when evidence doesn't support one.
4. **Traces are read by hand**, request by request.
5. **Nobody measures** whether the engine is right.

## Is this actually new?

**Every investigation now gets a novelty assessment:**
- **Known**: **the same error signature was investigated and decided before, or an open known issue matches.**
- **Probably an existing issue in different words**: **a human-resolved ticket or known issue reads as the same problem without sharing the error terms.**
- **Partly known**: **related precedent, but not this exact failure.**
- **Novel**: **no precedent close enough, and the error is new in your telemetry and tickets.**

**The second category matters as much as the fourth. Plenty of "new" problems are old ones with new wording.**

## Room for "none of the above"

**For a novel problem, the engine adds an explicit unknown condition hypothesis next to the usual explanations (regression, configuration, database, network, authentication and so on). If experiments keep contradicting the known explanations, the unknown condition grows. The investigation then stops and goes to a person with the full package. It never names a cause the evidence doesn't support, and "unknown condition" can never be confirmed as a root cause.**

## Experiments, chosen for what they'll tell you

New experiments join the existing ones:
- **Distributed trace analysis**: where each failing request first failed, and in which layer.
- **Failing vs successful API calls** of the same operation: **a 401 against a 200 points at credentials, not the network or the code.**
- **Regions**: **failing from Europe but working from the US points at a network path.**
- **Documentation**: what your own docs say about the error.
- **Source code**: where the error is raised, and whether that code changed recently.

**Each is ranked by how much it would tell apart, weighed against risk, cost, time and how repeatable its result is. Each is recorded in full: objective, preconditions, permissions, method, what we expected if the hypothesis were true and if not, the result, its sources, the probabilities before and after, and the recommended next step. A repeat that returns the same result is marked and never counted twice.**

## Following the request

**Trace analysis reads the spans you already send (OpenTelemetry, Datadog APM). Per failing request it finds the first failing span: the deepest error whose children are fine. It reports that span's layer (database, cache, queue, external integration, authentication, gateway or service), which callers the error propagated to, and where the time went. Across requests it looks for a common source, whether failures cascade or stay isolated, and whether they're intermittent or persistent. It also lists the parts of the request path that send no telemetry, because a failure there would be invisible. Everything is labelled either observed (the call tree) or inference (where it probably started). Timing alone is never treated as causation.**

## Measuring it, with people as the judges

**None of this matters unless it's measurably right. The Benchmark in Resolution intelligence holds cases built from your own investigations:**
- **the problem and the evidence available at the time;**
- **the root cause a person confirmed (or "ambiguous");**
- **the expected diagnostic steps, acceptable resolutions and validation criteria.**

**Someone who neither added the case nor confirmed its cause has to accept it, and cases can be kept blind so they never train the engine.**

A run reports:
- **top-1 and top-3 diagnosis;**
- **ranking quality;**
- **false root causes;**
- **escalation accuracy;**
- **novel-issue success;**
- **recommendation accuracy and safety;**
- **diagnostic precision and cost.**

**Every rate carries its sample size and a 95% interval, and results compare the 6.0 engine with the 5.x engine on the same cases.**

**On our built-in suite of eight constructed cases (six with a known cause, two ambiguous), the 6.0 engine ranks the right cause first in 6 of 6 against 5 of 6 for 5.x, and commits to no cause on either ambiguous case. That's a small, constructed sample, and the intervals say so (61–100%). The numbers that count are the ones from your own reviewed cases.**

## A worked example, start to finish

Here's the XK_SIG_MISMATCH ticket, with TicketResolve 6.0. The details are illustrative.

**09:00, novelty.** The investigation opens. Novelty assessment: **Novel**: no investigated signature, no known issue, no human-resolved ticket that reads as the same problem, and `XK_SIG_MISMATCH` is **new in telemetry** since Tuesday. The article about webhook secrets is **not** offered as an answer.

**09:01, hypotheses.** Configuration (webhook secret), regression, external integration, authentication, and **unknown condition**.

**09:02, first experiment: failing vs successful calls.** Same operation, `POST /sign`: failing calls all have **more than 50 pages**; successful ones have fewer. Same credentials and same webhook secret. **Configuration (secret)** and **authentication** drop sharply.

**09:04, trace analysis.** Per failing request, the **first failing span** is in the **PDF rendering service** (layer: service), not the gateway or authentication. The error propagated to the signing API and the webhook dispatcher. Failures are **persistent** (every request over 50 pages), with a **common source**. The trace shows the **PDF library** span with no child telemetry: listed as **a part of the path that sends no telemetry**. Labelled: call tree **observed**; *started in the PDF service* **inference**.

**09:06, source code.** The error is raised in `pdf/assemble.ts`; that code **changed on Tuesday**: a PDF library upgrade. **Regression** rises.

**09:08.** The evidence points at a regression in the PDF library upgrade for large documents. The engine doesn't name it confirmed; an engineer reads the experiments and **confirms** it. The customer is told: *"This is a new issue on our side with documents over 50 pages; please don't change your webhook settings. A fix is in progress."*

**If the experiments had contradicted every known explanation**, the unknown condition would have grown and the investigation would have gone to a person with the full package, without naming a cause.

**Later, the benchmark.** The case is added to the **Benchmark**. A reviewer who neither added it nor confirmed the cause **accepts** it, and keeps it **blind**. Next quarter's run includes it: top-1 diagnosis, novel-issue success, with sample size and interval.

## Five more real-world scenarios

### 1. An old problem in new words

**Situation.** A customer describes a known export bug in completely different words.

**How TR handles it.** Probably an existing issue in different words.

### 2. 401 vs 200

**Situation.** One customer's call fails with 401; another's identical call succeeds.

**How TR handles it.** Points at credentials, not the network or the code.

### 3. Europe only

**Situation.** Failures only from Europe.

**How TR handles it.** The regions experiment points at a network path.

### 4. A repeated experiment

**Situation.** The same experiment runs twice with the same result.

**How TR handles it.** It's marked and never counted twice.

### 5. A gap in telemetry

**Situation.** A third-party library sends no spans.

**How TR handles it.** It's listed as a part of the path with no telemetry.

## Before and after

**Before.** A confident answer from the nearest article, a customer who rotated their webhook secret for nothing, and a new bug treated as an old one.

**After.** Novel recognised, no article offered, experiments that ruled out the secret and pointed at a large-document regression, traces read to the first failing span, and a case added to a benchmark judged by people.

## How to tell it's working

- **Novel problems escalate** rather than get confident wrong answers.
- **Experiments narrow hypotheses** before anyone names a cause.
- **Benchmark runs show** top-1 accuracy with intervals on your own cases.

## Who it's for

- **Support and platform engineers** who investigate new failures.
- **Support leaders** who need to know when the engine is right.
- **Engineering** who receive novel problems with evidence.

## How it fits with the rest of TicketResolve

This is phase 1 of **TicketResolve 6.0**, followed by configuration drift, API contracts and blast radius (phase 2), the sandbox and remediation plans (phase 3), and cross-customer signals, case memory and reliability (phase 4). It extends the **root-cause engine** and **engine evaluation**.

## Mistakes to avoid

- **Treating retrieval** as investigation for new errors.
- **Confirming "unknown condition"**: it can't be confirmed.
- **Reading constructed benchmark numbers** as accuracy on your data.

## Do it in TicketResolve, step by step

**Where:** investigations (`/dashboard/investigate`) and Resolution intelligence → Benchmark (`/dashboard/resolution-intelligence`). **You'll need:** traces from OpenTelemetry or Datadog APM for trace analysis; reviewers for benchmark cases. **Full guides:** [TR Investigate: from a ticket to a verified fix](https://www.ticketresolve.ai/docs/guide/tr-investigate) and [How the investigation engine works](https://www.ticketresolve.ai/docs/integrations/investigation-engine).

1. **Open an investigation** and read its novelty assessment.
2. **Read the hypotheses**, including unknown condition for novel problems.
3. **Follow the experiments**: objective, method, expectation, result and probabilities before and after.
4. **Read trace analysis**: first failing span, layer, propagation, timing and gaps.
5. **Confirm a cause yourself**, or take the escalation package.
6. **Add cases to the Benchmark** and have someone independent accept them.
7. **Run the benchmark** and compare engines with intervals.

**How to check it worked:** a novel investigation shows the unknown condition hypothesis, and benchmark runs show rates with sample sizes and intervals.

## Frequently asked questions

**What's a novelty assessment?**
Known, probably an existing issue in different words, partly known, or novel.

**What does the engine do with a novel problem?**
Adds an unknown condition hypothesis and escalates if experiments contradict the known explanations.

**Can "unknown condition" be the root cause?**
No. It can never be confirmed as a root cause.

**How are experiments chosen?**
By how much they'd tell apart, weighed against risk, cost, time and repeatability.

**What does trace analysis find?**
The first failing span, its layer, propagation, timing, patterns and telemetry gaps.

**Is timing treated as cause?**
No. Never on its own.

**Who accepts benchmark cases?**
Someone who neither added the case nor confirmed its cause.

**Are the built-in numbers my accuracy?**
No. They're a small constructed sample; your own reviewed cases are what count.
