Skip to content

Normalize relative path arguments#22

Closed
ind-igo wants to merge 1 commit into
masterfrom
agent/normalize-relative-paths
Closed

Normalize relative path arguments#22
ind-igo wants to merge 1 commit into
masterfrom
agent/normalize-relative-paths

Conversation

@ind-igo

@ind-igo ind-igo commented Jul 23, 2026

Copy link
Copy Markdown
Owner

Summary

  • Normalize relative and explicit root paths before project-root discovery.
  • Handle . and .. consistently across overview, symbols, definition, and references.
  • Add focused unit and integration coverage for nested repositories and relative parent paths.

Root cause

Relative path arguments were resolved inconsistently: root discovery only considered absolute hints, while query filters joined paths without lexically normalizing . and .. components. This could select the wrong repository or fail to match indexed files.

User impact

Commands now work predictably from subdirectories and nested repositories when paths contain . or ...

Validation

  • cargo test — 213 passed
  • cargo clippy --all-targets -- -D warnings
  • git diff --cached --check

@ind-igo ind-igo closed this Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant