Does the evidence support the diagnosis?
Check evidence completeness, taxonomy coverage, confidence, and conflicts.
Project note · 2025–26
TB2 Diagnostics
Turning long agent-failure traces into evidence-backed error types and repair priorities, reducing the cost of manual review.
Why I started
The real question
How can traces become reviewable, aggregatable diagnoses that guide repair—without letting a model freely invent causes?
Choices I made
Categories need to come from observed failures; model-invented labels drift and make batches difficult to compare.
An evidence chain keeps diagnoses reviewable and prevents explanations that sound plausible but are unsupported by the trace.
Automation is best used for triage and consistent formatting; human fallback controls misclassification risk and expands taxonomy boundaries.
How the system moves
Collect commands, logs, errors, timing, and model decisions.
Separate the final symptom, upstream anomaly, and root cause.
Return L1/L2 label, cited evidence, explanation, and confidence.
Check evidence completeness, taxonomy coverage, confidence, and conflicts.
Use it for batch statistics, issue clustering, and repair ranking.
Review the original trace and confirm or correct the root cause.
Add uncovered cases to the next taxonomy iteration.
Prioritize by frequency and impact, rerun the task after repair, and feed the new trace back into diagnosis.
Business meaningThe business value of diagnosis is removing guesswork from long traces: confident cases move quickly, disputed cases go to people, and every result points to the next repair cycle.
What I made
Locate turning points in traces and separate visible errors from root causes.
Require a fixed taxonomy and evidence format with cause, citation, and confidence.
Sample high-confidence outputs and manually review conflicts or uncovered cases.
What the work left behind
Results come from a specific agent and task set. The taxonomy still needs testing across new models, toolchains, and out-of-distribution failures.
Connect diagnoses to testable interventions, then measure whether accurate diagnosis actually improves task success.