-
Notifications
You must be signed in to change notification settings - Fork 126
Description
Bug Report
Tool: detect_changes
Version: v0.5.6 (released 2026-03-23)
Platform: Windows 11 Home (amd64)
Description
The detect_changes tool fails with "project path contains invalid characters" when the project path contains spaces. All other tools work correctly with the same path.
Reproduction
Project path: C:\Users\abish\OneDrive - PomeGran Inc\Files\kpi-dashboard
This path contains spaces due to the OneDrive folder name. Calling detect_changes with this path produces the error immediately. No other tool is affected.
Working tools (same path, no issues):
search_graphtrace_call_pathquery_graphget_code_snippetindex_repository- ...and 7 other tools (12 total work fine)
Failing tool:
detect_changes— returns"project path contains invalid characters"
Expected Behavior
detect_changes should handle paths containing spaces, consistent with the other 12 tools that already work correctly.
Likely Root Cause
detect_changes probably shells out to git diff (or similar) without properly quoting the path argument. When the path contains spaces, the unquoted string is split by the shell and rejected.
Related Issues
This appears to be the same class of bug as #80 and #121 (Windows path handling), which were previously fixed for other tools but missed for detect_changes.