Repository navigation
fix(models): retain compatible catalogs after refresh failures - #139357
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 5, 2026, 5:24 PM ET / 21:24 UTC. ClawSweeper reviewWhat this changesRetains compatible provider model lists after failed refreshes while rebuilding configured and native model choices for the current runtime. Merge readiness⛔ Blocked before merge - 4 items remain This remains a useful repair absent from current main. The earlier cold-fallback finding is addressed, and the latest test-only adjustment introduces no blocking correctness finding. Priority: P2 Review scores
Verification
How this fits togetherThe Gateway’s catalog owner combines provider discovery, configured models, and native runtime observations into model choices used by catalog consumers. Refresh outcomes determine whether provider inventory is replaced or retained. flowchart TD
A[Provider discovery and outcomes] --> C[Catalog publication owner]
B[Previous compatible inventory] --> C
C --> D{Refresh succeeded?}
D -->|Yes| E[Replace provider inventory]
D -->|No| F[Retain compatible inventory or advisory rows]
E --> G[Compose current configured and native models]
F --> G
G --> H[Gateway catalog and model choices]
Decision needed
Why: The restricted-path policy requires owner involvement, and the supplied discussion explicitly leaves that decision pending. Before merge
Agent review detailsSecurityNone. PR surfaceSource +298, Tests +738, Docs +10. Total +1046 across 25 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Keep retention in the existing publication owner, with current-generation composition and secops-reviewed private credential matching; a net-neutral replacement was not established that preserves all three boundaries. Do we have a high-confidence way to reproduce the issue? Yes: current main replaces learned inventory after a failed worker refresh, and the supplied built-Gateway sequence describes success followed by HTTP 503. This read-only review did not execute that sequence. Is this the best way to solve the issue? Yes: the publication owner can preserve compatible inventory across providers while recomposing current runtime rows; consumer caches would duplicate this policy and miss lifecycle invalidation. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 7f004de38416. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
History |
|
Landed as Proof: Exact-head CI is green. A fresh local review found no code or security defects and accepted the retained built Gateway/CLI proof: all 12 checks passed across cold fallback, failed refresh, healthy sibling updates, recovery, successful empty results, policy reloads, and identity changes.
The publication prerequisite is complete. The separate strict provider-discovery cutover remains deferred; the larger draft is not merged. |
* origin/main: fix(cli): keep note text with Windows and Unicode line endings (#139512) fix(agents): keep isolated completion context on its admitted generation (#139607) fix: avoid declaration builds during source-server updates (#139392) fix(models): keep discovered models after catalog refresh failures (#139357) fix(gateway): record a transcript notice when a run fails before replying (#139439) refactor(ios): reuse shared integer conversion (#139581) fix(sessions): prevent database lock failures during reclamation (#139469) perf(test): reuse transforms within owned scheduler slots (#139553) test(agents): share sparse transcript input fixtures (#139589) chore(ui): refresh control ui locales (#139481) fix(slack): keep prototype-named emoji shortcodes intact (#136374) fix(gateway): deliver upgrade rejection responses under Bun (#139516) refactor(test): simplify catalog guards and fix native report fixture (#139496) fix(macos): prevent dashboard fixture loopback timeouts (#139556) fix(matrix): preserve selected reply targets inside threads (#139479)
* commit '6c55a99226ed0611ca088004c81b00fb296f1f71': (182 commits) test(ui): scope dashboard settings setup to the top frame (openclaw#139618) refactor(skills): share pending proposal creation (openclaw#139617) fix(release): accept frozen targets before worker bundles (openclaw#136699) fix(gateway): preserve percent sequences in media filenames (openclaw#139508) fix: preserve current update availability alongside update history (openclaw#139501) feat(diagnostics): expose garbage collection duration metrics (openclaw#139592) fix(ui): keep Logbook timestamps clear of the activity stripe (openclaw#139539) fix(ui): keep Swarm outcomes visible after completion (openclaw#139490) test: check file accessibility without runtime-specific return values (openclaw#139590) refactor(sdk): keep helper types private (openclaw#139601) fix(cron): preserve current-session delivery intent (openclaw#139491) fix: prevent browser profile permission hangs in Doctor (openclaw#139612) fix(agents): repair storage-failure test fixture after failover owner move (openclaw#139531) fix(cli): keep note text with Windows and Unicode line endings (openclaw#139512) fix(agents): keep isolated completion context on its admitted generation (openclaw#139607) fix: avoid declaration builds during source-server updates (openclaw#139392) fix(models): keep discovered models after catalog refresh failures (openclaw#139357) fix(gateway): record a transcript notice when a run fails before replying (openclaw#139439) refactor(ios): reuse shared integer conversion (openclaw#139581) fix(sessions): prevent database lock failures during reclamation (openclaw#139469) ...
* commit 'refs/openclaw/tasks/pr-135167-main-latest': test(ui): scope dashboard settings setup to the top frame (#139618) refactor(skills): share pending proposal creation (#139617) fix(release): accept frozen targets before worker bundles (#136699) fix(gateway): preserve percent sequences in media filenames (#139508) fix: preserve current update availability alongside update history (#139501) feat(diagnostics): expose garbage collection duration metrics (#139592) fix(ui): keep Logbook timestamps clear of the activity stripe (#139539) fix(ui): keep Swarm outcomes visible after completion (#139490) test: check file accessibility without runtime-specific return values (#139590) refactor(sdk): keep helper types private (#139601) fix(cron): preserve current-session delivery intent (#139491) fix: prevent browser profile permission hangs in Doctor (#139612) fix(agents): repair storage-failure test fixture after failover owner move (#139531) fix(cli): keep note text with Windows and Unicode line endings (#139512) fix(agents): keep isolated completion context on its admitted generation (#139607) fix: avoid declaration builds during source-server updates (#139392) fix(models): keep discovered models after catalog refresh failures (#139357) fix(gateway): record a transcript notice when a run fails before replying (#139439)
…penclaw#139357) Related: openclaw#136257 ## What Problem This Solves Users can lose learned model choices when a provider's catalog refresh fails. Metadata can also refill a successful empty account list, and reloads can retain configured or native rows from the previous runtime generation. ## Why This Change Was Made The existing catalog owner retains compatible provider inventory and physical routes while publishing current failure outcomes. Healthy providers update normally. Successful responses replace prior membership, including an empty response. Configured models and native observations remain generation-owned. The worker carries its existing configured-model facts separately from reusable provider metadata, so personal-auth projections cannot revive retired configured rows. Credential facts stay private and come from the discovery that produced the inventory. The same owner handles alias normalization, plugin/account/endpoint invalidation, multi-provider hook failures, and explicit refreshes arriving during native-only composition. Late results from timed-out hooks cannot replace their failure outcome. This is the publication prerequisite, not the later provider-discovery cutover. Provider algorithms and the shipped advisory SDK helper remain unchanged. No auth-refresh mutation API, personal-auth policy, configuration option, or persistent schema changes. ## User Impact - Failed refreshes keep compatible learned choices and report the failed provider. - On a first-request outage, the provider's own advisory rows remain visible. They cannot widen compatible last-good inventory, including a successful empty list. - Metadata cannot refill successful empty account membership. Explicitly configured and independent native models remain separate. - Policy-only reloads apply current restrictions without provider discovery. - Changed credentials, endpoints, or plugins cannot inherit incompatible inventory. - Current configured/native models are recomposed without retaining retired runtime rows. ## Evidence Actual built Gateway and CLI with bundled OpenAI and DeepSeek, controlled HTTPS responses, and synthetic credentials: | Scenario | Before | Verified result | | --- | --- | --- | | Successful discovery, then HTTP 503 | Main `eadbc6029013` loses `chat-latest` | Keeps the learned row, reports unavailable, and updates the healthy sibling | | Cold HTTP 503 | Earlier candidate `28ead9eb46e9` drops provider-supplied fallback rows | Keeps the unconfigured `gpt-5.4-pro` fallback and reports unavailable | | Outage after a narrower successful list | Advisory rows could widen learned membership | Last-good inventory wins; extra fallback rows stay absent | | Recovery | Requires replacement, not accumulation | A real response containing `gpt-5.4-mini` adds it and removes retained `chat-latest` | | Successful empty, then HTTP 503 | Metadata/fallback could recreate membership | Both learned and advisory controls remain absent; failure is explicit | | Policy reload | Must not start discovery | Hides/restores learned choices with no provider requests, also after normal cache expiry | | Account, endpoint, plugin changes | Must isolate inventories | Each invalidates the old learned row; changed-account failure cannot inherit it | An independent source-blind validator passed all 12 checks on exact built commit `4d294174305530dae6e205960417ae7ca4f56885`. One Gateway process served the sequence. Requests were observed after the normal provider cache expired; caches and clocks were not modified. The custom-endpoint control proves invalidation and the existing no-discovery branch, not an HTTP failure at that endpoint. No operator state or external inference was used. The exploratory `gpt-4.1` recovery input was filtered by the unchanged provider metadata intersection. Its complete evidence is retained; a supported `gpt-5.4-mini` replacement sequence supplied the positive recovery proof. No support for the filtered input is claimed. All 51 focused builder/owner tests pass. All 17 existing Gateway lifecycle cases also pass without changing their assertions. Earlier worker, family-outcome, alias and personal-auth controls remain retained. Scoped typed lint passes. Independent code review is clean through P2. The final commit `d119c90062ffd0b3e0200cb1750e84cb52ab35a8` moves one illustrative test fixture between existing routing assertion tables. The native test's real-module import already places it in the full agent lane, not the isolated fast lane. All 14 routing tests and the incremental review pass. No production, build, dependency, runtime configuration, or fixture input changed; the actual built proof remains bound to `4d294174305530dae6e205960417ae7ca4f56885`, not relabelled as a new build. Exact-head CI remains required. ## Review Follow-Up The cold-fallback finding and rank-up move are addressed at the existing publication owner, with actual built cold-failure, recovery, and empty-then-failure coverage. Removed the overbroad failure filter and redundant readiness map instead of adding another fallback system. Legacy providers without typed outcomes keep their existing inventory contract. The six CI Gateway failures came from removing a shared test stub, which started discovery before those fixtures' manual observation boundary. Restored its original default; only the new native-recomposition case opts into the real resolver. No chat/session policy changed. The optional native-method presence check now uses `typeof`, fixing typed lint without invoking the method. The existing private credential attachment carries already-captured discovery facts. No credential selection, auth mutation, storage, or public serialization is added. The local review on the production head found no code or security defect and accepted the product proof. Ayaan explicitly waived the repository-policy secops wait for this PR; this does not claim team membership or completed human security review. Live GitHub rules require the CI gate and do not require a pull-request approval. Required checks, fresh independent review, attribution, and guarded landing remain in force. No repository governance or server rules changed. ## Size And Simplification Production: **+391 / -93 (net +298)**. Tests/support: **+772 / -34 (net +738)**. Docs: **+10**. Generated/lockfiles: **0**. The latest correction removes four net production lines and extends existing regression sequences without adding test cases. The full change removes duplicate alias/readiness policy, duplicate failure branches, and a redundant credential fingerprint. Remaining growth supplies the missing retention, credential, and generation boundaries in the existing owner. Bulk provider deletion stays in the later cutover rather than expanding this prerequisite. AI-assisted. Co-authored-by: Ayaan Zaidi <[email protected]>
Related: #136257. Builds on merged #139357. Make all bundled shared-helper catalog callers report actual acquisition failures and authoritative empty results. Preserve shipped external advisory defaults through the same transport/cache implementation. The existing publication owner retains compatible learned inventory or degraded provider-owned starters. Static preparation consumes registered hooks with their authoritative plugin identity, without activating unknown runtimes or widening successful empty membership. No operator option, persistence schema, new cache, or auth re-observation is introduced. Proof: retained built baseline failure, packaged CLI/Gateway fault/recovery/empty checks, public SDK/provider API compatibility, fresh/upgrade starter checks, and the decisive seven-clause downstream composite on exact shared head 5e0ecef. Composite 296bfa19ec7663044ce50b8ebb3652555900d531 adds only the unchanged separate DeepInfra/NVIDIA producer patch; that patch is not part of this PR. Controlled clock advancement and fixture-rejected background inference are disclosed. No real vendor inference or UI claim. Production net +199; tests/support +313; docs +34; ratchet metadata -1; generated/lockfile delta zero. Growth preserves shipped API and shared failure/empty/ownership contracts rather than adding parallel provider policy. Co-authored-by: Ayaan Zaidi <[email protected]>
…ure (#139749) Related: #136257, #139357, #139649. ## What Problem This Solves Fixes an issue where operators refreshing DeepInfra or NVIDIA model choices could lose previously discovered models or see catalog failures reported as success. DeepInfra also restored bundled rows after a successful empty response. NVIDIA could drop a learned model when its featured metadata feed failed while its inference inventory still listed the model. ## Why This Change Was Made Both plugins now publish through the existing shared acquisition outcome owner. This removes duplicate chat augmentation fetches and NVIDIA's duplicate live builder. DeepInfra caches validated surface metadata and preserves original HTTP failures for strict registered discovery. Its published builder keeps its advisory default; the registered hook explicitly selects strict acquisition. The existing media fallback remains separate. ## User Impact - Failed refreshes retain compatible last-good inventory. On a cold outage, the existing publication owner exposes non-retired starters with an explicit failed acquisition outcome. - Successful empty inventories in registered discovery remove discovered membership, even if pricing or featured metadata is unavailable. A later failure does not restore starters over that successful empty result. - Existing public DeepInfra builder callers retain advisory choices during outages and unknown-cost live metadata when native pricing fails. This does not turn a failed registered acquisition into success. - Public catalog failures do not reject inference credentials or attach credential-profile provenance. A changed account cannot inherit the previous account's learned inventory. - Explicit configured models, static metadata, native pricing, and NVIDIA's request defaults keep their existing owners. No new configuration, schema, dependency, or static model dataset. ## Evidence - Built baseline `4bb95eb02cede3b2677aa7274c4f574431531c92`: actual HTTPS failures produced no provider failure outcomes; an empty DeepInfra response still exposed twelve rows; a featured-only NVIDIA failure lost a learned model while its sibling advanced. - Reviewed producer build `b5caac408a761f302d9b1f0a25a0e384ceb18c08`: focused owner/registration checks and type-aware lint pass. Independent review is clean through P2 after reproducing and fixing HTTP-status erasure and malformed tag arrays. Source-blind acceptance covers malformed metadata, HTTP rejection, socket disconnects, empty with failed pricing, recovery, configured rows, supported logout, and NVIDIA retirement/republishing. - Final composite build `296bfa19ec7663044ce50b8ebb3652555900d531`: all seven supplemental independent clauses pass, including cold starters, exact warm retention, successful empty through failure, and supported same-profile account credential replacement under failed feeds. All 36 catalog requests across nine model-list calls were anonymous; outcomes carried no profile provenance. - NVIDIA and shared acquisition/preparation owners remain unchanged from the tested composite. The later DeepInfra correction preserves the shipped public builder contract, removes its now-unused augmentation-only auth helper, and narrows optional metadata descriptions. Original build identities and both earlier failed composite reports are retained. - Published-package reproduction confirmed the DeepInfra API gap: the stable public builder resolved advisory data on metadata/pricing failures while the first candidate rejected. Four new regression cases failed before repair; all 52 affected owner/registration cases now pass and incremental independent review is clean through P2. Exact corrected build `e36e4468b86b8cc41103e14aa930418f13146847` passes all four independent public API/Gateway clauses. Same-process default/strict probes verify cache separation, native price fields, HTTP failures and authoritative empty; all 41 catalog requests were anonymous. - Public-feed checks: built DeepInfra acquisition returned 104 chat models, including 97 with positive native prices and seven unknown/qualified estimates. NVIDIA's existing public inventory/featured live test passed. No real inference credentials or real-provider inference calls were used. - Net change: **96 production lines removed, 236 test/support lines removed, seven documentation lines added; 325 lines removed overall.** Two assertion-baseline counts shrink with the deleted casts; this metadata change is net zero lines. Proof uses an isolated built Gateway and controlled HTTPS responses. Cache expiry uses disclosed process-wall-clock advances, not real multi-day elapsed time. A separately configured DeepInfra default remains when discovered membership is empty. Numeric prices and private request defaults have owner coverage; picker appearance and real inference are outside the public API proof. Separate fixture-rejected background inference attempts and a timeout cooldown remain disclosed in the retained evidence. AI-assisted. Co-authored-by: Ayaan Zaidi <[email protected]>
Related: openclaw#136257. Builds on merged openclaw#139357. Make all bundled shared-helper catalog callers report actual acquisition failures and authoritative empty results. Preserve shipped external advisory defaults through the same transport/cache implementation. The existing publication owner retains compatible learned inventory or degraded provider-owned starters. Static preparation consumes registered hooks with their authoritative plugin identity, without activating unknown runtimes or widening successful empty membership. No operator option, persistence schema, new cache, or auth re-observation is introduced. Proof: retained built baseline failure, packaged CLI/Gateway fault/recovery/empty checks, public SDK/provider API compatibility, fresh/upgrade starter checks, and the decisive seven-clause downstream composite on exact shared head 5e0ecef. Composite 296bfa19ec7663044ce50b8ebb3652555900d531 adds only the unchanged separate DeepInfra/NVIDIA producer patch; that patch is not part of this PR. Controlled clock advancement and fixture-rejected background inference are disclosed. No real vendor inference or UI claim. Production net +199; tests/support +313; docs +34; ratchet metadata -1; generated/lockfile delta zero. Growth preserves shipped API and shared failure/empty/ownership contracts rather than adding parallel provider policy. Co-authored-by: Ayaan Zaidi <[email protected]>
…ure (openclaw#139749) Related: openclaw#136257, openclaw#139357, openclaw#139649. ## What Problem This Solves Fixes an issue where operators refreshing DeepInfra or NVIDIA model choices could lose previously discovered models or see catalog failures reported as success. DeepInfra also restored bundled rows after a successful empty response. NVIDIA could drop a learned model when its featured metadata feed failed while its inference inventory still listed the model. ## Why This Change Was Made Both plugins now publish through the existing shared acquisition outcome owner. This removes duplicate chat augmentation fetches and NVIDIA's duplicate live builder. DeepInfra caches validated surface metadata and preserves original HTTP failures for strict registered discovery. Its published builder keeps its advisory default; the registered hook explicitly selects strict acquisition. The existing media fallback remains separate. ## User Impact - Failed refreshes retain compatible last-good inventory. On a cold outage, the existing publication owner exposes non-retired starters with an explicit failed acquisition outcome. - Successful empty inventories in registered discovery remove discovered membership, even if pricing or featured metadata is unavailable. A later failure does not restore starters over that successful empty result. - Existing public DeepInfra builder callers retain advisory choices during outages and unknown-cost live metadata when native pricing fails. This does not turn a failed registered acquisition into success. - Public catalog failures do not reject inference credentials or attach credential-profile provenance. A changed account cannot inherit the previous account's learned inventory. - Explicit configured models, static metadata, native pricing, and NVIDIA's request defaults keep their existing owners. No new configuration, schema, dependency, or static model dataset. ## Evidence - Built baseline `4aa060878864581f072df427648af32c9d1495be`: actual HTTPS failures produced no provider failure outcomes; an empty DeepInfra response still exposed twelve rows; a featured-only NVIDIA failure lost a learned model while its sibling advanced. - Reviewed producer build `b5caac408a761f302d9b1f0a25a0e384ceb18c08`: focused owner/registration checks and type-aware lint pass. Independent review is clean through P2 after reproducing and fixing HTTP-status erasure and malformed tag arrays. Source-blind acceptance covers malformed metadata, HTTP rejection, socket disconnects, empty with failed pricing, recovery, configured rows, supported logout, and NVIDIA retirement/republishing. - Final composite build `296bfa19ec7663044ce50b8ebb3652555900d531`: all seven supplemental independent clauses pass, including cold starters, exact warm retention, successful empty through failure, and supported same-profile account credential replacement under failed feeds. All 36 catalog requests across nine model-list calls were anonymous; outcomes carried no profile provenance. - NVIDIA and shared acquisition/preparation owners remain unchanged from the tested composite. The later DeepInfra correction preserves the shipped public builder contract, removes its now-unused augmentation-only auth helper, and narrows optional metadata descriptions. Original build identities and both earlier failed composite reports are retained. - Published-package reproduction confirmed the DeepInfra API gap: the stable public builder resolved advisory data on metadata/pricing failures while the first candidate rejected. Four new regression cases failed before repair; all 52 affected owner/registration cases now pass and incremental independent review is clean through P2. Exact corrected build `e36e4468b86b8cc41103e14aa930418f13146847` passes all four independent public API/Gateway clauses. Same-process default/strict probes verify cache separation, native price fields, HTTP failures and authoritative empty; all 41 catalog requests were anonymous. - Public-feed checks: built DeepInfra acquisition returned 104 chat models, including 97 with positive native prices and seven unknown/qualified estimates. NVIDIA's existing public inventory/featured live test passed. No real inference credentials or real-provider inference calls were used. - Net change: **96 production lines removed, 236 test/support lines removed, seven documentation lines added; 325 lines removed overall.** Two assertion-baseline counts shrink with the deleted casts; this metadata change is net zero lines. Proof uses an isolated built Gateway and controlled HTTPS responses. Cache expiry uses disclosed process-wall-clock advances, not real multi-day elapsed time. A separately configured DeepInfra default remains when discovered membership is empty. Numeric prices and private request defaults have owner coverage; picker appearance and real inference are outside the public API proof. Separate fixture-rejected background inference attempts and a timeout cooldown remain disclosed in the retained evidence. AI-assisted. Co-authored-by: Ayaan Zaidi <[email protected]>
A failed lazy catalog task already rejects to its caller and retains the last completed inventory. This change adds the missing internal attempt outcome: record `catalogAttemptError`, emit `catalog-failed`, and clear the error after successful catalog publication. Superseded attempts cannot record a current failure. The Gateway treats this notification as a subordinate catalog change. Published turn facts, nested leases and reply dispatch remain available; fatal prepared-runtime failures keep their existing behavior. No public protocol/config fields, credential policy, provider-retention rules or worker restart policy change. Validation: - The prepared owner case failed on current main only because the state and notification were absent. The expanded case also preserved same-generation nested leases. - Three focused owner cases pass: retained inventory/dispatch with nested leases, first-attempt failure and recovery, and obsolete-attempt suppression. - Gateway controls pass for nonfatal readable metadata, replacement waits and preserved fatal failure. An initial test-call error was corrected; the successful controls were retained. - Pinned formatting and focused syntax lint pass. Local builds and typechecks were not used as proof; CI supplies the required checks. This is an internal runtime observability addition from #136257, following the inventory work in #139357. Tests use the existing owner harness and one-shot worker-task rejection; they do not claim provider HTTP or worker-crash recovery proof. AI-assisted. Co-authored-by: Ayaan Zaidi <[email protected]>
A failed lazy catalog task already rejects to its caller and retains the last completed inventory. This change adds the missing internal attempt outcome: record `catalogAttemptError`, emit `catalog-failed`, and clear the error after successful catalog publication. Superseded attempts cannot record a current failure. The Gateway treats this notification as a subordinate catalog change. Published turn facts, nested leases and reply dispatch remain available; fatal prepared-runtime failures keep their existing behavior. No public protocol/config fields, credential policy, provider-retention rules or worker restart policy change. Validation: - The prepared owner case failed on current main only because the state and notification were absent. The expanded case also preserved same-generation nested leases. - Three focused owner cases pass: retained inventory/dispatch with nested leases, first-attempt failure and recovery, and obsolete-attempt suppression. - Gateway controls pass for nonfatal readable metadata, replacement waits and preserved fatal failure. An initial test-call error was corrected; the successful controls were retained. - Pinned formatting and focused syntax lint pass. Local builds and typechecks were not used as proof; CI supplies the required checks. This is an internal runtime observability addition from openclaw#136257, following the inventory work in openclaw#139357. Tests use the existing owner harness and one-shot worker-task rejection; they do not claim provider HTTP or worker-crash recovery proof. AI-assisted. Co-authored-by: Ayaan Zaidi <[email protected]>
What Problem This Solves
A failed catalog refresh could remove learned models, while metadata could refill a successful empty account list. Reloads could also retain obsolete configured or native rows.
Why This Change Was Made
The catalog owner retains compatible provider inventory with current failure outcomes. Successful responses replace membership, including empty results. Configured/native facts remain tied to the current runtime, and changed credentials, endpoints, or plugins invalidate incompatible inventory.
User Impact
Outages retain usable learned choices without widening prior account membership. Healthy providers still update, and policy-only reloads apply restrictions without discovery. No configuration or schema change.
Evidence
Real built Gateway/CLI checks with controlled endpoints covered success, outage, cold fallback, recovery, empty results, policy reload, and account/endpoint/plugin changes in one process. All 51 focused owner tests and 17 Gateway lifecycle cases passed. Provider accounts and external inference were not used.
Related: #136257. AI-assisted.