Show file paths relative to project root, not current working directory

Resolved 💬 3 comments Opened Dec 28, 2025 by delfinadap Closed Dec 28, 2025

Problem

When Claude cds into a subdirectory and writes a file, the path shown is relative to the current directory, not the project root. This is confusing because users think in terms of the project root, not Claude's internal working directory.

Demonstration

⏺ Bash(cd /path/to/project/temp-test-folder && pwd)
  ⎿  /path/to/project/temp-test-folder

⏺ Write(test-file.md)
  ⎿  Wrote 1 lines to test-file.md

⏺ Bash(cd /path/to/project && pwd)
  ⎿  /path/to/project

The file was written to temp-test-folder/test-file.md, but the display only shows test-file.md, making it appear as if it was created in the project root.

Suggestion

Show paths relative to the project root:

⏺ Write(temp-test-folder/test-file.md)
  ⎿  Wrote 1 lines to temp-test-folder/test-file.md

This would make it clear where files are actually being created, regardless of Claude's current working directory.

View original on GitHub ↗

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