Skip to content

Report the missing tier3 extra from doctor on a base install - #626

Merged
chrisknvidia merged 5 commits into
mainfrom
fix/doctor-base-install-missing-tier3
Nov 16, 2026
Merged

chrisknvidia merged 5 commits into
mainfrom
fix/doctor-base-install-missing-tier3

Conversation

@chrisknvidia

@chrisknvidia chrisknvidia commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

On a base install (pip install skillevaluator, no tier3 extra), skillevaluator doctor, doctor --tier 3, doctor --tier all, health-check and tier3 doctor crash with a ModuleNotFoundError: No module named 'harbor' traceback. doctor is the first readiness command a new user runs, so they get a stack trace instead of a setup hint.

_run_doctor now catches the import failure for the Tier 3 check, prints Tier 3 dependencies are not installed. Install skillevaluator[tier3] and try again. (the same wording the tier3 PATH workflow already uses), exits 1, and keeps checking the other selected tiers. --tier all still reports Tiers 1 and 2 first.

Reproduced from a clean base install of the current main on Python 3.12:

$ skillevaluator doctor --env-mode docker
...
ModuleNotFoundError: No module named 'harbor'

With this change:

$ skillevaluator doctor --env-mode docker
Tier 3 dependencies are not installed. Install skillevaluator[tier3] and try again.
$ echo $?
1

Verification

  • I am familiar with the Contributing Guidelines
  • Added or updated focused tests
  • Updated documentation for user-visible changes
  • Ran make lint
  • Ran make test (ran tests/test_cli.py, tests/test_base_install.py, tests/test_doctor.py and tests/cli: 270 passed; the two new tests fail without the fix)
  • Ran make build
  • Did not add credentials, private datasets, or proprietary benchmark content

Release Impact

  • No user-visible release note needed
  • Updated CHANGELOG.md

Closes #632

doctor and health-check imported the Tier 3 readiness module unguarded, so a base install without the tier3 extra failed with a ModuleNotFoundError traceback for harbor. Report the missing extra and keep checking the other selected tiers.

Signed-off-by: Christopher Kevin <[email protected]>
devin-ai-integration[bot]

This comment was marked as resolved.

doctor reported every ImportError from the Tier 3 readiness import as a missing tier3 extra, which would hide an import bug inside Tier 3 code. Check the missing module name against the packages the tier3 extra installs and re-raise otherwise.

Signed-off-by: Christopher Kevin <[email protected]>
@chrisknvidia
chrisknvidia merged commit 94f6895 into main Nov 16, 2026
27 checks passed
@chrisknvidia
chrisknvidia deleted the fix/doctor-base-install-missing-tier3 branch November 16, 2026 10:35
rng1995 added a commit that referenced this pull request Nov 16, 2026
…#601 review

- Prerequisites ask before installing the CLI; the one-key claim is scoped to
  nv_build in docker/local mode.
- Ask The User First: ask before the first provider-backed command, state the
  Tier 3 trial count with judge calls and ask again before the full run, and
  describe --env-mode local correctly (private HOME, no CLI logins, trusted
  skills only). Rewording drops two SkillSpector false positives.
- Step 1: pin pipx/pip to Python 3.12-3.14 (an older pip installs the empty
  0.0.0a0 placeholder), put uv tool update-shell under the permission rule,
  and upgrade with the installer that was used.
- Command table, step 3 and health-check reference say scanners are
  downloaded when missing; step 6 keeps a copied skill's directory name,
  asks for input files, warns that tier3/validate write a starter case, and
  prefers fixtures over "give the commands" prompts.
- Troubleshooting: the doctor row matches #626's message and reinstalls the
  extra with the original installer.
- Evals: inline the notes-helper target in case 009 so the installed skill
  carries no nested SKILL.md (Codex, OpenCode and Hermes loaded it as a second
  skill); renumber #601's cases 010-017; let case 003 accept a labeled draft
  with one behavior per assertion; drop unrequested assertions in 011/013;
  rewrite case 017 without the false premise; add case 018 for writing a
  dataset from the user's requests.
- CHANGELOG: fold #601's Fixed entry into its Changed entry and describe the
  permission rule in #570's entry.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995 added a commit that referenced this pull request Nov 16, 2026
…#601 review (#666)

- Prerequisites ask before installing the CLI; the one-key claim is scoped to
  nv_build in docker/local mode.
- Ask The User First: ask before the first provider-backed command, state the
  Tier 3 trial count with judge calls and ask again before the full run, and
  describe --env-mode local correctly (private HOME, no CLI logins, trusted
  skills only). Rewording drops two SkillSpector false positives.
- Step 1: pin pipx/pip to Python 3.12-3.14 (an older pip installs the empty
  0.0.0a0 placeholder), put uv tool update-shell under the permission rule,
  and upgrade with the installer that was used.
- Command table, step 3 and health-check reference say scanners are
  downloaded when missing; step 6 keeps a copied skill's directory name,
  asks for input files, warns that tier3/validate write a starter case, and
  prefers fixtures over "give the commands" prompts.
- Troubleshooting: the doctor row matches #626's message and reinstalls the
  extra with the original installer.
- Evals: inline the notes-helper target in case 009 so the installed skill
  carries no nested SKILL.md (Codex, OpenCode and Hermes loaded it as a second
  skill); renumber #601's cases 010-017; let case 003 accept a labeled draft
  with one behavior per assertion; drop unrequested assertions in 011/013;
  rewrite case 017 without the false premise; add case 018 for writing a
  dataset from the user's requests.
- CHANGELOG: fold #601's Fixed entry into its Changed entry and describe the
  permission rule in #570's entry.

Signed-off-by: Narendran Raghavan <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

doctor crashes with ModuleNotFoundError on a base install without the tier3 extra

1 participant