Skip to content
CCAR-F Prep

All five domains

Decision tables

Each table is one recurring choice: the signal in the stem, the answer it points to, and the discriminator that rules out the runner-up. Where the exam answer and today's product differ, the row gives the exam answer and says so; the detail is in the divergence log.

1. Prompt, or mechanism?

The test is compliance versus judgement, not "prompts are weak". Lessons: 1.4, 1.5, 2.3.

Signal in the stemChooseDiscriminator
"must", "always", "before any", "guaranteed", "100%"Hook or programmatic prerequisite gateA deterministic requirement needs a deterministic mechanism
One failure has a financial, identity, security or compliance costPreToolUse hook / gateThe cost of a single failure decides, not how often it happens
A measured skip rate that must reach zero (sample Q1: 12%)Programmatic prerequisite blocking the downstream tools until the check has passedStronger prompts and few-shot examples only lower a rate
"prefer", "usually", "when appropriate"; formatting, style, calibrationPrompt: explicit criteria + few-shot examplesJudgement, not compliance (sample Q3's answer is a prompt fix)
Wrong tool picked between similar toolsRewrite the tool descriptionsSelection is a description problem (sample Q2)
Right tools, wrong orderGate the later tool on the earlier resultOrdering is enforcement; a routing classifier fixes availability, not order (Q1 option D)
One specific tool must be called in this responseForced tool_choice ({"type": "tool", "name": "get_customer"}), then release to autoApplies to one request only (product now differs, see the divergence log)
The rule must hold for the whole sessionHookForced tool_choice is not a session-wide ordering guarantee; left forced every turn it loops
Whether the agent has a tool at allTool distribution (tools, disallowedTools)Availability, not behaviour
Amount above the autonomous limitHook deny whose reason names the escalation pathNever clamp the value silently with updatedInput
Block an action vs reshape its resultPreToolUse (before) vs PostToolUse with updatedToolOutput (after)Blocking in PostToolUse is always wrong: the action already ran
Guarantee in Claude Code itselfHook or settings.jsonCLAUDE.md is guidance, not enforcement

2. Which decomposition pattern?

Classifying question: can the subtasks be listed before the work starts? Lessons: 1.2, 1.6, 1.3.

Signal in the stemChooseDiscriminator
Subtasks known up front; the same aspects checked per itemPrompt chaining (fixed sequential pipeline)Predictable structure; gates can sit between steps
"legacy", "unfamiliar", "investigate", open-ended scopeDynamic adaptive decomposition (orchestrator-workers)Discoveries must be able to change the remaining plan
Listable, but findings may change the approachHybrid: plan adaptively, then execute as a chainA plan computed once and never revised is a fixed pipeline, not adaptive
Many files in one pass; uneven depth, contradictionsPer-file passes + a cross-file integration passAttention dilution; a bigger model or window does not fix it
Distinct request categories handled differentlyRoutingClassify, then dispatch
Fixed steps per document, high volume, nothing waitingPrompt chaining, with each stage run as a Message BatchFixed structure suits a chain; batch fits only if the deadline allows up to 24 h per stage (4.5)
Subagents all succeeded, report misses whole categoriesFix the coordinator's decompositionThe coordinator's logged subtasks indict it (sample Q7)
Subagents duplicate work or leave gapsBrief each: objective, output format, source guidance, boundariesVague briefs, not too few subagents
Independent subtasksSeveral Task calls in one coordinator responseNot across separate turns (product now differs, see the divergence log)
Coordinator does the work itselfCheck allowedTools includes Task, then the subagent description, then the promptThe guide's rule (product now differs, see the divergence log)

3. Plan mode or direct execution?

Deciding question: is the approach already determined? Not difficulty, stakes or file count. Lesson: 3.4.

Task in the stemChooseDiscriminator
Architectural decision, several valid approaches (sample Q5: monolith to microservices)Plan modeThe complexity is stated, so "start direct and switch if it gets hard" is wrong
Scope unknown until exploredPlan modeExplore and design before committing to changes
Single-file fix with a clear stack traceDirect executionApproach already determined
Wide but mechanical (rename across 30 files)Direct executionMany files, one obvious approach
One file, two defensible designsPlan modeFile count is not the criterion
Plan the migration, then apply itPlan, approve, then direct"Stay in plan mode throughout" is wrong
Verbose discovery is filling the contextExplore subagentPlan mode protects the codebase; Explore protects the context window
Unclear requirements, unfamiliar domainInterview pattern first, then planClaude asks the questions before designing (3.5)

4. Which context mechanism?

Two questions: who gets it, and when does it load? Lessons: 3.1, 3.2, 3.3.

NeedChooseDiscriminator
Universal standard, every sessionProject CLAUDE.mdAlways loaded
Convention for a file type scattered across directories (co-located tests).claude/rules/ file with a paths: globMatches by path, not by directory (sample Q6)
Convention for one subtree onlyDirectory CLAUDE.md or a path-scoped ruleA directory file is bound to its directory
Procedure run on demandSkill (or command)On demand, not always-on guidance
Skill produces verbose or exploratory outputSkill with context: forkOutput stays out of the main conversation
Guidelines-only skill, or one that needs the conversationNo context: forkA fork never sees the conversation
Must hold every timeHookDeterministic
Shrink what loads into contextRules with paths:@import and rules without paths: load at launch
Organise a large CLAUDE.md for editing@import or .claude/rules/Organises; saves no context
Check what actually loaded/memoryExam answer (product now differs, see the divergence log)
Convention must apply automatically to matching filesPath rule, not a skillA skill relies on invocation (Q6 option C)

5. Which scope?

Lessons: 3.1, 3.2, 2.4.

QuestionChooseDiscriminator
Every teammate gets it on clone or pullProject: .claude/commands/, .claude/skills/, .claude/rules/, CLAUDE.md, .mcp.json, .claude/settings.jsonCommitted to the repository (sample Q4)
Personal, all my projectsUser: ~/.claude/ files; MCP user scope in ~/.claude.jsonNever shared
Personal, this project only, uncommittedCLAUDE.local.md, .claude/settings.local.json; MCP local scope (in ~/.claude.json)MCP "local" is not settings.local.json
Organisation-wide, cannot be excludedManaged policyAbove every other level
Personal variant of a team skillPersonal scope, different nameSame name silently shadows the team's (personal beats project)
Team MCP server that needs a token.mcp.json with ${VAR} expansion, committedThe token stays in each developer's environment
New teammate gets different behaviour after cloningMove conventions from someone's ~/.claude/CLAUDE.md to project levelUser-level files never travel
.claude/config.json with a commands arrayNot an optionDoes not exist

6. Which error response?

Read isRetryable for whether to try again at all and errorCategory for what trying again needs. Lessons: 2.2, 5.3.

CategoryisRetryableAgent actionDiscriminator
Transient (timeout, service unavailable)trueRetry locally with backoff; propagate a structured error if still unresolvedResend unchanged once the service recovers
Validation (bad format, missing field)true in the lessons; the guide sets no valueFix the input, then call againNever resend unchanged; answer by behaviour
Business (policy violation)falseExplain in customer terms; take the permitted alternative, often escalationA rule refuses every time
Permission (access denied)falsePropagate at once, naming the resource; escalate or use other credentialsA different principal, not a different wording
Valid empty resultNot an error (isError: false, zero results)Report "no matches"Retrying it wastes calls and triggers false escalation
Unresolved subagent failure—Return failure type, what was attempted, partial results, alternatives (sample Q8)The coordinator's next action is derivable from the error alone
Business refusal raised as a protocol error—Return a tool execution error (isError: true) insteadClients may never pass protocol errors to the model

7. Escalate, resolve, or ask?

Lessons: 5.2, 1.4.

SituationChooseDiscriminator
Customer asks for a human, in any phrasing, at any pointEscalate immediately, no investigation firstAn explicit request is a trigger on its own
Frustrated, issue covered by policyAcknowledge, offer the resolution once; escalate only if they then ask for a personSentiment is not a trigger
Policy silent or conflictingEscalateRefusing invents policy as much as granting does
Customer asks for an exceptionEscalateEven when policy already says no
Policy says no and the customer acceptsExplain the outcomeNo exception requested
Complex but covered, tools availableResolveComplexity is not a trigger (sample Q3's failure)
No meaningful progress after a genuine attemptEscalateInability to progress is a trigger
Three concerns, one stuckResolve two; escalate only the stuck one with a structured handoffNot the whole conversation
Amount above the autonomous limitGate blocks; escalate with a structured handoffMoney is a gate, not a prompt judgement
Several customer records matchAsk for an identifier that splits the candidates (order number, postcode)Never pick by recency or activity; never read the candidates out
Unsure of a fact the customer can supplyAsk a clarifying questionFacts → ask; policy → escalate
Handoff contentsCustomer ID, root cause, refund amount, recommended actionThe human has no transcript access
Poor escalation calibrationExplicit criteria + few-shot examples in the system promptBefore classifiers, sentiment or self-reported confidence

8. Which prompting technique?

Lessons: 4.1, 4.2, 4.3, 4.4, 3.5.

SymptomChooseNot this
Formats vary despite detailed instructionsFew-shot showing the exact output shapeMore instructions; lower temperature
Ambiguous cases handled inconsistently2-4 examples of the ambiguous cases, each with reasoningConfidence threshold; majority voting
Handles the constructs in its examples but not novel onesAdd the reasoning to the existing examplesOne more example per construct
A field comes back null on some layouts onlyFew-shot across those structures, plus nullable where the data can truly be absentBigger context window
False positives on a pattern used deliberatelyContrast pairs of acceptable and genuine casesConfidence filtering; dropping the category
"Be conservative" / "only high-confidence findings"Explicit report and skip criteriaVague caution
Severity labels driftSeverity criteria with a concrete code example per levelProse severity definitions
One category's false positives sink trust in allTemporarily disable that category, refine, re-enableKeeping every category live while iterating
Malformed or prose output where JSON is neededtool_use with a JSON schema; tool_choice any or forced (product now differs, see the divergence log)More examples; prompt-only JSON
Plausible values for fields the source lacksNullable fields + a prompt line saying null is correctEvery field required; a tool_choice change
Labels outside the allowed setA tool enum with "other" + detail or "unclear"More examples of each label
Line items do not sum to the totalExtract calculated_total and stated_total; retry with the specific errorSchema alone (it catches syntax, not semantics)
Information absent from the sourceNull or human reviewRetrying
Required step skipped in some casesProgrammatic enforcementFew-shot examples
Prose spec interpreted inconsistently (Claude Code)2-3 concrete input/output examplesRewriting the prose longer
Complex transform, many edge casesTest-driven iteration: paste the failuresDescribing the failures

9. Synchronous or batch?

Deciding question: is anything waiting on the result? Lesson: 4.5.

SignalChooseDiscriminator
A person or pipeline is blocked (pre-merge check)SynchronousBatch has no latency SLA (sample Q11)
Overnight, weekly, backlogMessage Batches (50% cheaper, up to 24 h)Latency-tolerant
Needs your own tool executed mid-requestSynchronousNo multi-turn tool calling inside a batch request
SLA of 24 h or lessSynchronousNo submission frequency gets a guarantee below the 24 h window
Rolling SLASubmission gap + 24 h + downstream ≤ SLA30 h SLA → every 4 h in the guide's example (6 h at most with nothing downstream)
Fixed deadlineLatest submission = deadline − 24 h − downstreamLead time is not the SLA
"Results come back out of order"Correlate by custom_idNot a reason to avoid batch (Q11 option C)
"Batch with a timeout fallback to real-time"RejectUnnecessary complexity (Q11 option D)
Some requests failedResubmit only the failed custom_ids with the fix (oversized → chunk, with derived ids)Never re-run the whole batch or resubmit unchanged
Before a large runRefine the prompt on a representative sample, synchronouslyEach batch round can take up to 24 h
  • processing_status: in_progress → canceling (only after a cancel) → ended. Result types: succeeded, errored, canceled, expired; only succeeded is billed.

10. Which review architecture?

Lessons: 4.6, 3.6, 4.4.

ProblemChooseDiscriminator
Generator missed its own bugsIndependent instance without the generating reasoningSame-session review confirms rather than challenges
14 files, uneven and contradictory feedbackPer-file passes + integration pass (sample Q12)Attention, not capacity
"Bigger context window"RejectLarger windows do not fix attention quality
"Flag only what 2 of 3 runs agree on"RejectSuppresses intermittently caught real bugs
Duplicate comments on every pushPrior findings in context + instruction to report only new or unaddressed issuesBoth halves are needed
Generated tests duplicate existing onesExisting test files in contextThe model cannot avoid what it cannot see
Too many findings for reviewersRoute by severity × confidence, threshold calibrated on labelled dataRaw self-reported confidence is uncalibrated
Which findings are being dismisseddetected_pattern field; dismissal rate per patternNot every dismissal is a false positive
Output must feed a PR-comment bot-p with --output-format json + --json-schemaRegex-parsing prose breaks

11. Session continuation

The test is whether the saved history is still mostly true, not how many files changed or how recently. Lessons: 1.7, 5.4.

StateChooseDiscriminator
Prior context still validResume (--resume with the session name)Nothing to correct
Prior context mostly valid; the changes are known and can be listedResume and name the changed files for targeted re-analysisRe-exploring 50 files when 3 changed wastes the session budget
Tool results stale as a body (heavy churn, rebase, long gap)Fresh session + injected structured summaryThe guide calls this "more reliable"; old reads sit unmarked beside new ones
Two approaches to compare from one analysisfork_session once per approachBaseline paid once; branches cannot see each other
Stale context, and "fork it" is offeredRejectA fork inherits the same stale history
Most recent conversation in this directory--continueNo ID tracking; not for a specific older session
Long multi-agent run crashedManifest: skip completed phases, re-delegate pending items, inject outputs + scratchpad path--resume restores one conversation, not many agents' state
Specifics fading mid-sessionWrite the scratchpad, then /compactRestarting without saving state loses the findings
Need to undo file changesCheckpointing or version controlSessions persist conversation only
  • Summary to inject: established findings, files changed since, open questions, next step — conclusions, not raw tool output.

12. Provenance and conflicting sources

Lessons: 5.6, 5.3, 1.3.

SituationChooseDiscriminator
Findings passed between agentsStructured claim-source records: claim, source URL, document name, excerpt, publication dateProse attribution dies at synthesis
Two credible sources disagreeAnnotate both values with their sourcesNever pick, average, or prefer the newer or bigger one
Different figures from different yearsCapture publication and collection dates; report a trend if that explains itDifferent numbers are not automatically a contradiction
Analysis agent finds a conflictReport both; the coordinator decides before synthesisA "recommended value" from analysis is still analysis resolving it
A source or topic could not be retrievedCoverage-gap annotation with an explicit no-claimNot a blanket caveat, not an estimate
Citations lost in the final reportPreserve claim-source mappings through synthesisContent and metadata as separate fields
Rendering the reportFinancial data → tables; news → prose; technical findings → structured listsNever one format for everything
Report structureWell-established · contested · coverage gapsSource hedges kept ("suggests" never becomes "shows")

13. Scratchpad, structured findings, or manifest?

They are not three rival files: structured findings is a format, scratchpads and state exports can use it, and the manifest points to them. Lessons: 5.4, 5.1, 5.6.

Scratchpad fileStructured findingsManifest
What it isNotes an agent keeps while it works: exact names, file:lineA format: findings as machine-readable fields, not proseIndex of the run's state: per-phase status, outputs, pending items, what failed last
Question it answers"What have I found so far?""What exactly was found, in a form code can process?""Where are we, and what is left?"
Problem it solvesContext degradation; survives /compactReliable parsing, aggregation, attributionCrash recovery across agents
Who reads itThe same agent, read back before each stepThe coordinator, the next agent, CIThe coordinator, on resume
When it is writtenAfter each discoveryWhenever an agent returns resultsAfter every significant step — not per phase, at shutdown or at a context threshold
Failure modeWritten but never read back: a log, not a mitigationProse blobs that lose source and dateWritten at phase boundaries: a crash loses the whole phase

14. Degradation, dilution, or lost in the middle?

All three produce "inconsistent" output; the discriminator is the axis. Lessons: 5.4, 1.6, 4.6, 5.1.

Signal in the stemDiagnosisFix
Long session; the problem appears lateContext degradationScratchpad + read-back, subagent delegation, /compact after persisting
"Typical patterns" instead of the specific classes found earlierContext degradation (the guide's named tell)Scratchpad + read-back
Vague or slightly wrong identifiers; re-reading files already readContext degradationScratchpad with exact names and file:line
Verbose discovery filling the main contextContext degradation (the cause)Explore subagent; trim tool output before it enters history
One pass over many files; detailed on some, superficial on othersAttention dilutionPer-file passes + integration pass
Same pattern flagged in one file, approved in another, same outputAttention dilutionPer-file passes + integration pass
A key fact in the middle of one long input is ignoredLost in the middleKey-findings summary first, headed sections, task at the end
Context degradationAttention dilutionLost in the middle
AxisTime: accumulates over turnsWidth: too many targets in one passPosition inside one input
Inconsistency is betweenEarlier and later answersItems within one answerThe middle and the ends
Wrong fixBigger context window (buries specifics deeper)Bigger context window (capacity is not attention)"Pay attention to everything" in the prompt
Quick testDid it work earlier in the session?Is the inconsistency inside one response?Was the missed fact mid-input?

15. Which built-in tool?

Lesson: 2.5.

NeedChooseNot this
Find callers, imports, a string in codeGrep (contents)Glob
Find files by name pattern (**/*.test.tsx)Glob (paths)Grep
Targeted change to a fileEdit with a unique old_stringRead + Write by default
Edit's anchor text is not uniqueWiden the anchor where one is on offer; otherwise Read + Write (the guide's fallback)Retrying the same Edit
Trace a deprecated functionGrep callers → Glob sibling tests → Grep again for wrappers and re-exportsReading every file up front
Agent prefers Grep over an MCP search toolImprove the MCP tool's descriptionRenaming it to mimic a built-in
Agent needs to see what exists (catalogue, schema)MCP resource (content), not a tool (action)Many exploratory tool calls