Files
DeepSeek-Reasonix/internal/websearch
SivanCola 8f2af047d0 fix(doctor): unify skill tool reference diagnostics
Problem: doctor reports built-in review skills as referencing a missing
use_capability tool, while capability diagnostics do not check those references.

Root cause: the ordinary doctor passes no runtime tool inventory and relies on
an incomplete name whitelist; its skill discovery also omits configured filters.

Fix: share static host tool identities with runtime names, reuse compile-time
built-ins, and route both diagnostic entrypoints through the same skill discovery
and reference checks. Preserve unknown-name and MCP dependency warnings while
marking unresolved dynamic references as unverified. Reuse existing MCP parsing
semantics and observed host bindings without starting servers during static checks.

Verification: full root Go tests, affected diagnostic package race tests,
affected-package go vet, repolint, and isolated CLI checks passed. CLI checks
observed zero provider requests and zero MCP starts. English and Chinese
diagnostic documentation updated. Tool names, schemas, and permissions unchanged.
2026-09-08 22:15:09 +08:00
..