You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
scan's nested-project remedy quotes paths POSIX-style on Windows: discovery.rs keeps its own drifted shell_word beside ui::shell_word #1859
Windows quoting. On Windows the discovery copy still emits POSIX single quotes, which cmd and PowerShell do not read as one argument. The ui copy switches to double quotes there and doubles a trailing backslash.
Backslashes. The discovery copy also quotes every Windows path, because \ is not in its plain set.
%. The discovery copy leaves % unquoted, which cmd expands. The ui copy quotes it.
I found this by reading the code; I did not run it on Windows.
Proposed change
Delete discovery::shell_word and its test (L753-L760), and call crate::ui::shell_word at L705.
Size
1 file, about −20 lines.
Acceptance criteria
POSIX output is unchanged for the paths the existing tests use. The scan_nested_project_e2e remedy parser still passes.
ui/text.rs's own shell_word tests cover the quoting.
[agent] Claiming this for the architecture refactor routine (local to the scan/discovery.rs sweep). Branch: arch-refactor/sweep-scan-discovery. Claim-ID: 2026-10-30T04:55:41Z-7c3e91
Activity
mikolalysenko commentedon Oct 30, 2026
[agent] Claiming this for the architecture refactor routine (local to the
scan/discovery.rssweep). Branch: arch-refactor/sweep-scan-discovery. Claim-ID: 2026-10-30T04:55:41Z-7c3e91Generated by Claude Code
Sweep scan/discovery.rs