Skip to content

fix(doctor): native lite is blocked by Python and packaged builtin discovery #396

Description

@Fancy0uth

Reproduction

Current main 63b6463, locally compiled native 0.7.2-beta.6. On Windows x64, a committed Python-source fixture in a path with spaces and Chinese characters, with only Git + rg + OS tools on PATH and optional providers absent:

  • code-intel <fixture> --mode lite --json exits 10, failureNode doctor, diagnostic bootstrap readiness failed, although native core anchors and artifacts are produced.
  • Adding Python alone for checkout topology produces completed exit 0; doctor unconditionally marks Python required even though this native core path executes no Python.
  • A clean extracted package invoked by absolute path also marks built-in Sentrux missing when the package bin directory is not on PATH: doctor checks source target/release/debug binaries, not its existing packaged binary candidates. Stable v0.7.1 exhibits both restrictions too; these are not claims against unsupported source-only command aliases.

Bounded repair

Keep Python as observed optional tool, not mandatory native-core readiness. Reuse existing packaged graph-binary discovery to recognize the engine already bundled in code-intel. Preserve true missing Git/rg failures and strict required-provider outcomes. Add a real clean-package/no-python/no-pwsh topology regression to install-smoke in the same change per DR-0001. No installer rewrite, no optional provider installation, no baseline reset.

Evidence

Local unabridged evidence: C:/Users/asus/AppData/Local/Temp/code-intel-ux-source-56gz2ug6/evidence.json and code-intel-ux-source-python-s9gi2cho/evidence.json; stable isolated A/B scenarios in code-intel-ux-stable-f6zwun7j/dependency-isolation.json. Source native pre-edit gate passes unchanged Quality6236/cycles0 (pi-unified-exec-21-fb391097.log). Windows gnullvm dev build is explicitly not the official released MSVC binary. Existing #363 ambient-home installer issue and #392 codenexus path PR are untouched.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions