Question 1 · choose 1
An engineer spends several days in Claude Code investigating a flaky payment test, and in the same repository also runs unrelated sessions for code reviews. Each morning they want to return to exactly the payment investigation with its context intact. What should they do?
- ASet the payment investigation as the default session in the project's settings.json
- BName it with /rename payment-flake and return with claude --resume payment-flake
- CStart a fresh session each morning and paste the previous day's full transcript into the first prompt
- DRun claude --resume and type the date the investigation started
Show the answer and why
ASet the payment investigation as the default session in the project's settings.json
Incorrect
No setting pins a default session to reopen; returning to a specific conversation is done when you start Claude Code.
BName it with /rename payment-flake and return with claude --resume payment-flake
Correct
A named session can be resumed directly by name, whichever session ran most recently.
CStart a fresh session each morning and paste the previous day's full transcript into the first prompt
Incorrect
Pasting a transcript is slow, bloats context, and loses the session's own record of tool calls and results.
DRun claude --resume and type the date the investigation started
Incorrect
Sessions are not looked up by date, so this does not take you to the investigation.
Give long-running investigations a name and resume them by name with --resume, which returns to exactly that conversation whatever else ran in the meantime.
Anthropic documentation