Last reviewed
Correct answer: D. Your current directory, and it has its own context window
Explanation
The principle — a session is scoped to where you started it.
Why the key is correct — Anthropic defines a session as a conversation tied to your current directory, with its own independent context window. Both halves matter: the directory decides which conversation you rejoin, and the independent window is why one session's history never leaks into another's.
Why the others are wrong — a repository is broader than a directory, so two folders in one repo can hold separate conversations. A terminal window is only a view; the conversation is stored and can be reopened. And an account-wide thread would mix unrelated projects together.
Remember this — start Claude Code where the work is, because that is what you will resume.
Sources — Anthropic's Claude Code glossary.
Sources
“A conversation tied to your current directory, with its own independent context window.”
Practise 10 questions on this topic
Take Claude Code Basics — Timed Test 2 (10 questions) — scored instantly, explanation for every question, no login.