#18546: fix(doctor): replace deprecated `auth add` command reference
commands
stale
size: XS
Cluster:
Doctor and Memory Health Checks
## Summary
Fixes #18535
`openclaw doctor` suggests running `openclaw auth add --provider openai` when no embedding provider is configured for memory search, but the `auth add` subcommand has been deprecated.
Replaces both occurrences in `doctor-memory-search.ts` with `openclaw configure`, which is the current command used consistently across the rest of the doctor diagnostics (see `doctor-auth.ts`).
## Test plan
- [x] `pnpm vitest run src/commands/doctor-memory-search.test.ts` — 4/4 pass
- [x] Lint clean
<!-- greptile_comment -->
<h3>Greptile Summary</h3>
Replaces two references to the deprecated `openclaw auth add` command with `openclaw configure` in the `doctor-memory-search.ts` diagnostic output. This aligns memory-search doctor messages with the convention already used by `doctor-auth.ts`, `doctor-security.ts`, `doctor.ts`, and other doctor diagnostics throughout the codebase. No behavioral or logic changes — purely a user-facing message fix.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge — it only updates two user-facing diagnostic strings with no logic changes.
- The change is minimal (two string literal replacements), introduces no new logic, and aligns with the established pattern across all other doctor diagnostics. Tests pass and no other code paths are affected.
- No files require special attention.
<sub>Last reviewed commit: 84b7f3c</sub>
<!-- greptile_other_comments_section -->
<!-- /greptile_comment -->
Most Similar PRs
#22327: fix(doctor): use gateway health status for memory search key check
by therk · 2026-02-21
81.8%
#13045: feat(doctor): add memory search embeddings provider health check
by asklee-klawd · 2026-02-10
81.4%
#21240: fix: GH#20607 prevent doctor from dropping custom config sections
by theognis1002 · 2026-02-19
80.7%
#22342: fix(doctor): --fix now actually removes unrecognized config keys
by MisterGuy420 · 2026-02-21
79.6%
#20125: fix(doctor): skip memorySearch provider check when using QMD backend
by brandonwise · 2026-02-18
79.5%
#17660: fix: skip embedding provider check in doctor when QMD backend is co...
by echoVic · 2026-02-16
79.4%
#21631: feat(doctor): detect memory plugins in memory search health check
by tsukhani · 2026-02-20
78.5%
#22408: fix: doctor --fix now persists config when removing unrecognized keys
by astroclaw · 2026-02-21
78.5%
#22501: fix(doctor): preserve logging config in doctor --fix
by Shuai-DaiDai · 2026-02-21
78.4%
#11602: fix(config): skip stale legacy config files when openclaw.json exists
by akoscz · 2026-02-08
78.1%