AiDex
AiDex copied to clipboard
aidex_health: paths with spaces are reported as dead
Known issue (2.5.0)
The dead-path check in aidex_health cuts a Windows path at the first space. A path such as C:/Program Files/Some App/tool.exe is checked as C:/Program, which does not exist, so the report shows a false dead-path warning.
Cause: the path regex in src/commands/health.ts stops at whitespace ([^\s...]+).
Workaround: ignore dead-path warnings for paths that contain spaces. The check is read-only and never changes anything.
Planned fix (next release):
- Accept quoted or backticked paths in full (
"C:\Program Files\...",`C:\Program Files\...`). - For unquoted paths, try progressively longer candidates across spaces before reporting a path as dead.
- Add tests for both cases.