gsknnft
d799f84658
fix(claw3doctor): scope provider-specific checks to --profile / --all-profiles flags
...
PR #101 finding:
- Medium: --profile <adapter> and --all-profiles only scoped the profile health
probe loop; OpenClaw/Hermes/Demo/Custom check blocks still ran based on the
selected adapter type in runtimeContext, making CLI output misleading.
Fix: introduce adapterInScope(adapterType, defaultBehavior) helper in main().
- --profile <adapter> -> only that adapter's checks run
- --all-profiles -> all adapter checks run
- no flag -> falls back to existing shouldRun* predicate (unchanged)
Also:
- Export parseDoctorArgs from claw3doctor-core.mjs (removed duplicate in script)
- Add test suites: parseDoctorArgs flag parsing (6 cases) and
adapterInScope scoping semantics (4 cases) — 10 new tests, all green
2026-04-06 11:12:41 -04:00
..
2026-04-03 17:02:06 -05:00
2026-03-20 23:05:14 -05:00
2026-04-03 17:57:36 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-20 23:05:14 -05:00
2026-03-19 23:14:04 -05:00
2026-04-03 17:57:36 -05:00
2026-04-04 17:25:44 -04:00
2026-04-03 17:57:36 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-04-03 17:35:13 -05:00
2026-03-27 22:21:41 -05:00
2026-03-27 22:21:41 -05:00
2026-04-04 17:25:44 -04:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-04-06 11:12:41 -04:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-27 12:59:44 -05:00
2026-03-27 12:59:44 -05:00
2026-03-19 23:14:04 -05:00
2026-04-02 15:27:24 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-04-03 17:02:06 -05:00
2026-03-19 23:14:04 -05:00
2026-04-02 15:27:24 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-27 13:05:25 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-04-04 17:22:38 -04:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-04-03 23:19:59 -05:00
2026-04-03 17:35:13 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-04-03 17:02:06 -05:00
2026-03-19 23:14:04 -05:00
2026-04-03 23:19:59 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-27 13:19:47 -05:00
2026-03-21 16:04:15 -05:00
2026-03-28 22:08:05 -05:00
2026-03-30 22:58:18 -05:00
2026-03-21 17:23:11 -05:00
2026-03-23 18:04:37 -05:00
2026-03-27 12:59:44 -05:00
2026-04-04 17:22:38 -04:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-04-03 17:57:36 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-03-23 18:04:37 -05:00
2026-04-02 15:27:24 -05:00
2026-03-30 22:58:18 -05:00
2026-04-03 17:57:36 -05:00
2026-04-03 17:57:36 -05:00
2026-03-19 23:14:04 -05:00
2026-03-23 11:44:25 -05:00
2026-03-27 22:21:41 -05:00
2026-03-23 11:44:25 -05:00
2026-03-27 22:21:41 -05:00
2026-04-04 17:25:44 -04:00
2026-03-30 22:58:18 -05:00
2026-03-19 23:14:04 -05:00
2026-03-30 22:58:18 -05:00
2026-03-19 23:14:04 -05:00
2026-03-20 23:05:14 -05:00
2026-03-20 23:05:14 -05:00
2026-03-19 23:14:04 -05:00
2026-03-30 22:58:18 -05:00
2026-03-19 23:14:04 -05:00
2026-04-03 17:35:13 -05:00
2026-04-04 17:22:38 -04:00
2026-03-19 23:14:04 -05:00
2026-03-30 22:58:18 -05:00
2026-04-04 17:22:38 -04:00
2026-03-30 22:58:18 -05:00
2026-03-30 22:58:18 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-04-04 17:22:38 -04:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00
2026-04-03 17:57:36 -05:00
2026-04-02 15:27:24 -05:00
2026-03-19 23:14:04 -05:00
2026-03-23 18:04:37 -05:00
2026-03-19 23:14:04 -05:00
2026-03-27 13:42:03 -05:00
2026-03-19 23:14:04 -05:00
2026-03-19 23:14:04 -05:00