Skip to content

fix(doctor): skip operator-declared optional integrations instead of warning - #50041

Draft
arminanton wants to merge 1 commit into
NousResearch:mainfrom
arminanton:fix/doctor-optional-integrations
Draft

fix(doctor): skip operator-declared optional integrations instead of warning#50041
arminanton wants to merge 1 commit into
NousResearch:mainfrom
arminanton:fix/doctor-optional-integrations

Conversation

@arminanton

Copy link
Copy Markdown
Contributor

hermes doctor warned about integrations the operator intentionally left unconfigured. Adds _config_string_set + an optional-toolset/auth skip so operator-declared optional integrations are skipped rather than flagged as warnings. hermes_cli/doctor.py + 2 tests. Draft for review.

@alt-glitch alt-glitch added type/bug Something isn't working comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have labels Jun 21, 2026
arminanton added a commit to arminanton/hermes-agent that referenced this pull request Jun 22, 2026
…LE) + reproducible delta map

- GITHUB-MERGEABLE-AUDIT.md: GitHub mergeable=40/41 (only NousResearch#50111 manifest conflicts).
  6 PRs (NousResearch#50296/NousResearch#49644/NousResearch#50041/NousResearch#50073/NousResearch#50064/NousResearch#50033) genuinely conflicted on current
  origin/main (drifted past v0.17.0); each rebased (1-file complementary conflict),
  now MERGEABLE.
- DELTA-MAP-v017.md: reproducible per-file map (PR diffs vs v0.17.0, fresh tips):
  160 = 137 in-PR + 21 DISCARD + 2 upstream-NousResearch#29433 + 0 orphans, sum verified.
arminanton added a commit to arminanton/hermes-agent that referenced this pull request Jun 22, 2026
…tem 4)

Reviewed every in-review and draft PR THIS run (not just the 6 with v0.17.0
resolutions): applies-on-own-base + compile + own-tests, each failure root-caused.

FIXED THIS RUN:
- NousResearch#49916 was CONFLICTING/DIRTY on main (main reformatted the _session_info YOLO
  block). Rebased via a merge commit (no force-push), kept the PR's fix, now
  MERGEABLE (head caa1dae, 45 yolo/session tests pass).

FINDINGS (PER-PR-REVIEW-FIX-STATUS.txt):
- 41/42 apply clean on their own base; 30 PRs own-tests green; 12 no-own-tests
  (compile-verified).
- 4 test 'failures' ALL characterized, NONE a regression: NousResearch#50078 = cross-PR
  stacking dependency (its catch-up tests need NousResearch#49644, pass when co-applied);
  NousResearch#50031/NousResearch#50032 = user-isolated WIP drafts (auto-router/source-accelerator);
  NousResearch#50041 = codex-hint depends on draft codex code.
- 1 PR needs a USER DECISION: NousResearch#50457 (opus-context bundle) is stale — built on
  v0.17.0, main is 318 commits ahead, its auth.py/runtime_provider.py REVERT main
  improvements (-863 lines), 58 own-tests fail even on its own head. Cannot
  mechanically rebase without rewriting the test.
…warning

hermes doctor warned about integrations the operator intentionally left unconfigured. Adds _config_string_set + operator-ignore handling so optional toolsets/auth rows declared as ignored are skipped rather than flagged. + 2 tests.
@arminanton
arminanton force-pushed the fix/doctor-optional-integrations branch from 9103989 to 7ac5b43 Compare June 23, 2026 19:31

@teknium1 teknium1 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing the noisy optional-integration diagnostics. The premise still holds on current main: disabled/default-off toolsets are excluded only from the final summary, while their warning rows remain at hermes_cli/doctor.py:2187-2200.

Problems

  • ignore_auth_providers is presented as a provider list, but the diff only checks it for Nous Portal and MiniMax OAuth. OpenAI Codex and xAI OAuth still emit their own warnings at hermes_cli/doctor.py:1115-1152.
  • The PR adds doctor.ignore_toolsets and doctor.ignore_auth_providers without registering or documenting them. DEFAULT_CONFIG begins at hermes_cli/config.py:976, and this PR changes only hermes_cli/doctor.py and tests/hermes_cli/test_doctor.py.

Suggested changes

  • Apply the auth-ignore behavior to every Auth Providers row, or explicitly scope the setting to the supported rows.
  • Add empty defaults and user-facing documentation for the new doctor configuration section.
  • Cover output from run_doctor, including the auth rows, rather than only helper predicates.

This is an automated hermes-sweeper review.

Comment thread hermes_cli/doctor.py
@@ -1074,11 +1118,14 @@ def run_doctor(args):
get_minimax_oauth_auth_status,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ignore_auth_providers is generic, but this diff only consumes it for Nous and MiniMax. Please also apply it to the OpenAI Codex and xAI OAuth warning paths, or narrow the setting to the providers it actually controls.

Comment thread hermes_cli/doctor.py
@@ -77,6 +77,48 @@ def _safe_which(cmd: str) -> str | None:
return None

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This creates a new user-facing doctor.* config surface. Please add empty defaults to DEFAULT_CONFIG and document the accepted toolset/provider names so users can discover and configure it.

@teknium1 teknium1 added sweeper:blast-contained Sweeper blast radius: contained — one narrow path / opt-in / few users area/install-update Installer, updater, packaging, wheels, doctor labels Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/install-update Installer, updater, packaging, wheels, doctor comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have sweeper:blast-contained Sweeper blast radius: contained — one narrow path / opt-in / few users type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants