-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't workinguser-feedbackFeedback submitted by usersFeedback submitted by users
Description
Problem
Using relative path syntax like ../sibling-dir/file.sql or ../../other-project/models/ to reference files in parent or sibling directories does not resolve correctly. The agent either fails to find the file or interprets the path literally instead of resolving it relative to the current working directory.
Expected behavior
Relative paths should be resolved against the current working directory, consistent with standard shell behavior:
../foo→ parent directory'sfoo./bar→ current directory'sbar../../baz→ two levels up, thenbaz
Current behavior
Relative paths with .. are not properly resolved, causing file-not-found errors or incorrect file references.
Steps to reproduce
- Launch
altimatefrom/Users/me/project/subdir/ - Ask: "Read the file at ../config.yml"
- Observe: agent fails to resolve the path or reads the wrong file
Additional context
- This affects file references in prompts, tool arguments, and path-based commands
- Absolute paths work correctly
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinguser-feedbackFeedback submitted by usersFeedback submitted by users