Repository navigation
fix(ui): label only operator-pinned runtimes in model picker rows - #120646
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 8, 2026, 1:45 PM ET / 17:45 UTC. ClawSweeper reviewWhat this changesThe PR renders model-picker runtime metadata only when the gateway says the runtime came from explicit model or provider configuration, with regression coverage for an implicit runtime row. Regression provenancePossible regression — probable (reviewed change; known regression link). No predecessor PR is attributed. Merge readinessKeep open: this is a correct, narrow follow-up to the newly merged runtime-label feature, and current main still labels implicitly resolved rows. The protected Priority: P3 Review scores
Verification
How this fits togetherThe gateway produces a model catalog with each model’s resolved runtime source. Control UI consumes that catalog to render model-picker metadata, while model selection itself remains unchanged. flowchart LR
A[Configured runtime policy] --> C[Gateway model catalog]
B[Implicit runtime resolution] --> C
C --> D[Chat model controls]
D --> E{Operator-pinned source?}
E -->|model or provider| F[Runtime label in picker]
E -->|implicit| G[Context metadata only]
Decision needed
Why: The patch is technically sound, but the member-authored and protected Before merge
Agent review detailsSecurityNone. PR surfaceSource +6, Tests +10. Total +16 across 2 files. View PR surface stats
Review metrics
Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Land the controls-layer source filter after the maintainer’s normal exact-head review gate; retain resolved runtime metadata in the gateway catalog for other consumers. Do we have a high-confidence way to reproduce the issue? Yes—source inspection gives a high-confidence path: current main forwards the runtime ID for implicit catalog rows, while the policy contract identifies those rows as non-operator-pinned. Is this the best way to solve the issue? Yes—the controls projection is the best fix because it changes only displayed metadata and preserves the gateway’s resolved-runtime fact for other consumers. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against e4309e0cc7a7. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
…0807 * origin/main: fix(qa): honor Crabbox SSH fallback ports (openclaw#120539) refactor(core): adopt normalization-core leaf helpers across production (openclaw#120350) fix(release): scope upgrade plugin credentials (openclaw#120666) fix(ai): preserve long Responses sessions after server compaction (openclaw#120457) fix(test): keep fork E2E setup builds observable (openclaw#120653) fix(cloud-workers): retain provider operation ownership (openclaw#120661) docs: runners plan — one placement model for sessions, devices, and cloud (openclaw#120657) refactor(cli): inline state migration policy (openclaw#120641) feat(update): scheduled update campaigns with countdown, dev-channel auto-update, and Updates settings page (openclaw#120506) chore(i18n): refresh native locales (openclaw#120614) fix(ci): retry transient artifact API reads (openclaw#120654) fix(clawrouter): honor advertised reasoning efforts (openclaw#120631) fix(infra): unify env-truthiness, missing-path, realpath, and abort-sleep semantics (openclaw#120359) fix(maintainers): parse merge comment URL structurally (openclaw#120649) fix(ui): label only operator-pinned runtimes in model picker rows (openclaw#120646) docs(agents): replace exact-head re-review gate with 12-hour review window # Conflicts: # src/agents/payload-redaction.ts
What Problem This Solves
#120617 rendered the resolved agent runtime on every model row that carries one. But the gateway resolves a runtime for many rows implicitly (harness policy defaults, OpenAI implicit routing), so ordinary rows could pick up repetitive "· OpenClaw" meta that conveys no operator decision.
Why This Change Was Made
Maintainer decision after landing #120617: the label should mark operator intent, not resolution mechanics. The runtime meta now renders only when
agentRuntime.sourceismodelorprovider— i.e. an operator pinned that runtime in config. Implicit/default/env/session resolutions stay unlabeled, so a dual-runtime setup likegpt-5.6(OpenClaw) vsgpt-5.6-sol(Codex) stays distinguished while the rest of the list stays clean.User Impact
Runtime labels appear exactly where a configuration choice created lookalike rows, and nowhere else. No other picker behavior changes.
Evidence
chat-view.test.ts— 230 passed; regression extended with an implicit-source row asserting bare "1M" metagpt-5.6-sol, high): clean