claude-code - ๐Ÿ’ก(How to fix) Fix [DOCS] `--resume`/`--continue` docs omit sessions found through `/add-dir` [1 participants]

Official PRs (โ€ฆ)
ON THIS PAGE

Recommended Tools

ร—6

Utilities matched from this issueโ€™s tags and category โ€” try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful ยท Quick feedback

Loadingโ€ฆ
GitHub stats
anthropics/claude-code#52196โ€ขFetched 2026-04-23 07:34:01
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ร—3

Root Cause

That leaves a gap for users working across multiple directories or repos in one session, because the documented session-discovery model does not match the current CLI behavior.

RAW_BUFFERClick to expand / collapse

Documentation Type

Missing documentation (feature not documented)

Documentation Location

https://code.claude.com/docs/en/common-workflows

Section/Topic

"Resume previous conversations" and related --continue/--resume behavior for sessions associated through additional working directories added with /add-dir

Current Documentation

The docs currently say:

  • claude --continue continues the most recent conversation in the current directory
  • claude --resume opens a conversation picker or resumes by name

Sessions are stored per project directory. The /resume picker shows interactive sessions from the same git repository, including worktrees.

Related docs describe additional working directories, but not how they affect session discovery:

  • During startup: use --add-dir <path> CLI argument
  • During session: use /add-dir command

Files in additional directories follow the same permission rules as the original working directory: they become readable without prompts, and file editing permissions follow the current permission mode.

And the changelog for v2.1.118 states:

--continue/--resume now find sessions that added the current directory via /add-dir

What's Wrong or Missing?

Changelog v2.1.118 documents a user-visible change to how --continue and --resume find prior sessions: they now include sessions that previously added the current directory with /add-dir.

The current resume documentation still frames discovery only in terms of the current directory, project directory, and same-repository/worktree matching. It does not explain that session lookup now also considers sessions linked through /add-dir.

That leaves a gap for users working across multiple directories or repos in one session, because the documented session-discovery model does not match the current CLI behavior.

Suggested Improvement

Update the resume documentation in common-workflows and the CLI reference to describe this discovery rule explicitly.

Suggested addition near the --continue/--resume bullets or the session picker description:

claude --continue and claude --resume can also find sessions that previously added your current directory via /add-dir, so shared multi-directory sessions remain discoverable from either side of that relationship.

Also add a short example showing a session started in one directory, expanded with /add-dir ../other-project, then resumed later from ../other-project.

Impact

Medium - Makes feature difficult to understand

Additional Context

Affected Pages:

PageContext
https://code.claude.com/docs/en/common-workflowsPrimary --continue/--resume behavior and picker scope
https://code.claude.com/docs/en/cli-referenceCLI flag reference for --continue, --resume, and --add-dir
https://code.claude.com/docs/en/quickstartBeginner command table still describes claude -c only as current-directory continuation
https://code.claude.com/docs/en/permissionsExplains /add-dir and additional working directories, but not the resume/session-discovery implications
https://code.claude.com/docs/en/commands/add-dir command reference that could cross-link to resume/session behavior

Total scope: 5 pages affected

Source: Changelog v2.1.118

Exact changelog entry:

--continue/--resume now find sessions that added the current directory via /add-dir

extent analysis

TL;DR

Update the documentation for --continue and --resume to include the discovery rule for sessions linked through /add-dir.

Guidance

  • Review the current documentation for --continue and --resume in the common-workflows section and update it to reflect the new discovery rule.
  • Add a short example to illustrate how sessions can be resumed from different directories after using /add-dir.
  • Cross-link the updated documentation with the /add-dir command reference and other relevant pages.
  • Verify that the updated documentation accurately reflects the behavior described in the changelog for v2.1.118.

Example

An example of the updated documentation could be:

claude --continue and claude --resume can also find sessions that previously added your current directory via /add-dir, so shared multi-directory sessions remain discoverable from either side of that relationship. For example, if you start a session in one directory and use /add-dir ../other-project, you can later resume the session from ../other-project using claude --continue or claude --resume.

Notes

The update should be applied to the 5 affected pages listed in the issue, including the common-workflows, cli-reference, quickstart, permissions, and commands sections.

Recommendation

Apply the workaround by updating the documentation to reflect the new discovery rule, as this will improve the understanding of the feature for users working across multiple directories or repos in one session.

Vote matrix ยท Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loadingโ€ฆ

Still need to ship something?

ร—6

Another batch ranked right after the header list โ€” different links, same matching logic.

Back to top recommendations

TRENDING