AiDex icon indicating copy to clipboard operation
AiDex copied to clipboard

aidex_health: paths with spaces are reported as dead

Open CSCSoftware opened this issue 2 weeks ago • 0 comments

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.

CSCSoftware avatar Nov 14 '26 19:11 CSCSoftware