CCAR-F practice › Agentic Architecture & Orchestration · Question 25 of 105
Agentic Architecture & Orchestration
After an agent has analyzed a payments service, the team wants to compare two refactoring approaches: extracting a ledger module versus introducing an event queue. Tried one after the other in the same session, the second attempt keeps referencing changes and conclusions from the first. What is the best approach?
Show answer and explanation
Answer: B — Use fork_session from the analyzed baseline to create two independent branches, one for each approach
fork_session creates independent branches from a shared analysis baseline, so each approach starts from the same understanding without inheriting the other's work. Reverting files (a) leaves the first attempt in the conversation, fresh sessions (c) pay for the analysis twice, and asking the agent to disregard context (d) doesn't remove it.
Keep going
More Agentic Architecture & Orchestration questions
- Two days into an investigation session, a large refactor is merged that moves and…
- A developer resumes a named session in which the agent had analyzed an authentication…
- A team is writing the control flow for an agentic loop that calls Claude with a set of…
- In a Claude agentic loop, which signal should the loop treat as meaning the model has…
- A support agent built with the Agent SDK calls lookup_order with the same order ID three…