[BUG] Claude import files does not hop over 1 file import with path relative to CWD

Resolved 💬 3 comments Opened Sep 17, 2025 by ghost Closed Sep 18, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When using the @ notation in memory file e.g. CLAUDE.md, the @2/3/.../CLAUDE.md works only for the very first @ in CLAUDE.md. In the 2/3/.../CLAUDE.md, another @2/3/.../5/CLAUDE.md is not read(verified by the output of /status at the memory section.

What Should Happen?

The files imported by @ in 2/CLAUDE.md should be loaded to memory.

Error Messages/Logs

Steps to Reproduce

Here's the reproduce files. Simple extract and run Claude , then /status to see only 2-relative/... memory files are loaded to Claude memory.

claude-reproduce-memory-import.zip

# output in Memory section of `/status`
 Memory • /memory
  L user: ~/.claude/CLAUDE.md
  L project: ~/Ai4bSpace/CLAUDE.md
  L project: CLAUDE.md
             L 2/CLAUDE.md
             L 2-relative/CLAUDE.md
               L 2-relative/3/CLAUDE.md
                 L 2-relative/3/4/CLAUDE.md
                   L 2-relative/3/4/5/CLAUDE.md

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

1.0.117

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗