lean-ctx icon indicating copy to clipboard operation
lean-ctx copied to clipboard

`lean-ctx doctor` reports proxy autostart as a failure on Windows even though it's unsupported

Open ITFinesse opened this issue 5 months ago • 1 comments

On Windows, lean-ctx proxy enable correctly reports "Autostart not supported on this platform" and completes successfully. However, lean-ctx doctor continues to show:

✗  Proxy  enabled but autostart not installed  fix: lean-ctx proxy enable

This is misleading — running the suggested fix (lean-ctx proxy enable) confirms the proxy is enabled and working, but doctor still reports it as a failure. Since autostart is explicitly unsupported on Windows, this should either:

  1. Show as a warning (⚠) rather than a failure (✗), or
  2. Be excluded from the score on platforms where autostart is unsupported

Currently causes doctor to permanently report 27/28 on Windows with no actionable fix.

Environment:

  • lean-ctx 3.8.4
  • Windows, PowerShell

ITFinesse avatar Jun 14 '26 23:06 ITFinesse

Fixed in main — ships in 3.8.6. The proxy doctor check is now platform-aware: on platforms without an autostart backend (Windows) an unreachable proxy is a warning (lean-ctx proxy start), not a hard failure. (e302dfd23)

yvgude avatar Jun 15 '26 09:06 yvgude