Skip to content

fix(ui): explain replace-mode filtering in model picker - #104569

Closed
samrusani wants to merge 19 commits into
openclaw:mainfrom
samrusani:agent/model-picker-replace-mode-hint
Closed

samrusani wants to merge 19 commits into
openclaw:mainfrom
samrusani:agent/model-picker-replace-mode-hint

Conversation

@samrusani

@samrusani samrusani commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Closes #104545

What Problem This Solves

When models.mode is replace, the configured model catalog is intentionally filtered, but the Control UI model picker did not explain why models were missing or provide a direct path to manage provider models. The hint must also disappear when the catalog is cleared or the Gateway disconnects.

What Changed

  • Add optional catalogMode: "replace" metadata to configured models.list responses.
  • Derive the metadata from the source configuration snapshot and require at least one source-authored provider row.
  • Keep public model projection separate from internal provider configuration.
  • Carry the metadata through shared Control UI model state.
  • Show a replace-mode hint and Manage models link to /settings/model-providers.
  • Clear the catalog and its replace-mode state together on disconnected refreshes.
  • Cover mixed configured/discovered catalogs, source-empty runtime hydration, disconnect cleanup, and production picker behavior.

Current Head

  • Head: 18111d0498817016c65c9ac4e0c220e8b47ef90d.
  • Rebased onto upstream main 7fe75acb5f4.
  • Author and committer: Sami Rusani <[email protected]>.
  • Current-main's authoritative models.list picker inventory and agent-scoped model-cache behavior are preserved.
  • The final integration conflict was limited to 17 generated Plugin SDK API contract hashes and was resolved with the canonical generator.

Evidence

  • The source-equivalent post-integration head passed 30 Gateway model tests and 292 Control UI tests. The final rebase conflicted only in generated Plugin SDK contract hashes; the exact-head SDK API and diff checks passed after canonical regeneration.

  • Exact-head Gateway model-list suite: 1 file, 30 tests passed.

  • Exact-head Control UI model/state/view suites: 3 files, 292 tests passed.

  • Exact-head protocol registry/generation/Swift/Kotlin checks passed.

  • Exact-head Plugin SDK API baseline and git diff --check passed.

  • Production-built browser proof: 1 file, 6 tests passed on source-equivalent head b3ceb5d3a0e580e65b9dfbe47be5ab1d1c32405f.

  • Isolated real-Gateway RPC proof: 1 file, 1 test passed on source-equivalent head b3ceb5d3a0e580e65b9dfbe47be5ab1d1c32405f.

  • UI build, i18n baseline/verify, test types, max-lines, format, and changed-file repository guards passed on source-equivalent head b3ceb5d3a0e580e65b9dfbe47be5ab1d1c32405f.

  • Repository-pinned SwiftLint 0.65.0 reported zero violations across all app lanes; no system install or keychain access was used.

  • The final rebase changed only generated SDK contract hashes; the affected exact-head API, protocol, Gateway, UI, and diff checks were rerun.

Behavior Proof

The proof uses an isolated Gateway RPC for metadata plus the production-built Control UI browser test for rendering, navigation, and disconnected cleanup. No external credentials or provider calls were used.

{
  "proofHead": "b3ceb5d3a0e580e65b9dfbe47be5ab1d1c32405f",
  "currentHead": "18111d0498817016c65c9ac4e0c220e8b47ef90d",
  "behaviorPatchEquivalent": true,
  "surface": "isolated configured Gateway RPC plus production-built Control UI",
  "observed": {
    "modelsListCatalogMode": "replace",
    "providerInternalsRedacted": true,
    "controlUiHintVisible": true,
    "manageModelsHref": "/settings/model-providers",
    "disconnectedCatalogModeCleared": true,
    "sourceEmptyRuntimeHydratedCatalogModeOmitted": true
  },
  "externalCredentialsOrProvider": false,
  "result": "pass"
}

AI Assistance

AI-assisted: yes. Codex was used to inspect contributor rules and review feedback, implement and rebase the patch, run focused and repository validation, and produce isolated Gateway and production-built browser proof. No agent transcript is attached.

Latest exact-head repair evidence (2026-08-13)

This update supersedes earlier head and validation identifiers above.

  • Exact head: 2d4c102dd46a5c92197f3a4fc57691e2d2df1ecb (author and committer: Sami Rusani [email protected]).
  • The P2 review finding is repaired at the Gateway producer: chat.metadata now propagates the authoritative configured catalogMode from models.list. The Control UI applies each fresh metadata result, so an ordinary refresh retains the replace-mode hint without relying on stale client state.
  • Exact-head validation passed: Gateway metadata/models 56/56; Control UI state/view/models 304/304; Chromium model-picker E2E 6/6; protocol registry/schema/Swift/Kotlin/since; i18n verify and baseline; test types; Plugin SDK surface; and production build.
  • A source-equivalent real Gateway RPC proof passed 1/1 on 73c853bc8327e4c52cc9c794707068dd48f93e2b; the later 2d4c102dd46 commit adds only regression coverage. Browser proof exercises chat.metadata refresh and verifies the visible hint and provider-settings link.
  • git diff --check passed. The PR merge tree is clean against current main 2b6bf2f; GitHub reports the PR MERGEABLE and BEHIND only, so no further rebase churn was introduced.

CI lint repair (2026-08-13)

  • Exact head: 1553ebaf33120deaf83504e82c9231055d862728 (author and committer: Sami Rusani [email protected]).
  • Hosted check-lint failed at the prior head only because src/gateway/server-methods/models-list-result.ts exceeded the repository max-lines rule (704 effective lines). The catalog-mode decision is now a focused sibling helper; runtime behavior is unchanged and the original module is now 699 effective lines.
  • CI-equivalent lint passed: pnpm lint --split-core --threads=1. The affected Gateway and Control UI suites passed 360/360, with test types, focused type-aware lint, format check, and diff check also green.
  • The merge tree is clean against current main f329a94. GitHub reports MERGEABLE and BEHIND only.

Latest Exact-Head Production Control UI Proof (2026-08-14)

This block supersedes only the earlier source-equivalent runtime proof above.

  • Exact public head: b0d3ec0b17d0f12338464e2fa75324e5497ca693 (author and committer: Sami Rusani <[email protected]>). No rebase was introduced for this proof; GitHub currently reports the PR as BEHIND but mergeable.
  • pnpm ui:build passed at that exact head. The Gateway served production asset assets/index-DWxTtIgT.js with SHA-256 8de8b200f44479f91943e15718d15d7e65935952b398f7a7c4b5a06b3fe77250.
  • An isolated disposable Gateway ran with a replace-mode configured catalog containing only proof-provider/replace-model. The mounted production Control UI connected to it through a native authenticated browser WebSocket.
  • The mounted production chat pane issued chat.metadata over that WebSocket. Its real Gateway response reported catalogMode: "replace" and model replace-model; the normal pane refresh then completed and the picker was rechecked. No browser route, fulfill, interception, response stub, or external provider call was used.
  • The rendered picker showed Replace mode filters models according to your model settings. Manage models before and after the real metadata request. Manage models navigated to /__openclaw__/settings/model-providers, where openclaw-model-providers-page rendered.
  • Focused validation passed: pnpm exec vitest run ui/src/e2e/chat-model-replace-mode.e2e.test.ts src/gateway/server-methods/chat-metadata-runtime.test.ts (24/24).
  • Redaction-scanned local evidence: summary.json SHA-256 0ff267e3e4aedae80a1c3e8d671487eaff4e03377a272f7c217fdfbb04fe6afa; picker-before SHA-256 7c64c27b2f9b37d4faf95a0aeda64bc11fba11efbea06b0379d715a6207146c0; provider-route SHA-256 783fe8218a3e37ed808306792ac08c82b8a9c47aa938775b2da370d375840de6; picker-after SHA-256 f54f304e04d8aa74a4a64fd9d7e99c0f58383f23c5bd955b65292fe953884396. Gateway token and provider key were not present in retained text artifacts; the isolated process exited.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui gateway Gateway runtime size: L labels Jul 11, 2026
@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. labels Jul 11, 2026
@clawsweeper

clawsweeper Bot commented Jul 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs changes before merge.

What this changes

This PR adds replace-mode catalog metadata and a model-picker explanation linking to provider settings.

Example: A replace-mode configuration lists only openai/gpt-5.5.

  • Before: The picker offers the configured model without explaining the restricted catalog.
  • After: The picker displays a replace-mode explanation and a Manage models link.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) Useful and supported by production-flow evidence, but the retained P2 ownership defect prevents merge.
Proof confidence 🐚 platinum hermit (4/6) Sufficient (live_output): The supplied production Control UI observation covers real Gateway chat.metadata, visible replace-mode text before and after refresh, and provider-settings navigation; inspected desktop/mobile screenshots support the visual behavior, while historical proof-head equivalence could not be independently compared.
Patch quality 🦐 gold shrimp (3/6) 1 actionable review finding remain.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Users can mistake intentional local catalog filtering for missing upstream model support.
Reason: An inline explanation and existing settings route address the central confusion while preserving intentional catalog restrictions.

Merge readiness

⛔ Needs changes before merge - 2 items remain

Keep this useful PR open: current main still lacks the explanation, and the previously reported catalog-generation mismatch remains unfixed.

Priority: P2
Reviewed head: cb028b3c050198983c65fc926136fd14a4e238aa

Before merge

  • Bind catalog mode to the prepared catalog generation (P2) - When configuration changes while buildModelsListResult awaits catalog loading or visibility projection, cfg and the returned rows can still belong to generation A, while this helper reads generation B's global source snapshot. For example, changing merge mode to replace mode with an authored provider row can label A's merge-mode catalog as replace; the reverse switch can omit the explanation for A's restricted catalog. Carry the authored mode and source-row fact with the prepared catalog owner, and cover both switch directions through models.list and chat metadata. This is the unresolved finding from the previous review of the same head.
  • Complete next step - Resolve the GitHub-reported conflicts through the current Gateway catalog and Solid picker owners, then validate the integrated picker flow.

Findings

  • [P2] Bind catalog mode to the prepared catalog generation — src/gateway/server-methods/models-list-catalog-mode.ts:11-17

Tests

  • Missing end-to-end proof: The supplied runs do not exercise a configuration switch during catalog projection, and no failing-before/passing-after regression covers that ordering.
Agent review details

How this fits together

The Gateway projects prepared model catalogs into models.list and chat.metadata responses, which the Control UI caches and renders in its model picker.

flowchart LR
  A[Authored configuration] --> B[Prepared catalog owner]
  B --> C[Gateway model projection]
  C --> D[Catalog response metadata]
  D --> E[Control UI catalog state]
  E --> F[Model picker and settings link]
Loading

Technical review

Best possible solution:

Carry the authored catalog-mode fact with its prepared catalog generation and expose it through the current shared catalog store and picker.

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

Source establishes the current-main explanation gap and the PR's generation mismatch; no target code was executed during this read-only review.

Is this the best way to solve the issue?

The Gateway-to-picker approach is appropriate, but reading global source configuration after projection is the wrong ownership boundary; reuse main's captured runtime/source pair instead.

Full review comments:

  • [P2] Bind catalog mode to the prepared catalog generation — src/gateway/server-methods/models-list-catalog-mode.ts:11-17
    When configuration changes while buildModelsListResult awaits catalog loading or visibility projection, cfg and the returned rows can still belong to generation A, while this helper reads generation B's global source snapshot. For example, changing merge mode to replace mode with an authored provider row can label A's merge-mode catalog as replace; the reverse switch can omit the explanation for A's restricted catalog. Carry the authored mode and source-row fact with the prepared catalog owner, and cover both switch directions through models.list and chat metadata. This is the unresolved finding from the previous review of the same head.
    Confidence: 0.97

Overall correctness: patch is incorrect
Overall confidence: 0.95

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against 32748bce75c8.

Provenance checked

  • Configured model-list behavior keeps the original intent (870d993: The Control UI deliberately requests the configured model-list view.)
  • Agent-scoped catalog caching keeps the original intent (9496a4b: Catalog requests and cache identities follow the selected agent so stale completions cannot cross ownership.)
  • Prepared chat metadata keeps the original intent (f5125a7: Startup consumes lifecycle-prepared projections instead of initiating expensive catalog discovery on the request path.)

Testing

Proof path: shipped entry point.

Security

None.

Evidence

Acceptance criteria:

  • On an isolated authorized proof environment, run node scripts/run-vitest.mjs src/gateway/server-methods/models.test.ts src/gateway/server-methods/models-list-result.configured-static.test.ts src/gateway/server-methods/chat-metadata-config-capture.test.ts src/gateway/server-methods/chat-metadata-runtime.test.ts.
  • Run node scripts/run-vitest.mjs ui/src/lib/model-catalog-store.test.ts ui/src/lib/model-catalog-store.lifecycle.test.ts ui/src/pages/chat/chat-pane-model-catalog.test.ts ui/src/pages/chat/components/chat-model-picker.test.tsx.
  • Show the new deferred configuration-switch regression failing before the repair and passing afterward in both directions.
  • Exercise the integrated production Control UI against an isolated real Gateway: explanation, metadata refresh, provider-settings navigation, and disconnect cleanup.

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 4fec524 adds src/gateway/server-methods/chat-metadata-runtime.ts:243 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 4fec5242439d; files: src/gateway/server-methods/chat-metadata-runtime.ts)
  • Josh Avant: Raw commit 9496a4b adds ui/src/pages/chat/models.ts:36 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 9496a4b19924; files: ui/src/pages/chat/models.ts)
  • Jason (Json): Raw commit 77f7560 adds src/gateway/server-methods/chat-metadata-runtime.ts:215 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 77f7560b4184; files: src/gateway/server-methods/chat-metadata-runtime.ts)

PR surface

Source +157, Tests +300. Total +457 across 26 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 18 195 38 +157
Tests 8 393 93 +300
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 26 588 131 +457

Review metrics

Metric Value Why it matters
Production versus test LOC Production +190/-37 (net +153); tests +393/-93 (net +300); generated Swift +5/-1. The explanation requires new response metadata and UI rendering, which justify growth; 89 test lines are relocated existing coverage rather than new coverage.
Public response metadata One optional catalogMode field added to two response surfaces; zero configuration options or defaults changed. models.list and chat.metadata must describe the same prepared catalog generation.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #104545
Summary: This PR is the open implementation candidate for the canonical replace-mode explanation request.

Members:

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

Labels

Label changes:

No label changes.

Label justifications:

  • P2: The change addresses model-selection confusion with limited blast radius; the remaining defect can display an incorrect filtering explanation.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🐚 platinum hermit and patch quality is 🦐 gold shrimp.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.
  • proof: sufficient: Contributor real behavior proof is sufficient.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

History

Review history (61 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-23T18:32:26.029Z sha cb028b3 :: needs real behavior proof before merge. :: [P2] Bind catalog mode to the prepared configuration generation | [P2] Invalidate cached catalog metadata after configuration updates
  • reviewed 2026-08-24T20:04:59.843Z sha cb028b3 :: needs real behavior proof before merge. :: [P2] Bind catalog mode to the prepared configuration generation | [P2] Invalidate cached catalog metadata on configuration changes
  • reviewed 2026-09-01T14:04:52.945Z sha cb028b3 :: needs real behavior proof before merge. :: [P2] Bind catalog mode to the prepared configuration generation
  • reviewed 2026-09-01T14:15:48.655Z sha cb028b3 :: needs real behavior proof before merge. :: [P2] Capture replace mode with the prepared catalog generation
  • reviewed 2026-09-25T10:55:27.322Z sha cb028b3 :: needs real behavior proof before merge. :: [P2] Bind catalog mode to the prepared catalog generation
  • reviewed September 25, 2026, 7:38 AM ET / 11:38 UTC (Revision 59) sha unknown :: needs real behavior proof before merge. :: [P2] Bind catalog mode to the prepared catalog generation
  • reviewed 2026-09-25T11:38:10.024Z sha cb028b3 :: needs real behavior proof before merge. :: [P2] Bind catalog mode to the prepared catalog generation
  • reviewed 2026-10-02T16:32:02.088Z sha cb028b3 :: blocked before merge. :: [P2] Bind catalog mode to the prepared catalog generation

Reviewed October 16, 2026, 4:18 AM ET / 08:18 UTC (Revision 62).

@samrusani
samrusani force-pushed the agent/model-picker-replace-mode-hint branch from bc19bd8 to 8cd82b6 Compare July 12, 2026 21:05
@samrusani

Copy link
Copy Markdown
Contributor Author

Rebased onto current main at head 8cd82b6fa5 and regenerated the requested inspectable behavior proof from that head.

Desktop, 1280x900:

Desktop replace-mode model picker proof

Mobile, 393x852:

Mobile replace-mode model picker proof

The deterministic Control UI mock returned catalogMode: "replace". Both viewports show the replace-mode explanation and Manage models action without horizontal overflow. The action resolves to /settings/ai-agents, which is also asserted by the browser regression.

Validation on the rebased head:

  • focused gateway/UI suite: 6 files, 297 tests passed
  • Control UI browser regression: 7/7 passed
  • Control UI i18n check: all 20 locales clean
  • type-aware oxlint passed on changed TypeScript
  • repository formatting check passed
  • git diff --check origin/main...HEAD passed

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jul 12, 2026
@samrusani

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Pushed 41aefd1c61 to address the locale-workflow finding. The final PR diff now retains the two new keys only in ui/src/i18n/locales/en.ts; all non-English locale bundles and .i18n metadata are restored to current main, leaving authenticated post-merge translation to control-ui-locale-refresh as required by ui/AGENTS.md.

Validation after the cleanup:

  • focused gateway/UI suite: 6 files, 297 tests passed
  • Control UI browser regression: 7/7 passed
  • focused English locale formatting passed
  • git diff --check passed
  • final diff against origin/main has no non-English locale or .i18n metadata changes

pnpm ui:i18n:check now reports the expected two pending fallback keys. Per ui/AGENTS.md, contributors should commit en.ts only and let the authenticated locale-refresh workflow translate after merge; the automatic PR CI locale lane is non-blocking for this expected drift.

@clawsweeper

clawsweeper Bot commented Jul 12, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

Re-review progress:

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. 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 proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Jul 12, 2026
@samrusani

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review exact head 18111d0498817016c65c9ac4e0c220e8b47ef90d. The disconnected catalog reset finding remains fixed, the branch is rebased onto current main 7fe75ac, and the PR body has the exact integration evidence.

@clawsweeper

clawsweeper Bot commented Aug 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@samrusani

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Exact head 2d4c102dd46a5c92197f3a4fc57691e2d2df1ecb resolves the P2 metadata-refresh finding at the Gateway producer: chat.metadata now propagates catalogMode, and ordinary refresh coverage proves the picker keeps the replace-mode hint from fresh server state. Validation is recorded in the PR body: Gateway 56/56, Control UI 304/304, Chromium E2E 6/6, plus protocol, i18n, type, SDK-surface, and production-build checks. GitHub currently reports MERGEABLE; the branch is BEHIND only.

@clawsweeper

clawsweeper Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@samrusani

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Exact head 1553ebaf33120deaf83504e82c9231055d862728 fixes the hosted check-lint failure without behavior changes: the configured catalog-mode decision was moved into a focused sibling helper so models-list-result.ts is below its max-lines threshold. CI-equivalent lint, focused Gateway/UI tests, types, formatting, and diff checks are green; exact details are in the PR body.

@clawsweeper

clawsweeper Bot commented Aug 13, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@samrusani

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Exact head b0d3ec0b17d0f12338464e2fa75324e5497ca693. The PR body now contains current-head production Control UI proof using an isolated real Gateway and a native authenticated browser WebSocket: chat.metadata returned catalogMode: "replace" and replace-model, the replace-mode picker hint remained visible afterward, and Model Providers navigation rendered. Focused validation is green (24/24). Please review this exact head.

@clawsweeper

clawsweeper Bot commented Aug 14, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@steipete

Copy link
Copy Markdown
Contributor

Thanks for the PR. We're closing older pull requests that have gone stale against current main.

This PR has been waiting on author changes since mid-August with no new commits, and the Control UI model picker has been substantially reworked since. If the replace-mode explanation is still missing, please open a fresh, smaller PR against current main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: L status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Model picker silently hides newer models when models.mode=replace

2 participants