← Files LLM & Agent Builder CopilotARCHIVED FILE

references/debugging-runbooks.md

860 Bytes · Nov 11, 2026 · 12:40 UTC

↓ Download file

See the change to this file →

# Fault isolation for tool-using agents
Triage from real evidence: expected/actual outcomes, versions, trace run ID, tool calls and external state, followed by a minimal reproduction. Classify defects at input parsing, context retrieval, planning/routing, tool schema, authorization, provider failure, state persistence, prompt injection, evaluation or UX layer.

Start with the first divergence, not the final response. Typical cases: duplicate write after timeout; manager prematurely concludes; tool returns an HTML error; handoff drops user context; stale memory overrides current authoritative data; tool invocation loops; structured output fails schema. Write a regression test that fails before the fix when possible, change the smallest component, rerun tests and compare baseline. Never claim production incident resolution from trace snippets alone.

SHA-256: 6604d1befc90b9b32b272bda0779f16ba403b19fc429c5fb9e9df5f77d232380