CCAR-F - Agentic Architecture & Orchestration - Section 1.7

Manage session state, resumption, and forking.

Named session resumption with the resume flag continues a specific prior conversation, and fork_session creates independent branches from a shared analysis baseline for exploring divergent approaches. Candidates should inform a resumed agent about files that changed since the prior analysis, and should choose between resuming (prior context mostly valid) and starting fresh with an injected structured summary (prior tool results stale) rather than defaulting to one of the two.

named session resumptionfork_sessionstale tool resultsstructured summary injectiontargeted re-analysis after file changes

Practice question for this objective

Free sampleAgentic Architecture & Orchestrationmedium

A developer tooling squad at Aldergrove Systems has spent about forty turns with an agent mapping a legacy job scheduler, and the session now holds the call graph, the two configuration files and a list of the modules that touch the queue. Two engineers want to explore competing migration routes from that same starting point without disturbing each other. They resume the session with forking enabled so that each engineer gets a branch. What is the effect on the original session?

  • AEach fork keeps appending to the original session identifier, so the second engineer's turns are interleaved into the first engineer's history and both see one merged record.
  • BEach fork is recorded under a new session identifier and the original session is left unchanged, so both branches carry the same forty-turn prefix and diverge independently from it. Correct
  • CEach fork copies the history and then locks the original session against further resumption until one branch is discarded or its findings are merged back into the parent.
  • DEach fork shares one live history with the other branch, so each engineer sees the other's turns appear in context as soon as they are appended to the record.
Forking a resumed session copies the prefix into a new session identifier and leaves the source session untouched, letting branches diverge independently. Forking splits the conversation record at the point of resumption. Subsequent turns are written to a new identifier rather than back onto the source, so the parent session remains resumable in its original state and each branch accumulates its own history from the shared prefix onwards.

Why A is wrong: Tempting because this is exactly what plain resumption without forking does, but forking exists precisely to avoid that interleaving by giving the branch its own identifier.

Why B is correct: Correct, because forking on resume writes subsequent turns to a new session identifier while the source session stays as it was, which is what makes two independent explorations from one shared prefix possible.

Why C is wrong: Tempting because branch-and-merge in version control does impose this kind of workflow, but a session record has no locking or merge step and the parent stays resumable throughout.

Why D is wrong: Tempting because both branches start from identical content, but the shared prefix is copied rather than shared live, so later turns in one branch never enter the other's context.

See more CCAR-F practice questions, answers explained.

More in this domain

Back to all Agentic Architecture & Orchestration objectives, or the CCAR-F cert hub.

Examworthy is not affiliated with or endorsed by Anthropic. Original, blueprint-aligned practice material only.