[FEATURE] Pass relative paths to files under cwd when invoking tools
Resolved 💬 1 comment Opened May 7, 2026 by aviflax Closed Jun 5, 2026
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
CC frequently runs a programs and passes paths to those programs as arguments. It almost always passes those paths as absolute paths. This makes the commands longer, and they require a little more cognitive effort to read and understand.
Proposed Solution
I would prefer that CC pass those paths as relative paths, as long as they are within/below the current working dir.
(Also, when CC is passing a path to a file/dir that is not within the CWD, it should use an absolute path. Sometimes I see it use paths like ../../../../../tmp/foo.txt when /tmp/foo.txt would be way better)
Alternative Solutions
_No response_
Priority
Low - Nice to have
Feature Category
Other
Use Case Example
_No response_
Additional Context
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗