Skip to content

fix(doctor): validate retired model successors on the selected route - #156435

Merged
steipete merged 4 commits into
openclaw:mainfrom
Orionation:fix/doctor-retired-model-catalog-validation
Sep 24, 2026
Merged

steipete merged 4 commits into
openclaw:mainfrom
Orionation:fix/doctor-retired-model-catalog-validation

Conversation

@Orionation

@Orionation Orionation commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Refs #156155
Consolidates #156317

What Problem This Solves

Fixes: openclaw doctor --fix can replace a retired model with another retired model or with a model that the selected account, route, or runtime cannot use.

User Impact

Doctor now keeps the original saved model reference and reports an actionable warning when the proposed successor is retired on the selected route or is proven incompatible. Supported successors still migrate, and temporary cooldowns or incomplete credential readiness do not block repair.

Why This Change Was Made

Successor validation now uses the same route, account, and agent settings that Doctor will preserve when it rewrites the reference. The check reuses the existing suppression, auth, runtime, and model-policy owners; it does not mutate the input while deciding. Pinned and preferred account selection retain their existing behavior.

The later manifest-membership check is removed: an absent manifest or configured-catalog row does not prove that the selected runtime/account excludes the successor. This keeps catalog hints from blocking valid repairs. Authoritative native account-catalog exclusion remains outside this bounded change; #156155 stays open.

Thanks @Orionation, @Bruce-Yii, and @SundayDriver for the original fixes and investigation.

Related: #156155. A cold Doctor run still lacks an authoritative negative account-catalog fact, so this change does not claim every catalog-exclusion case.

Evidence

Signed corrective checkpoint 54ef3ec36a4d843aa3eb9a5ececedf2398ba35fd (parent 7a12d040ce00d12354f3ae52f4d514d707ccfb2c, tree 9b2472448647e9fc7d80319a940c02a99e119828) preserves contributor commit 7a12d040 in its ancestry and returns both affected production files to the exact bytes qualified at 646e421b. One existing test is strengthened to exercise primary, fallback, and allow-list repair while the successor is absent from the available manifest and configured catalogs; no test case or production test seam is added.

  • On 7a12d040, the strengthened config-repair case and both existing cooldown cases fail, while 10 controls pass. The false catalog check retains the retired primary and fallback instead of migrating them.
  • After the correction, all 13 successor cases pass. An intermediate run caught an incorrect new fixture expectation: route-scoped retirement intentionally retains the old allow-list entry for other routes and adds the successor. The final assertion checks that exact two-entry contract; the original primary/fallback failure remains the causal RED.
  • The final corrective changed-file gate passed, including production and all 25 core-test typecheck groups, formatting, scoped lint, dead-export scans, and the selected structural/storage/import/auth guards. A fresh independent P0–P2 review completed with no findings.

Single-worker Node 24.21.0 cost for the final existing test file: 24.88 s maintained Vitest-shard wall, 22.29 s Vitest duration, and 6.609 s summed case time; the strengthened case takes 0.518 s. The controller observed 25.881 s from command release to joined readback, including its polling, and 1.811 GB sampled peak RSS. The 4.289 s cached worker preparation is included, not added. This is test-process cost, not product startup or turn latency; exact successor-head CI job cost is not available before publication.

Earlier qualification below remains bound to 646e421b; production-byte parity permits reuse of its package/update evidence. No new package build or installed-updater replay is claimed for the corrective commit.

  • 201 route/auth/Doctor/runtime/catalog tests passed, followed by the 10 successor cases after the final immutable-projection repair. The paired regression proof kept valid controls green while the original production behavior failed the unsafe successor cases; the repaired candidate passed all 13 paired cases.
  • 45 neighboring Doctor tests passed. Production and test type checks, formatting, lint, dead-export scans, import-cycle checks, changed gates, and fresh P0-P2 review passed.
  • Signed checkpoint 646e421bb0407211b2c1b8b74f4d052de696f56d has parent 343a01bde6c58e49bbb7f0fab75045d973ab4f8d and tree 8bd1be57a501dc24c063c42b6cfb6d45c95f5ee7. The exact package artifact SHA-256 is fae38a8770b327277ed247ce13b3ddeee69ed66cef7aecbec82740056646bdc3.
  • The published 2026.9.4 updater upgraded an isolated synthetic installation to that exact package. Candidate rehearsal, Doctor lint, config validation, plugin resolution, migration continuation, Gateway canary, package swap, post-install Doctor, and final lint all exited successfully. The installed candidate preserved the synthetic OAuth credential, migrated the supported retired model when an exact route was configured, retained unsafe successors, passed config validation, and was unchanged by a second Doctor run.
  • Final installed-proof result SHA-256: 5ba069a96a78cb220f3e03a321517764c56f856eb29e5bc8a982fa3ab454236b. Outer lifecycle receipt SHA-256: 253cf95041bed846a6589b410ef918d8a16a4427516b9c422bd2dbad8b3dd2d0.

Earlier proof attempts are retained as evidence. An unconditional-suppression fixture correctly failed validation; a route-conditioned fixture then completed the real update but exposed an overstrict immediate-migration assertion until the route was explicitly configured. Two later readback harness assertions failed only on warning-stream placement and authored-versus-effective defaults after all behavioral commands had passed. The final readback corrected those assertions without repeating the package update.

The failed-fixture path also exposed a separate published-2026.9.4 recovery limitation: the old recovery code cannot parse a newer candidate-only migration marker in private rehearsal state. This PR does not fix or claim proof for that recovery path.

No configuration schema, dependency, permission, or release change is included.

@openclaw-barnacle openclaw-barnacle Bot added commands Command implementations size: XS triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. labels Sep 23, 2026
@steipete

Copy link
Copy Markdown
Contributor

Thanks for the inline shape; it is the right place for this check. One finding blocks it as written:

The guard treats "no suppression rule for the successor" as "successor not in the installed catalog", which turns valid migrations into destructive clears. At src/commands/doctor/shared/retired-model-ref-repair.ts:370 an undefined suppression result only means no suppression applies to the successor; it does not establish that the model is absent. The published OpenAI manifest for 2026.9.5 lists gpt-5.6-terra in its catalog without any suppression rule, so on an install where the successor is perfectly available (supplied by the built-in catalog rather than duplicated in operator config) this branch returns clear and Doctor removes the allow/fallback entries it should have migrated.

The check needs to ask the catalog/resolution owner whether the successor resolves (catalog membership plus, if you want the auth dimension, an authoritative availability === false from the same profile context that proved the source retirement), and only then retain the original reference with a recorded warning naming the successor and the reason. "Unknown" or transient availability must still migrate. A boundary test would pin both cases: unresolvable successor → retained + warned; catalog successor without a suppression rule → migrated.

For context, #156317 addresses the same issue with the correct semantics but currently has a type-export error and an import cycle; whichever PR lands first with the correct check and a test will close #156155, with credit to both of you.

@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 23, 2026
@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge. Reviewed September 24, 2026, 2:11 PM ET / 18:11 UTC (Revision 5).

ClawSweeper review

What this changes

The branch makes Doctor check a retired model's proposed replacement against the selected route, authentication, runtime, and retirement rules before rewriting saved model references.

Merge readiness

⛔ Blocked before merge - 3 items remain

This remains useful work: current main still rewrites declared retired-model successors without the proposed route-aware guard. The latest commit removes the catalog assumption identified in the previous review. The separate native account-catalog case remains tracked by #156155, and the current-head security approval gate still fails.

Priority: P2
Reviewed head: 54ef3ec36a4d843aa3eb9a5ececedf2398ba35fd
Owner decision: Required. See Decision needed.

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The repaired patch has meaningful route and upgrade evidence, with current-head security authorization still required before merge.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (terminal): The PR body reports an installed update from the published 2026.9.4 driver through Doctor, with saved-state readback showing supported migration, unsafe-successor retention, credential preservation, and an unchanged second pass. The current production owner matches that checkpoint byte for byte; the latest change strengthens a test. This supports the changed saved-config behavior and existing-state compatibility, while native account-catalog exclusion remains outside this PR's proof and scope.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR body reports an installed update from the published 2026.9.4 driver through Doctor, with saved-state readback showing supported migration, unsafe-successor retention, credential preservation, and an unchanged second pass. The current production owner matches that checkpoint byte for byte; the latest change strengthens a test. This supports the changed saved-config behavior and existing-state compatibility, while native account-catalog exclusion remains outside this PR's proof and scope.
Evidence reviewed 8 items Current main still rewrites successors: The current-main repair path takes replacedBy and returns a replacement without checking the successor's selected route or retirement state.
Introduced guard: The guard retains and warns for definitive route incompatibility or a retired successor, while treating unknown availability and cooldown as nonblocking.
Prior catalog finding addressed: The current guard contains no manifest-membership rejection, and the strengthened saved-config case expects migration when the successor is absent from manifest and configured catalog rows. The production guard blob matches checkpoint 646e421.
Findings None None.
Security None None.

How this fits together

Doctor reads saved model selections during repair and updates. It uses retirement and account-route information to decide whether to preserve or rewrite those selections before the agent uses them.

flowchart LR
A[Saved model selection] --> B[Doctor retirement rule]
B --> C[Proposed successor]
C --> D[Selected route and account checks]
D --> E[Retirement check]
E --> F[Keep and warn or migrate]
F --> G[Saved model settings]
Loading

Decision needed

Question Recommendation
Will an authorized security reviewer approve the authentication-route changes at head 54ef3ec? Review and approve this head: An authorized reviewer inspects the final authentication diff and satisfies the exact-head security gate.

Why: The repository's exact-head security gate is failing, and an earlier approval command cannot authorize a later revision.

Before merge

  • Resolve merge risk (P1) - The repository's security-sensitive approval gate is failing for this head; the earlier approval command does not establish authorization for the latest authentication-route changes.
  • Complete next step (P2) - Obtain an authorized security-sensitive approval for the current head before merge.
  • Resolve maintainer decision - Resolve the maintainer decision shown above before merge.
Agent review details

Security

None.

PR surface

Source +322, Tests +369, Docs 0. Total +691 across 11 files.

View PR surface stats
Area Files Added Removed Net
Source 7 526 204 +322
Tests 3 371 2 +369
Docs 1 1 1 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 11 898 207 +691

Review metrics

None.

Stored data model

Persistent data-model change detected: migration/backfill/repair: src/commands/doctor/shared/retired-model-ref-owner.ts, migration/backfill/repair: src/commands/doctor/shared/retired-model-ref-repair.types.ts, migration/backfill/repair: src/commands/doctor/shared/retired-model-ref-settings.ts, migration/backfill/repair: src/commands/doctor/shared/retired-model-successor-guard.ts, unknown-data-model-change: src/commands/doctor/shared/retired-model-ref-owner.ts, unknown-data-model-change: src/commands/doctor/shared/retired-model-ref-repair.ts, and 2 more. Migration or upgrade compatibility proof is recorded; maintainers should verify it before merge.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #156155
Summary: This PR addresses part of the reported Doctor migration failure; the native account-catalog case remains with the issue, and the other open PR overlaps.

Members:

Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything.

Merge-risk options

Maintainer options:

  1. Obtain current-head security approval (recommended)
    Have an authorized reviewer inspect this head and clear the repository's security-sensitive gate before merge.
  2. Hold the PR
    Leave the branch open if the authorized reviewer needs changes to the authentication-route behavior.

Technical review

Best possible solution:

Keep the route-aware Doctor guard and its existing-state upgrade proof, obtain authorized security approval for this head, and resolve native account-catalog exclusion through the linked issue's authoritative runtime boundary.

Do we have a high-confidence way to reproduce the issue?

Yes, from source and the linked report: current main rewrites a declared successor without checking its route or retirement state. This read-only review did not execute Doctor.

Is this the best way to solve the issue?

Yes for the branch's stated route and retirement scope: it checks the context Doctor will preserve and leaves unknown availability nonblocking. Native account-catalog exclusion needs the separate runtime-owned result tracked by the linked issue.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 1f0e757498d3.

Labels

Label changes:

No label changes.

Label justifications:

  • P2: Doctor can save an unusable model fallback for affected accounts, but the reported route case has limited blast radius.
  • merge-risk: 🚨 compatibility: The guard changes whether Doctor rewrites existing saved model selections during an upgrade.
  • merge-risk: 🚨 auth-provider: A wrong selected-route or credential-availability decision could retain or migrate the wrong model for an account.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR body reports an installed update from the published 2026.9.4 driver through Doctor, with saved-state readback showing supported migration, unsafe-successor retention, credential preservation, and an unchanged second pass. The current production owner matches that checkpoint byte for byte; the latest change strengthens a test. This supports the changed saved-config behavior and existing-state compatibility, while native account-catalog exclusion remains outside this PR's proof and scope.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body reports an installed update from the published 2026.9.4 driver through Doctor, with saved-state readback showing supported migration, unsafe-successor retention, credential preservation, and an unchanged second pass. The current production owner matches that checkpoint byte for byte; the latest change strengthens a test. This supports the changed saved-config behavior and existing-state compatibility, while native account-catalog exclusion remains outside this PR's proof and scope.

Evidence

What I checked:

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Ayaan Zaidi: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (4 earlier review cycles)
  • reviewed September 23, 2026, 7:47 AM ET / 11:47 UTC sha unknown :: needs real behavior proof before merge. :: [P1] Use catalog resolution instead of suppression to validate successors | [P2] Evaluate successor retirement against the selected route
  • reviewed 2026-09-23T23:38:37.703Z sha 343a01b :: needs real behavior proof before merge. :: [P1] Verify successor catalog membership before rewriting | [P2] Handle an incompatible successor route
  • reviewed 2026-09-24T11:18:31.913Z sha 646e421 :: blocked before merge. :: [P1] Check installed-catalog exclusion before migrating
  • reviewed 2026-09-24T13:47:40.190Z sha 7a12d04 :: needs real behavior proof before merge. :: [P1] Check the selected runtime catalog before claiming successor availability

…ively unavailable

When doctor --fix processes a retired model reference, it resolves the
replacement from the manifest suppression rule. A successor that is
present in the plugin catalog but unavailable on this install (wrong
account tier, region, or plugin version) was previously written silently,
producing an unusable model reference that only fails at inference time.

Previous attempt (cleared-on-no-suppression-rule) was incorrect: an
undefined suppression result means no suppression applies, not that the
successor is absent. Valid catalog-only successors like xai/grok-4.7
have no suppression rule but are perfectly valid migrations.

Fix: evaluate the successor against the same auth-resolution context that
proved the source model's retirement. Only an authoritative negative
(availabilityAuthoritative=true, availability=false) blocks migration.
Unknown or transient availability (undefined) continues to migrate so
the operator can resolve auth after the reference is written.

When a successor is authoritatively unavailable, the repair now:
- Retains the original reference (rather than clearing to an inherited
  default, which could silently downgrade to a worse model)
- Emits an actionable warning naming the successor, the reason, and
  how to fix it

Fixes openclaw#156155
@Orionation
Orionation force-pushed the fix/doctor-retired-model-catalog-validation branch from 1fc390f to 343a01b Compare September 23, 2026 23:31
@Orionation

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

Keep the saved model reference when its proposed successor is retired on the
selected route or incompatible with the selected account and runtime settings.
Evaluate the settings that repair will preserve without changing the input,
while allowing valid migrations during transient cooldowns or unknown readiness.

Consolidates openclaw#156317 into openclaw#156435 and repairs its route regression assertion
and unused type export. Related: openclaw#156155; native account-catalog exclusion is
not established by this change.

Co-authored-by: Bruce-Yii <[email protected]>
Co-authored-by: Jonathan Sieling <[email protected]>
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation agents Agent runtime and tooling size: XL and removed size: XS labels Sep 24, 2026
@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

✅ Maintainer security changes approved

A maintainer approved this revision with an explicit security approval comment.

A later push requires a fresh approval comment for an external contributor's PR.

@openclaw-barnacle openclaw-barnacle Bot removed the triage: needs-pr-context Candidate: external PR body lacks required problem context or evidence. label Sep 24, 2026
@SundayDriver

Copy link
Copy Markdown
Contributor

/allow-security-sensitive-change

…essor

Add an authoritative installed-catalog membership check to the successor
guard so Doctor retains the saved model reference when the proposed
successor is proven absent from the installed plugin model catalog.

When the provider has catalog entries but the successor model is not among
them, Doctor now preserves the original reference and emits a warning
naming the absent successor and the required manual step. When catalog
membership cannot be determined (no catalog entries for the provider or
resolution failure), migration proceeds as before.

Addresses the remaining ClawSweeper finding at
retired-model-successor-guard.ts:106-110 and the installed-catalog
exclusion case in openclaw#156155.

Co-authored-by: Jonathan Sieling <[email protected]>
@Orionation

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

Retain route, account, runtime and retirement checks without treating a
missing manifest/config catalog row as native account exclusion. Preserve
the contributor follow-up in ancestry and the supported migration behavior.

Strengthen the existing config-repair regression; primary/fallback migration,
route-scoped allow-list retention and cooldown controls now pass. Native
account-catalog exclusion remains open under Refs openclaw#156155.

Co-authored-by: Bruce-Yii <[email protected]>
Co-authored-by: Jonathan Sieling <[email protected]>
@steipete steipete changed the title fix(doctor): clear retired model successor when it is not resolvable in the installed catalog fix(doctor): validate retired model successors on the selected route Sep 24, 2026
@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🧂 unranked krab Not merge-ready due to missing proof or serious correctness/safety concerns. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Sep 24, 2026
@steipete

Copy link
Copy Markdown
Contributor

/allow-security-sensitive-change

@steipete

Copy link
Copy Markdown
Contributor

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
Exact review queued.

Re-review progress:

@steipete
steipete merged commit 62580c1 into openclaw:main Sep 24, 2026
207 checks passed
@steipete

Copy link
Copy Markdown
Contributor

Merged via squash.

@roboclaw-bot roboclaw-bot mentioned this pull request Sep 24, 2026
2 of 8 tasks
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 25, 2026
…penclaw#156435)

* fix(doctor): retain with warning when catalog successor is authoritatively unavailable

When doctor --fix processes a retired model reference, it resolves the
replacement from the manifest suppression rule. A successor that is
present in the plugin catalog but unavailable on this install (wrong
account tier, region, or plugin version) was previously written silently,
producing an unusable model reference that only fails at inference time.

Previous attempt (cleared-on-no-suppression-rule) was incorrect: an
undefined suppression result means no suppression applies, not that the
successor is absent. Valid catalog-only successors like xai/grok-4.7
have no suppression rule but are perfectly valid migrations.

Fix: evaluate the successor against the same auth-resolution context that
proved the source model's retirement. Only an authoritative negative
(availabilityAuthoritative=true, availability=false) blocks migration.
Unknown or transient availability (undefined) continues to migrate so
the operator can resolve auth after the reference is written.

When a successor is authoritatively unavailable, the repair now:
- Retains the original reference (rather than clearing to an inherited
  default, which could silently downgrade to a worse model)
- Emits an actionable warning naming the successor, the reason, and
  how to fix it

Fixes openclaw#156155

* fix(doctor): validate retired model successors before migration

Keep the saved model reference when its proposed successor is retired on the
selected route or incompatible with the selected account and runtime settings.
Evaluate the settings that repair will preserve without changing the input,
while allowing valid migrations during transient cooldowns or unknown readiness.

Consolidates openclaw#156317 into openclaw#156435 and repairs its route regression assertion
and unused type export. Related: openclaw#156155; native account-catalog exclusion is
not established by this change.

Co-authored-by: Bruce-Yii <[email protected]>
Co-authored-by: Jonathan Sieling <[email protected]>

* fix(doctor): check installed-catalog membership before migrating successor

Add an authoritative installed-catalog membership check to the successor
guard so Doctor retains the saved model reference when the proposed
successor is proven absent from the installed plugin model catalog.

When the provider has catalog entries but the successor model is not among
them, Doctor now preserves the original reference and emits a warning
naming the absent successor and the required manual step. When catalog
membership cannot be determined (no catalog entries for the provider or
resolution failure), migration proceeds as before.

Addresses the remaining ClawSweeper finding at
retired-model-successor-guard.ts:106-110 and the installed-catalog
exclusion case in openclaw#156155.

Co-authored-by: Jonathan Sieling <[email protected]>

* fix(doctor): keep catalog hints non-authoritative

Retain route, account, runtime and retirement checks without treating a
missing manifest/config catalog row as native account exclusion. Preserve
the contributor follow-up in ancestry and the supported migration behavior.

Strengthen the existing config-repair regression; primary/fallback migration,
route-scoped allow-list retention and cooldown controls now pass. Native
account-catalog exclusion remains open under Refs openclaw#156155.

Co-authored-by: Bruce-Yii <[email protected]>
Co-authored-by: Jonathan Sieling <[email protected]>

---------

Co-authored-by: Jonathan Sieling <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Bruce-Yii <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agents Agent runtime and tooling commands Command implementations docs Improvements or additions to documentation merge-risk: 🚨 auth-provider 🚨 May break OAuth, tokens, provider routing, model choice, or credentials. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. security-sensitive-changed size: XL status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants