CCAR-P Learning Guide
Domain 7 · Lesson 7.3 · 7 min read

Debugging and Operational Support

Exam taskSupport debugging and operational issue resolution

Support teams running Claude systems by connecting symptoms to architectural causes, and leave behind runbooks and escalation paths so the team can resolve the familiar problems without you.

What you need to know

When a Claude-powered system misbehaves, the architect is often the person who knows why. The fast response is to fix it yourself. The lasting response is to fix it with the team and leave behind what they need to fix the next one alone.

From symptom to cause

Most operational symptoms trace back to a small set of architectural causes. Writing the mapping down is the start of a runbook.

SymptomLikely causesFirst action
Quality declined gradually with no code changeModel version change, prompt change, retrieval drift as content grew or changedRun the evaluation set; check model, prompt and corpus change history
Latency spikedContext grew, a tool slowed down, the cache stopped hittingRead traces for the slowest step; check tokens per request and cache hit rate
Intermittent tool failuresExpired credentials, rate limits, unhandled error pathsTrace one failed call end to end; check auth and limits for that tool
Cost rose without more usageLarger tier in use, cache regression, growing context, retry loopsCompare model mix, cache hits and tokens per request with the budget model
Requests rejected or outputs cut offContext too large; output limit too lowCheck the error type and stop reasons; count tokens
Agent loops or never finishesMissing stopping rule, a tool that keeps failing quietlyRead the trace; check turn limits and tool error handling

Runbooks

A runbook entry records: the symptom as the on-call engineer will see it, how to confirm it, the likely causes in order, the first action for each, how to verify the fix, and when to escalate. Good entries are written after real incidents, tested by someone other than the author, and updated when the system changes.

Escalation paths

People need to know where their responsibility ends. An escalation path names who handles what (first-line on-call, the team owning the AI service, the architect, the platform or vendor) and the conditions for moving up: severity, duration, customer impact, safety or compliance implications. Without it, issues either sit with someone who cannot fix them or go straight to the busiest person.

Support Claude Code users too

Engineering teams using Claude Code have their own recurring issues: configuration not loading where expected, permissions blocking a needed command, an MCP server failing to connect, context filling up in long sessions. The same approach applies: a short internal troubleshooting page, champions as first line, and a clear route to the platform team.

In the exam

Support questions describe a symptom and ask for the likely cause, the first action, or how to stop the same problem recurring. Use the symptom-to-cause mapping, start with evidence (traces, change history, evaluation runs), and prefer answers that leave behind a runbook entry and a clear escalation path.

Check your understanding

Question 1

An assistant's answer quality has slowly declined over two months. There were no code changes. What is the best first action?

Show answer

Answer: D. Gradual decline without code changes points to model, prompt or retrieval drift. Measuring against the evaluation set and checking each history finds which.

Question 2 · select 2

Costs rose 50% this month with flat usage. Which TWO checks come first?

Show answer

Answer: A, D. Rising cost without rising usage most often comes from cache regressions or a shift to more expensive models. Both show in usage and cost data.

Question 3

What makes a team more self-sufficient after an incident the architect helped resolve?

Show answer

Answer: C. A runbook entry and a clear escalation path turn one fix into a repeatable capability for the team.

Apply it: Write Corvane's assistant runbook

Exercise · about 20 minCase: Corvane Home

Corvane's assistant is live, and the e-commerce engineering on-call rota will support it. Write the start of their runbook.

  1. Write four runbook entries for symptoms likely in this system, each with confirmation steps, likely causes, first action, verification and escalation condition.
    Done when: at least one entry covers a slow quality decline and one a cost rise.
  2. Write the escalation path: levels, who, and when to move up.
  3. Name the routine checks that would catch problems before they become incidents.
Check your work
Show model answer

1. Runbook entries

SymptomConfirmLikely causesFirst actionVerifyEscalate when
Product answers getting worse over weeksSampled grading trend; escalations on product contactsHelp-centre or manual changes not re-indexed well; prompt or model changeCheck content publish log and re-index status; run retrieval recall setRecall and graded accuracy back to baselineNot restored in 2 days, or a change of approach is needed
Chat latency over 3 sGateway 95th percentile; tracesCache misses, slow Order Management System calls, larger contextsRead slowest spans; check cache hit rate and OMS latency95th percentile under 3 s for an hourSLA breached for two hours
Cost per contact up 30%Usage and cost data by routeCache regression, model mix change, retry loops, longer conversationsCompare cache hits, model mix and tokens per contact with last monthCost per contact back within budget modelProjected month over budget
Order-status tool errorsTool error rate; one traced failureExpired credentials, OMS rate limits, API changeTrace one failure; check credential expiry and limitsError rate back to baselineOMS-side fault, or over 15 minutes of customer impact

2. Escalation path. Level 1: on-call engineer, using the runbook. Level 2: the AI service team lead, for anything not covered or not resolved within the runbook's limits. Level 3: the architect, for design-level causes or changes to agreed thresholds. Immediately to security and the support director: any card data in model inputs, any cross-customer data exposure.

3. Routine checks. Weekly retrieval-recall run; weekly cost per contact against the budget model; monthly sampled quality review; a check after every help-centre restructuring; a model-version and deprecation review each quarter.

Sources

Go hands-on optional, needs a Claude API key

Runnable notebooks from Anthropic's Claude Cookbook that build the patterns in this lesson.