# Manage session state, resumption, and forking — Practice reading

Exam: CCAR-F — Claude Certified Architect - Foundations (CCAR-F)
Knowledge domain: Agentic Architecture & Orchestration
HTML: https://learningpathx.com/learning-path/CCAR-F/learn/435

This public learning practice includes correct answers and existing explanations. Reading does not save progress or create a test.

## Question 1

Type: multiple\_choice
Knowledge point: Named session resumption using --resume \<session-name\> to continue a specific prior conversation

The saved sessions are `oauth-migration` (ID O7) and `billing-fix` (ID B4). billing-fix was used most recently. The engineer must continue the existing OAuth analysis, whose prior tool observations remain relevant. Which two choices correctly target that saved history? (Choose 2.)

### Options

**A**

Run `claude --resume oauth-migration` from the appropriate project context.

**B**

Run `claude --continue` and assume it chooses the OAuth goal from the new prompt.

**C**

Run `claude --resume O7`, where O7 denotes the recorded unique OAuth session ID.

**D**

Run a fresh `claude` session and assume the OAuth tool observations are automatically present.

Correct answer: A, C

### Explanation

Target the named investigation or its recorded ID when recency points to a different task.

## Question 2

Type: multiple\_choice
Knowledge point: Named session resumption using --resume \<session-name\> to continue a specific prior conversation

A launcher stores a task-to-session mapping: OAuth production migration -> name oauth-migration, ID O-prod; OAuth prototype -> name oauth-spike, ID O-lab; Billing fix -> ID B4\. O-prod, O-lab and B4 are labels for the actual unique session IDs captured and stored for those conversations. All three are eligible saved conversations in the current directory. O-lab has the newest OAuth timestamp, and B4 is most recent overall. The launcher has two selectable fallback modes: recent mode uses --continue; keyword mode searches titles for "oauth" and chooses the newest matching saved session. A production handoff instead requires O-prod's established decisions. Which two changes together prevent wrong-session selection in either mode? (Choose 2.)

### Options

**A**

Use the production task's stored exact name or O-prod ID with --resume, removing the recency-based continue fallback for this targeted operation.

**B**

Keep the newest-title-match search because both OAuth sessions concern the same technology.

**C**

Check the resolved session identity against O-prod before issuing the continuation request, rejecting an OAuth prototype or Billing match.

**D**

Start a new session with the words "production OAuth" and assume it restores O-prod's established decisions.

Correct answer: A, C

### Explanation

Targeted resumption should use the task's recorded identity and verify that identity, rather than infer intent from timestamps or title overlap.

## Question 3

Type: single\_choice
Knowledge point: fork\_session for creating independent branches from a shared analysis baseline to explore divergent approaches

Session S contains a completed map of the checkout service. The engineer wants to explore an event-driven redesign using that map while keeping S's history unchanged. The exploration is read-only. Which SDK session configuration applies this requirement?

### Options

**A**

Resume S with fork\_session=True for the alternative exploration and record the new branch's session ID.

**B**

Resume S without forking and append all alternative-design work to S.

**C**

Start an empty session and assume it automatically contains S's checkout map.

**D**

Set fork\_session=True and assume this also creates a separate filesystem checkout for future edits.

Correct answer: A

### Explanation

Use session forking to isolate conversational exploration while deliberately managing any separate filesystem needs.

## Question 4

Type: single\_choice
Knowledge point: fork\_session for creating independent branches from a shared analysis baseline to explore divergent approaches

Two sessions fork from the same analysis of commit c0 to explore incompatible auth fixes. Both use one working directory. Session A records patch P\_A, then session B overwrites auth.ts with P\_B; A's next test actually reads P\_B. The saved baseline analysis still accurately describes c0, and both patch files are preserved. Which recovery plan makes the experiment interpretable?

### Options

**A**

Create separate worktrees from c0, apply P\_A and P\_B to their respective worktrees, retain the forked baseline context with explicit paths, test each, then compare and deliberately reconcile the chosen result.

**B**

Keep the shared directory and compare the existing test reports as if each session ID identified its tested files.

**C**

Discard the common analysis because fork\_session cannot copy prior conversation history.

**D**

Apply P\_A and P\_B together in the shared directory and attribute the resulting tests separately to both original approaches.

Correct answer: A

### Explanation

A repairs the experiment's evidence binding. The c0 conversation analysis remains valid, but A's existing test read B's overwritten files, so session identity does not make that report a result for P\_A. Separate c0-based worktrees, explicit paths and the corresponding preserved patches let each new test evaluate its intended approach. The results can then be compared and a chosen change reconciled deliberately. Combining incompatible patches first would test a different experiment.

## Question 5

Type: single\_choice
Knowledge point: fork\_session for creating independent branches from a shared analysis baseline to explore divergent approaches

What does a forked session inherit from its parent at creation time?

### Options

**A**

The parent conversation history and prior context states

**B**

A completely new conversation with no prior message history

**C**

A separate independent copy of every repository file

**D**

The parent session's future tool execution result

Correct answer: A

### Explanation

Later conversation and tool-result records do not automatically synchronize. Shared filesystem edits can still affect both sessions unless separately isolated.

## Question 6

Type: multiple\_choice
Knowledge point: fork\_session for creating independent branches from a shared analysis baseline to explore divergent approaches

A fork F is created from saved session P. Later work must be able to resume either the original analysis or the alternative branch. Which two outcomes support that selection? (Choose 2.)

### Options

**A**

The original session remains available for later resumption

**B**

The fork receives a distinct session identifier

**C**

The parent history is erased after the fork is created

**D**

The fork automatically commits all working-tree changes separately

Correct answer: A, B

### Explanation

Correct answers: A, B.

Option analysis:

* **A — The original session remains available for later resumption**: P remains available for selecting the original history.
* **B — The fork receives a distinct session identifier**: F has a distinct identifier for selecting the alternative.
* **C — The parent history is erased after the fork is created**: Forking does not erase P.
* **D — The fork automatically commits all working-tree changes separately**: Session identity does not automatically commit or isolate files.

## Question 7

Type: multiple\_choice
Knowledge point: The importance of informing the agent about changes to previously analyzed files when resuming sessions after code modifications

A resumed session remembers auth.ts returning a Boolean and concludes that if (checkAuth()) in route.ts rejects unauthorized users. During the pause auth.ts changes to return {ok:false, reason:'expired'} on rejection; route.ts is unchanged. In this language, that object evaluates as true in the condition. The transcript still shows the old implementation. Which two steps address the stale analysis? (Choose 2.)

### Options

**A**

Reassess the route conclusion: an object is truthy in JavaScript, so its unchanged condition may now admit a rejected result and needs checking against the new contract.

**B**

Tell the session exactly that auth.ts changed, reread its current implementation, and inspect the dependent route condition before proposing a patch.

**C**

Retain the earlier route verdict solely because route.ts itself did not change.

**D**

Assume restored conversation history automatically replaces the old tool result with the current auth.ts content.

Correct answer: A, B

### Explanation

A and B address both the stale conclusion and its evidence basis. The old Boolean return supported the earlier route reasoning, but the supplied rejection object now evaluates as true, so an unchanged if(checkAuth()) condition can take the accepting branch. Informing the resumed session, rereading auth.ts and inspecting its route consumer establishes the current contract before repair. Unchanged route bytes and restored historical tool results do not preserve the old conclusion.

## Question 8

Type: single\_choice
Knowledge point: The importance of informing the agent about changes to previously analyzed files when resuming sessions after code modifications

A source file changed outside a paused session. Which action updates the resumed agent's evidence for accurate follow-up analysis?

### Options

**A**

Obtain the changed-file list from the developer or a diff, then reread relevant files and reassess affected dependencies.

**B**

Rely on session resumption to detect the local filesystem changes.

**C**

Clear the prior conversation history before continuing the task.

**D**

Wait for the agent to find the change in its old tool output.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — Obtain the changed-file list from the developer or a diff, then reread relevant files and reassess affected dependencies.**: Current observations replace stale assumptions where the changes matter.
* **B — Rely on session resumption to detect the local filesystem changes.**: Restored history does not itself monitor live files.
* **C — Clear the prior conversation history before continuing the task.**: Useful prior context need not all be discarded.
* **D — Wait for the agent to find the change in its old tool output.**: Old output cannot reveal edits made after it was captured.

## Question 9

Type: single\_choice
Knowledge point: The importance of informing the agent about changes to previously analyzed files when resuming sessions after code modifications

A resumed review has three findings: F1 says checkout passes dollars unchanged to money.ts because money.ts expects dollars; F2 says logger.ts redacts tokens; F3 says renderer.ts escapes HTML. The verified change list contains only money.ts, whose input now requires cents. The call graph shows only checkout depends on money.ts; logger and renderer are unchanged and independent. Two 20-minute review slots remain. Which continuation plan is justified?

### Options

**A**

Use one slot to reread money.ts and one to recheck checkout's conversion and F1; retain F2/F3 with their unchanged-scope basis.

**B**

Reread only money.ts and retain F1 because checkout.ts has unchanged bytes.

**C**

Spend both slots rechecking logger and renderer because they contain security-related code.

**D**

Discard all findings and require a complete repository review before examining the changed dependency.

Correct answer: A

### Explanation

A follows the verified change and dependency scope: reread money.ts in one slot, then recheck checkout conversion and F1 in the other. The caller's unchanged bytes do not preserve a conclusion based on the old dollars contract. F2 and F3 can be retained with their explicit unchanged, independent scope basis; this is not a general rule that every unchanged finding stays valid. Spending the slots on unrelated security files or full rediscovery leaves the known affected path unresolved.

## Question 10

Type: single\_choice
Knowledge point: Why starting a new session with a structured summary is more reliable than resuming with stale tool results

An agent must continue a long investigation after an environmental change. The existing session contains extensive tool output that may no longer be current. Which approach most reliably preserves useful context while reducing stale-state risk?

### Options

**A**

Start a fresh session with a verified summary of current findings, their verification times, invalidated observations, and items requiring rereading.

**B**

Resume the session unchanged so all previous tool results remain available.

**C**

Use prompt caching mechanisms to make old tool outputs current.

**D**

Copy the entire transcript into every new request without reviewing it first.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — Start a fresh session with a verified summary of current findings, their verification times, invalidated observations, and items requiring rereading.**: The handoff distinguishes current evidence from remaining freshness checks.
* **B — Resume the session unchanged so all previous tool results remain available.**: Unchanged resumption retains potentially stale observations.
* **C — Use prompt caching mechanisms to make old tool outputs current.**: Caching does not refresh underlying facts.
* **D — Copy the entire transcript into every new request without reviewing it first.**: Unreviewed transcript copying retains stale assumptions and bulk.

## Question 11

Type: multiple\_choice
Knowledge point: Why starting a new session with a structured summary is more reliable than resuming with stale tool results

A continuation has 180,000 tokens of uncompacted tool history, including yesterday's service endpoints and quotas. A current deployment notice confirms both changed, and decisions must use today's values. Prompt caching shows a prefix hit, reducing input processing cost. An alternative fresh session can receive a 2,000-token summary of stable requirements, old observation timestamps and unresolved items. Which two choices are justified? (Choose 2.)

### Options

**A**

Start the fresh session with the structured summary, marking yesterday's operational values stale rather than carrying them forward as current facts.

**B**

Query today's authoritative endpoints and quotas before dependent decisions, and reconcile those results with the summary.

**C**

Trust the cached prefix as evidence that yesterday's service data was refreshed when the cache hit occurred.

**D**

Resume the entire history and treat its lower cached processing cost as sufficient reason to accept the outdated values.

Correct answer: A, B

### Explanation

A transfers stable requirements and unresolved work in a compact context while explicitly marking yesterday's endpoints and quotas stale. B supplies today's authoritative values before decisions that depend on them and reconciles them with that summary. The deployment notice establishes the freshness problem; the token counts alone do not. A prompt-cache hit reuses supplied input and reduces processing cost, but neither refreshes the external services nor makes an old observation valid. A fresh session also does not independently verify its summary.

## Question 12

Type: single\_choice
Knowledge point: Why starting a new session with a structured summary is more reliable than resuming with stale tool results

In a session implementation that restores and resends its uncompacted active conversation, what does resuming as-is retain for later requests?

### Options

**A**

Only a condensed summary of prior session work.

**B**

The prior active conversation, including potentially stale tool results and its input-token load.

**C**

Fresh replacement values for the earlier tool results.

**D**

A complete filesystem snapshot created at resume time.

Correct answer: B

### Explanation

Implementations that compact or trim active history may restore a different representation.

## Question 13

Type: single\_choice
Knowledge point: Why starting a new session with a structured summary is more reliable than resuming with stale tool results

An agent begins repeating completed steps and has unusually high input-token usage after a resume. Which remediation is most appropriate?

### Options

**A**

Start a fresh session from a verified summary or persistent note of completed steps, current findings and next actions.

**B**

Keep the entire session history and add more raw tool output data to it.

**C**

Increase the cache TTL parameter so stale results remain available longer.

**D**

Treat the high input-token count as proof that the context is current.

Correct answer: A

### Explanation

Repeated steps and high input usage are clues to context-management problems, not proof that any particular fact is stale.

## Question 14

Type: single\_choice
Knowledge point: Why starting a new session with a structured summary is more reliable than resuming with stale tool results

Why does a prompt-cache hit not prove that retained tool results are still current?

### Options

**A**

Cached context proves that the underlying data source remains unchanged.

**B**

Cache retention does not verify if the underlying data has changed.

**C**

A cache removes every prior tool result from the current session.

**D**

A time-to-live automatically creates a structured summary.

Correct answer: B

### Explanation

Correct answer: B.

Option analysis:

* **A — Cached context proves that the underlying data source remains unchanged.**: Cache reuse does not inspect the external source.
* **B — Cache retention does not verify if the underlying data has changed.**: Retention and source freshness are separate properties.
* **C — A cache removes every prior tool result from the current session.**: Caching does not inherently remove tool results.
* **D — A time-to-live automatically creates a structured summary.**: A cache hit is not a structured-summary operation.

## Question 15

Type: multiple\_choice
Knowledge point: Using --resume with session names to continue named investigation sessions across work sessions

In the local Claude Code CLI, which two statements distinguish targeted session resumption from continuing the latest session? (Choose 2.)

### Options

**A**

\--resume always chooses the newest local session without user input.

**B**

\--resume lets the user select a saved session by name or ID.

**C**

\--continue requires a specific session ID before it can run.

**D**

\--continue automatically selects the most recent session in the current directory.

Correct answer: B, D

### Explanation

Correct answers: B, D.

Option analysis:

* **A — --resume always chooses the newest local session without user input.**: Resume supports a selected target rather than always forcing the newest.
* **B — --resume lets the user select a saved session by name or ID.**: Names or IDs address a selected saved session.
* **C — --continue requires a specific session ID before it can run.**: Continue does not require a session ID.
* **D — --continue automatically selects the most recent session in the current directory.**: Continue selects the latest session in the current directory.

## Question 16

Type: single\_choice
Knowledge point: Using --resume with session names to continue named investigation sessions across work sessions

An application manages several concurrent investigations. What should it track to ensure a resumed agent receives the intended prior context?

### Options

**A**

The specific session ID for the investigation.

**B**

Only a display title that may be reused by multiple sessions.

**C**

Only the user ID shared by all of that user's investigations.

**D**

Only an application task ID with no saved mapping to a session.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — The specific session ID for the investigation.**: The session ID identifies the exact stored context.
* **B — Only a display title that may be reused by multiple sessions.**: A duplicated title is ambiguous.
* **C — Only the user ID shared by all of that user's investigations.**: One user may own several histories.
* **D — Only an application task ID with no saved mapping to a session.**: A task identifier needs a mapping to the intended session.

## Question 17

Type: single\_choice
Knowledge point: Using --resume with session names to continue named investigation sessions across work sessions

An investigation has one canonical saved session named prod-latency. During a shift change, terminal A still owns an active continuation while terminal B plans to resume the same name. A's latest findings are not yet included in the recorded handoff checkpoint; B's draft next step repeats a test A has just completed. The operating requirement is one continuous canonical investigation, with a single active writer. Which coordination plan best preserves that requirement?

### Options

**A**

Let B use --continue immediately, since a different terminal guarantees a separate history.

**B**

Have A finish or stop at a saved checkpoint and transfer ownership with the session ID and completed-test state; then have B explicitly resume prod-latency and verify that checkpoint before continuing.

**C**

Have B resume prod-latency concurrently and rely on the session name to reconcile both next-step plans automatically.

**D**

Have B start an unrelated empty session and describe it as the same canonical investigation.

Correct answer: B

### Explanation

Coordinate ownership and the saved checkpoint around a named resume when continuity is required across work sessions.

## Question 18

Type: single\_choice
Knowledge point: Using fork\_session to create parallel exploration branches (e.g., comparing two testing strategies or refactoring approaches from a shared codebase analysis)

An engineering lead has completed a codebase analysis and needs two independent read-only refactoring explorations that each inherit the complete saved conversation history at that point. The original analytical history must remain intact. Which action supports this requirement?

### Options

**A**

Start a standard subagent and paste a detailed summary of the analysis.

**B**

Create two forks from the saved analysis using resume with fork\_session=True, and assign one approach to each.

**C**

Resume the most recent session by using the continue command.

**D**

Ask the original session to alternate between both approaches.

Correct answer: B

### Explanation

Correct answer: B.

Option analysis:

* **A — Start a standard subagent and paste a detailed summary of the analysis.**: A single summary-based worker does not supply two branches with the complete history.
* **B — Create two forks from the saved analysis using resume with fork\_session=True, and assign one approach to each.**: Two forks preserve the shared full baseline and independent later histories.
* **C — Resume the most recent session by using the continue command.**: Continue resumes a saved session rather than creating two branches.
* **D — Ask the original session to alternate between both approaches.**: Alternating in one history does not isolate the alternatives.

## Question 19

Type: single\_choice
Knowledge point: Using fork\_session to create parallel exploration branches (e.g., comparing two testing strategies or refactoring approaches from a shared codebase analysis)

Two sessions fork from a shared analysis of commit K to compare testing strategies. Branch A reports a faster unit suite measured on K. Branch B updates its isolated working copy to K2 and reports broader integration coverage there. The parent has neither branch's later tool results and still references K. It must compare the strategies without silently mixing baselines. Which return and comparison plan best preserves the branching design?

### Options

**A**

Replace both branches with a normal resume of the parent and assume their tool outputs will appear there.

**B**

Copy only the two headline scores into the parent and select the numerically larger score.

**C**

Rerun both strategies using the same coverage measure, keep A on K and B on K2, and compare the scores without recording the baseline difference.

**D**

Explicitly return each branch's results, test scope, and commit identity; identify the K/K2 difference and request comparable measurements or label the limitation before making the comparison.

Correct answer: D

### Explanation

Branching preserves independent exploration; the coordinator must explicitly recover and align the evidence used to compare its results.

## Question 20

Type: multiple\_choice
Knowledge point: Using fork\_session to create parallel exploration branches (e.g., comparing two testing strategies or refactoring approaches from a shared codebase analysis)

Session S at commit K contains the completed dependency analysis for a test redesign. Two read-only experiments will compare property-based testing and example-based testing from that same analysis. The parent must remain resumable as S. Which two setup actions implement these parallel branches? (Choose 2.)

### Options

**A**

Create both experiment forks from unchanged S at commit K, assigning one testing approach to each.

**B**

Resume S without forking for both experiments and assume their later histories are independent.

**C**

Retain S and record each fork's distinct ID for separate later resumption.

**D**

Replace S's saved history with the first experiment's output before creating the other experiment.

Correct answer: A, C

### Explanation

Fork both alternatives from the same completed analysis and track the resulting independent sessions.

## Question 21

Type: single\_choice
Knowledge point: Using fork\_session to create parallel exploration branches (e.g., comparing two testing strategies or refactoring approaches from a shared codebase analysis)

A fork and its parent use the same working directory. The fork writes a file, but neither session appends messages to the parent history. What happens to the parent's saved conversation history solely from that fork operation?

### Options

**A**

It automatically replaces the parent's earlier file-read result with the fork's new contents.

**B**

It automatically appends the fork's write-tool result.

**C**

It is invalidated and becomes impossible to resume.

**D**

It remains unchanged, although shared files on disk may have changed.

Correct answer: D

### Explanation

Correct answer: D.

Option analysis:

* **A — It automatically replaces the parent's earlier file-read result with the fork's new contents.**: Old history does not refresh automatically.
* **B — It automatically appends the fork's write-tool result.**: Branch results do not automatically append to the parent.
* **C — It is invalidated and becomes impossible to resume.**: A disk edit does not erase the saved parent identity.
* **D — It remains unchanged, although shared files on disk may have changed.**: Conversation isolation does not imply filesystem isolation.

## Question 22

Type: single\_choice
Knowledge point: Choosing between session resumption (when prior context is mostly valid) and starting fresh with injected summaries (when prior tool results are stale)

An investigation has accumulated many raw observations that are now invalid after widespread repository changes. A checked summary distinguishes still-valid design findings from stale file observations. The team wants a compact new context for focused follow-up. Which approach fits?

### Options

**A**

Resume the old session and assume it automatically detects all the recent file changes.

**B**

Start fresh with an injected summary and then explicitly re-read changed files.

**C**

Use continue because it automatically refreshes all the prior tool results.

**D**

Restore the old transcript and omit changed file details to preserve token limits.

Correct answer: B

### Explanation

Correct answer: B.

Option analysis:

* **A — Resume the old session and assume it automatically detects all the recent file changes.**: Unchanged resumption would retain stale observations.
* **B — Start fresh with an injected summary and then explicitly re-read changed files.**: The checked summary preserves useful state and rereading supplies current evidence.
* **C — Use continue because it automatically refreshes all the prior tool results.**: Continue does not refresh tool outputs automatically.
* **D — Restore the old transcript and omit changed file details to preserve token limits.**: Omitting change details hides the very freshness work required.

## Question 23

Type: multiple\_choice
Knowledge point: Choosing between session resumption (when prior context is mostly valid) and starting fresh with injected summaries (when prior tool results are stale)

Which two statements correctly contrast resuming a session with starting fresh from an injected summary? (Choose 2.)

### Options

**A**

Resuming restores the accumulated conversation state, including earlier reads and analysis.

**B**

An injected summary preserves every historical detail from the original session.

**C**

A summary can reduce later request cost by replacing history with condensed context.

**D**

Starting fresh automatically validates whether prior tool outputs remain current.

Correct answer: A, C

### Explanation

Correct answers: A, C.

Option analysis:

* **A — Resuming restores the accumulated conversation state, including earlier reads and analysis.**: Resumption preserves the stored interaction state.
* **B — An injected summary preserves every historical detail from the original session.**: A condensed summary omits selected details.
* **C — A summary can reduce later request cost by replacing history with condensed context.**: Replacing bulk with concise state can lower context cost.
* **D — Starting fresh automatically validates whether prior tool outputs remain current.**: Starting fresh does not verify external sources.

## Question 24

Type: multiple\_choice
Knowledge point: Choosing between session resumption (when prior context is mostly valid) and starting fresh with injected summaries (when prior tool results are stale)

Before choosing whether to resume a long-running session or start fresh with a summary, which two conditions should the operator assess? (Choose 2.)

### Options

**A**

Whether prior tool results and analysis are still valid.

**B**

Whether the conversation has accumulated enough context that cost or latency matters.

**C**

Whether the original session can be made to auto-detect every external change.

**D**

Whether a summary can preserve information that was deliberately omitted.

Correct answer: A, B

### Explanation

An omitted detail can still be retrieved from a retained transcript or source reference; it is not necessarily lost permanently.

## Question 25

Type: single\_choice
Knowledge point: Choosing between session resumption (when prior context is mostly valid) and starting fresh with injected summaries (when prior tool results are stale)

An application's session has been inactive beyond its configured prompt-cache TTL, and a cache miss is confirmed. Its complete active history still fits the model's context window and has not been compacted. The operator needs the most complete historical detail, and the prior tool findings are still valid. What should the operator expect and choose?

### Options

**A**

Resume from a summary, as it preserves every historical detail after the prompt cache expires.

**B**

Resume the saved session with its still-valid active history, accepting that the next request cannot reuse the expired cache entry.

**C**

Start a fresh session without context, as cache expiry invalidates all prior findings.

**D**

Use a shorter summary that omits detailed tool findings to lower the next uncached request cost, accepting those omissions despite the full-detail requirement.

Correct answer: B

### Explanation

The statement “Resume the saved session with its still-valid active history, accepting that the next request cannot reuse the expired cache entry.” preserves the required historical fidelity by resuming the saved, still-valid and uncompacted active history, which explicitly fits the context window. The confirmed cache miss means that request cannot reuse the expired entry, so uncached processing is accepted. Cache expiry does not establish fact staleness, and replacing the history with an incomplete active summary would sacrifice the detail required here. Omitted details may still exist in retained transcripts, but they are not automatically present in the summary context.

## Question 26

Type: single\_choice
Knowledge point: Informing a resumed session about specific file changes for targeted re-analysis rather than requiring full re-exploration

A resumed review concluded that parser.py accepts empty input. An external change notice says empty input is now rejected. What should happen before updating that conclusion?

### Options

**A**

Reread the current parser and its relevant empty-input path, then revise the conclusion from that evidence.

**B**

Trust the restored file read because resumption refreshes disk state.

**C**

Keep the old conclusion until every unrelated repository check has been rerun.

**D**

Ignore the change because the transcript is preserved.

Correct answer: A

### Explanation

Correct answer: A.

Option analysis:

* **A — Reread the current parser and its relevant empty-input path, then revise the conclusion from that evidence.**: Current code and the affected behavior provide targeted evidence.
* **B — Trust the restored file read because resumption refreshes disk state.**: Restored reads are historical.
* **C — Keep the old conclusion until every unrelated repository check has been rerun.**: Unrelated checks do not establish the changed parser behavior.
* **D — Ignore the change because the transcript is preserved.**: Preserved history does not make its earlier observation current.

## Question 27

Type: single\_choice
Knowledge point: Informing a resumed session about specific file changes for targeted re-analysis rather than requiring full re-exploration

A resumed session restores a previous tool result showing `parse_order` returns cents. Since that session, parser.py changed to return decimal dollars; unchanged billing.py still multiplies the value as though it were cents. The prior dependency map correctly identifies billing.py as the only consumer. The resumed agent repeats its old conclusion that the units agree. Which prompt and investigation update most directly corrects the analysis without repeating unrelated exploration?

### Options

**A**

Tell the agent to trust the restored tool output because resumption refreshes it from the filesystem.

**B**

Identify the parser.py change explicitly, reread its current implementation and the mapped billing.py usage, and revisit the prior unit-agreement conclusion while retaining unrelated valid findings.

**C**

Ask the agent to reread parser.py only and keep every conclusion about unchanged billing.py fixed.

**D**

Restart a complete repository crawl before checking the known parser-to-billing dependency.

Correct answer: B

### Explanation

Inform a resumed session about the exact change and follow its impact through retained dependency knowledge.

## Question 28

Type: single\_choice
Knowledge point: Informing a resumed session about specific file changes for targeted re-analysis rather than requiring full re-exploration

A resumed session previously proved that config.py's timeout\_ms value feeds client.py and watchdog.py. Only config.py changed: the key is now timeout\_seconds and its value changes from 5000 to 5\. The two consumers are unchanged; unrelated storage analysis remains valid. A proposed refresh rereads config.py and updates the displayed value but retains the old conclusion that both consumers receive valid millisecond input. Which refresh plan best uses the known change?

### Options

**A**

Repeat the complete codebase exploration, discarding the still-valid storage analysis.

**B**

Provide the exact key/unit change, reread config.py and the two known consumer accesses, and reassess their interface and unit assumptions while retaining unrelated findings.

**C**

Replace 5000 with 5 in the old summary without inspecting consumer behavior.

**D**

Reread only config.py because unchanged consumer files cannot invalidate a previous integration conclusion.

Correct answer: B

### Explanation

Targeted refresh follows the implications of the changed file, rather than assuming that only changed text can affect earlier conclusions.

