Repository navigation
fix(ui): avoid duplicate images after tool inspection - #195359
Conversation
Co-authored-by: vyctorbrzezowski <[email protected]>
|
🦞👀 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: needs maintainer review before merge. What this changesThis PR keeps inspected images inside expandable tool details while preserving delivered images in the conversation. Example: The assistant inspects avatar-design.png and then delivers that image.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR addresses a current Control UI rendering bug with a focused change; no introduced correctness or security defects were found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe Control UI coalesces transcript tool calls and results before grouping messages; the message renderer then places result media inside tool disclosures or assistant replies. flowchart TD
A[Transcript messages] --> B[Tool activity coalescer]
B --> C[Message grouping]
C --> D[Tool disclosure]
C --> E[Assistant reply]
D --> F[Inspection images on expansion]
E --> G[Delivered image preview]
Technical reviewBest possible solution: Keep result media tool-owned in the existing coalescer and use the existing disclosure renderer without content-based image deduplication. Do we have a high-confidence way to reproduce the issue? Current-main source explains the duplicate preview for a paired inspection result and delivered image; inspected before/after browser screenshots corroborate that scenario, without a reviewer-run reproduction. Is this the best way to solve the issue? The patch repairs presentation ownership at the existing coalescer and preserves useful tool identification with no parallel renderer, cache, or image-matching mechanism. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 109bfcd6fb2b. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +6, Tests +27. Total +33 across 3 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 8, 2026, 2:23 PM ET / 19:23 UTC. |
|
Merged via explicitly authorized admin squash with attributed pre-existing CI failures.
|
Keep images inspected by tools inside their activity disclosure while preserving the separately delivered assistant gallery. Promote an existing batched tool bundle when a later invocation adds media, including text-before-image calls. Validated collapsed and expanded rendering, both invocation orders, and matched synthetic browser captures. Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: Vyctor H. Brzezowski <[email protected]>
* chore(android): update libraries with compatible Gradle Retain Gradle 9.7.1 while updating the five compatible Android library families and WebKit notice. Route the native localization commit check through its explicit qualified tooling boundary without linking dependencies or changing the generic loader. * fix(macos): preserve MLX model config cache reuse Pin the official config-only model detection fix and qualify the isolated TTS helper in the existing macOS packages phase. Return the actual SwiftPM resolution for review without hiding a stale committed lock. * fix: refresh the reviewed correction baseline Baseline-Refresh: bf28f8b4e7f91a4dcf18aaf71b55eaaf8d7050cf * fix(macos): bind MLX resolution and probe Metal availability Commit the actual SwiftPM resolution from the exact-source macOS qualification artifact and report device/library capability separately from model inference. * test(macos): qualify MLX cache and settings upgrades * test(macos): diagnose native download and prepare settings dependencies * test(macos): admit hosted Darwin download staging * test(macos): record MLX staging preflight facts * test(macos): normalize MLX staging destination parent * fix(ci): count all hosted Swift jobs * test(macos): restore full MLX cache qualification * test(macos): preserve native job clock across owners * fix(ci): preserve MLX arguments and redirected fixture input * fix(ci): preserve native cleanup errors and MLX build policy * fix(ci): preserve native settings cleanup custody * test(ci): fix native fixture callback typing and lint * test(ci): make app-host failure injection optional * fix: refresh the reviewed correction baseline Baseline-Refresh: 41fbd225831ffbb802d89e9c9f14487330654e24 * test(ci): budget MLX qualification regression coverage * fix(ci): freeze the native MLX bad-reference resolution * test(mlx): identify settings handler config-read progress * fix(ci): focus native MLX settings test compilation * test(ci): migrate native settings manifest fixtures * fix(ci): preserve settings proof errors through retirement * fix(ci): separate MLX producer startup and operation budgets * test(ci): qualify MLX producer handoff and retirement fixtures * fix(ci): preserve MLX handoff failure causes * test(ci): create MLX source fixtures before module metadata * fix: refresh the reviewed correction baseline Baseline-Refresh: adfc05d2403179a26ec789314b42706626da8eb0 * fix: refresh the reviewed correction baseline Baseline-Refresh: 8eed5b03d8155b86324d8cad3cbbe09e36b342bb * fix: refresh the reviewed correction baseline Baseline-Refresh: b9b287c0ad3438cbc66f40740166ed3ee4a9f97d * test(macos): record MLX helper shutdown diagnostics * test(ui): await fixture readiness before timed interactions * fix: refresh the reviewed correction baseline Baseline-Refresh: 6e2a78776fa5eb7a90a1747d617ea18f8c462e95 * fix: refresh the reviewed correction baseline Baseline-Refresh: dbbe44e45164cc4436509408387da97ed095fb00 * fix: refresh the reviewed correction baseline Baseline-Refresh: 37d49effa9947750bb024629eb68f204add97885 * test(ui): await lazy search admission before fake timers * fix(ci): prepare public types for the MLX candidate package * fix: refresh the reviewed correction baseline Baseline-Refresh: e24390c7d195242398a5768c7112dcc6abb4cfbc * test(ci): avoid checkout fetches in docs diff fixtures * fix(ci): align changed-scope declarations with runtime * test(ui): align responsive panel fixtures and layout clocks * fix: refresh the reviewed correction baseline Baseline-Refresh: 4eba106df3513299224725e98aef36d24a2797e9 * test(ui): scope background panel controls by presentation * fix: refresh the reviewed correction baseline Baseline-Refresh: c006348b1d299c20bb8018f2438ccfff52fffce9 * fix(ui): preserve sidebar targets and cloud badge coverage * chore: keep sidebar fix notes in PR context Preserve release-owned changelog files for this normal PR. Control UI: keep 44px sidebar session menu targets alongside non-overlapping child-session controls. The cloud-placement fixture repairs are unchanged. * fix: refresh the reviewed correction baseline Baseline-Refresh: 5cff8aebbbaaae685f9be20e5b094301e51b68ac * fix(ui): preserve canonical sidebar menu width Keep the intentional 36px menu width and toggle-before-menu geometry from the upstream sidebar redesign. Remove the redundant 44px restoration after adopting the canonical fixture correction. Release-note context stays in this commit and the PR body. * fix: refresh the reviewed correction baseline Baseline-Refresh: c266b0cb316b344ccb0c9e4cde1f4e222c5a8274 * fix(ui): preserve boot composer scroll across frame moves Capture the connected textarea viewport before a loading frame takes it. A pending native scroll event can leave the prior cache stale and shift the draft when the frame restores focus. Cover delayed event delivery, focus restoration and detached handoff. * test(ui): align Details fixtures with request and scroll owners Measure desktop overflow at the scrollport containing the intended row outsets. Preserve content alignment, viewport and actionability checks. Hold summary and full Uncommitted requests separately, verify stale-count isolation and inspect the expanded full patch. Keep read-only controls. * fix: refresh the reviewed correction baseline Baseline-Refresh: c87f0756b1b4835950606a7e0c5c824a4a9a79a3 * test(ui): wait for roster around held recovery boot * fix: refresh the reviewed correction baseline Baseline-Refresh: bb41692ed401349fce40368ced4556cb1262bec9 * fix: refresh the reviewed correction baseline Baseline-Refresh: 25b985dd0bdb550c89db74e7100c2781a8299c86 * fix: refresh the reviewed correction baseline Baseline-Refresh: 63dec050628ce705654b02eb3acc70730482a96a * test(ui): verify Memory overview stylesheet * fix: refresh the reviewed correction baseline Baseline-Refresh: 6b59c43ff0dbedecbe5444006f43f87e27a748f2 * fix(ci): keep file-local helpers private * fix: refresh the reviewed correction baseline Baseline-Refresh: 90c5f8db48c392efe13d0500ea19f6f0f3da1234 * test(ui): capture failed dashboard menu activation Record bounded, privacy-safe pointer and menu lifecycle events beside the existing failure trace. Preserve original interactions, assertions, and timeouts; the hosted Restore split failure has not reproduced locally. Validate real selection and a controlled failure, including a pointer released outside the menu. * test(ui): retain menu diagnostics in CI artifacts Use the state JSON filename already included by the synthetic widget failure upload. The bounded payload and interaction behavior are unchanged. Validate deliberate failure capture against the actual CI upload pattern, original-error preservation, outside-menu pointer delivery, and the unchanged original scenario. * fix: refresh the reviewed correction baseline Baseline-Refresh: 7f2b0da51ab8389cc0a7f0987e0a3b9ceed7c5fb * fix(ui): keep sidebar action reservations stable Reserve desktop disclosure space before hover and focus, and keep the mobile drawer's dedicated reservation authoritative. Preserve Archive's safe offset after a child disclosure disappears. Existing geometry and deletion safety assertions pass unchanged. * fix(workboard): await owner gateway handlers consistently * fix: refresh the reviewed correction baseline Baseline-Refresh: 0316127141f8963b92eea109610248f80cc80286 * fix(ui): keep transcript payload ownership browser-safe Share ownership markers and envelope cloning through a browser-safe leaf. Preserve server JSON and proxy admission, string detachment, retained child identity and mutable envelope copies. Cover canonicalization across the media and normalization consumers. * fix(scripts): include transcript ownership in PR wrapper * fix(workboard): return owner handler completion consistently * fix: refresh the reviewed correction baseline Baseline-Refresh: c509cabe1a9c92fa47e9e9a207c9dfaad8e9936e * fix(workboard): await owner adapters without returning values * test(ui): await cron deletion history handoff * test(ui): check empty-workspace descriptions across menu layouts Follow up #190088 while preserving the description, selection, payload, and dispatch assertions for inline and title presentations. * fix: refresh the reviewed correction baseline Baseline-Refresh: 4244f0f75b94847a89a2efa02b247d656662b99d * fix(ui): keep panel skeleton styles within shadow roots Restore the component-owned skeleton rules for shadow-root parents while preserving the shared shimmer tokens and raised background. Add document-to-shadow regression coverage for normal motion, reduced motion, and forced colors. Follow-up to #189848. * fix: refresh the reviewed correction baseline Baseline-Refresh: 7fbf37e0daa93cff69753c26ccdc3a0b5df8d57a * fix(ci): retain benchmark preload and privatize SQLite guard * fix: refresh the reviewed correction baseline Baseline-Refresh: 6cc0dc880312da6d2e5dcc2d277b8c4bbd8f1f4e * test(ui): retain skeleton shadow-parent coverage * test(ui): settle video gallery reader viewport * test(ui): keep composer resize fixture below line cap * fix: refresh the reviewed correction baseline Baseline-Refresh: b32d3cde1106d959e4e7674c940a5a58774ed140 * refactor(plugins): keep worker retention schemas private * test(ui): settle sidebar capture before deletion accounting * fix: refresh the reviewed correction baseline Baseline-Refresh: bfa60c932117b776b45f7dba5ceeeda94ff64759 * fix: refresh the reviewed correction baseline Baseline-Refresh: d28482414f80ef8b98a153b896439f0290e8d6f6 * test(ui): capture activation and reader layout diagnostics Capture native switch activation failures inside the existing bounded diagnostic catch, and record reader geometry around the unchanged history loading and scroll measurements. Keep original actions, assertions, limits, queue ordering and deadlines intact. Local diagnostic success does not establish the original CI failure mechanism. Failure provenance: https://github.com/openclaw/openclaw/actions/runs/41346692102/job/124968323987 https://github.com/openclaw/openclaw/actions/runs/41346692102/job/124968323625 * fix(ui): minimize canonical gzip for boot assets Compare deterministic high-compression encodings only for boot assets and keep the smallest result. Preserve deferred level-11 compression, decoded asset bytes, Brotli behavior, preload graphs and existing performance budgets. * fix(ci): preserve SDK report capacity on dispatch Default first-attempt dispatches replaced the planned 32-core runner with ubuntu-24.04, serializing revision renders and exhausting the existing 30-minute budget. Preserve the SDK matrix runner while retaining explicit GitHub routing, retries and repository boundaries. Cover wrapped and plain routing expressions without changing timeouts or resource floors. * test(ui): isolate table clipboard from parallel suites * test(ui): seed each native table clipboard assertion * test(ui): record snapshot route timeout facts * fix: refresh the reviewed correction baseline Baseline-Refresh: 77ff1c12c4076b8d5aefb9c691117e78f807ff6a * test(ui): pin gzip golden for boot asset compression * fix: refresh the reviewed correction baseline Baseline-Refresh: 04420c2ea8ff5cf6f563eb4e1ae9f20666c9a048 * fix: refresh the reviewed correction baseline Baseline-Refresh: bdd1f1e68cff4c01ef5eec46807629567fbead97 * fix(ci): remove deleted SQLite test from Windows partition * test(ui): stabilize plugin inventory and trace layout failures * fix: refresh the reviewed correction baseline Baseline-Refresh: ef59cacfb9f33e8a86dbdb6117d9bc7c0d2aff49 * fix(ci): account for MLX qualification coverage * fix: refresh the reviewed correction baseline Baseline-Refresh: 8551976f16cf5437d938eca29e1eab4cfead7436 * fix(test): align Control UI fixtures with runtime ownership * fix: refresh the reviewed correction baseline Baseline-Refresh: 43fd495305262f804c4cdf920d27d3b93d0b4c07 * test(ci): align native qualification allocation * fix: refresh the reviewed correction baseline Baseline-Refresh: 7994afce6005ba4a8560c983ebbdd62fa70df3be * test(ci): account for upstream fixture repairs * test(ui): follow the memory overview status layout * fix: refresh the reviewed correction baseline Baseline-Refresh: c91c3349f46ca38d23293538978df22bb7bcd759 * fix: refresh the reviewed correction baseline Baseline-Refresh: 8205bb508c1d92b554a3fb5d857202c61adffd81 * test(ci): cover SDK full-validation timeout routes * fix: refresh the reviewed correction baseline Baseline-Refresh: 6e66e663d9fc70ff7d90bc0242313296c16d57ca * fix(ui): stabilize qualification fixtures and reuse boot scroll capture * fix: refresh the reviewed correction baseline Baseline-Refresh: 2a61824b2b080c099b965b1d3d11566a5add1f27 * fix(ui): reduce shared loading-placeholder payload * fix(ui): share menu row presentation without replacing live content * fix(ui): retain approved New Session bundle headroom * fix: refresh the reviewed correction baseline Baseline-Refresh: 9acd68827bf8e577c7408bcc8af576895895ae11 * fix(ci): compare hosted row counts with workflow inventory Check both PR and qualification base counts against independent workflow expansion. Match the shared upstream assertion and tighten this PR's test-line allocation to its projected post-upstream growth; verify the actual merge-base delta before publication. * fix: refresh the reviewed correction baseline Baseline-Refresh: dbb49cac2e5db37a2fd8a73fdb3d4bd01ad392d3 * perf(ui): render static skeleton layouts without reactive lists * fix(ci): align New boot budget with approved measured size * fix: refresh the reviewed correction baseline Baseline-Refresh: 94d9c2a524ca3de126a3ec33fd4e9b5555ae53a5 * test(ui): align deferred gzip expectation with maximum effort * fix: refresh the reviewed correction baseline Baseline-Refresh: 6b5eb8206df2409dd804f80f30f1afb1a9dc816f * fix(ui): restore compact inline menu presentation * fix(ui): calibrate retained menu gzip budgets * fix: refresh the reviewed correction baseline Baseline-Refresh: 1eef07bb19f0ca1d0e3e66fc25caf5bd9f3ba4cb * refactor(ui): simplify menu content presentation * test(ui): retry rejected plugin cleanup * test(ui): isolate plugin cleanup response guard * fix: refresh the reviewed correction baseline Baseline-Refresh: 26938fd647a3ee739d6555b4e6afbf2a4091c271 * refactor(ui): simplify static skeleton rendering * refactor(ui): share menu presentation slots * fix: refresh the reviewed correction baseline Baseline-Refresh: 42a715090cf0fc69cd0cd3c8033a1d105e930398 * fix(test): correct workshop cleanup request contract * fix(ci): preserve cleanup time for terminal MLX settings audits * fix(ci): incorporate upstream cohort and fixture repairs Admit exact host/runtime pairs, select tooling lint independently, and capture the Logs deferral count atomically using the complete upstream patches. Update the waiting fixture for native Details rows and retain its zero-history contract. Reduce its existing test allocation by the 23 removed test lines. Preserve upstream authorship and co-author provenance through these source commits: - fea61af (#195255) - 2b92077 (#195197) - 4334867 (#195434) The frozen-base test-line check retains its 16-line inherited deficit without additional allowance. Fresh hosted qualification remains required. Co-authored-by: steipete <[email protected]> * test(ui): align native composer and disclosure fixtures Adapt the fixture repairs from #195798 (source 39dd777). Support both the inline screenshot presentation at this base and the collapsed tool-result presentation introduced by #195359, without a production backport. Allocate exactly 38 added test lines; retain the inherited baseline deficit. * fix: refresh the reviewed correction baseline Baseline-Refresh: 828802623f3860f7ef9385d3d30f097a4cfe4779 * test(ui): retire duplicate native fixture allowance * test(mlx): align qualification allowance with integration baseline * build(deps): bump github.com/groue/grdb.swift from 7.11.1 to 7.12.0 in /apps/shared/OpenClawKit in the swift-deps group across 1 directory (#192660) * build(deps): bump github.com/groue/grdb.swift Bumps the swift-deps group with 1 update in the /apps/shared/OpenClawKit directory: [github.com/groue/grdb.swift](https://github.com/groue/GRDB.swift). Updates `github.com/groue/grdb.swift` from 7.11.1 to 7.12.0 - [Release notes](https://github.com/groue/GRDB.swift/releases) - [Commits](groue/GRDB.swift@v7.11.1...v7.12.0) --- updated-dependencies: - dependency-name: github.com/groue/grdb.swift dependency-version: 7.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: swift-deps ... Signed-off-by: dependabot[bot] <[email protected]> * fix(macos): align GRDB resolved dependency * fix(macos): await readiness in gateway command routing test (#194619) Join the existing document-load waiter after installing fixture listeners, so routing assertions cannot overtake the asynchronous readiness read added by 6eb3065 (#188646). Preserve every existing assertion. Co-authored-by: PollyBot13 <[email protected]> Co-authored-by: steipete <[email protected]> (cherry picked from commit 1c84833) Co-authored-by: Vincent Koc <[email protected]> (cherry picked from commit 955d4a5) * fix: refresh the reviewed correction baseline Baseline-Refresh: 1fb03619d0bc41685a0eff79365ff63e782c6db7 Co-authored-by: PollyBot13 <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: Vincent Koc <[email protected]> * fix(ui): keep usage filter helpers private * test(ui): measure provider key checks after input * fix: refresh the reviewed correction baseline Baseline-Refresh: fa5b6a5c7b6b7c3cffb6176cfc5784a2499217cf * fix(ui): restore usage filter exports for canonical menu * test(ui): trim redundant provider-key test comments * fix: refresh the reviewed correction baseline Baseline-Refresh: f9b6a1e4b647a94a98034d2af2dd32db9321820d * chore(test): align MLX test line allocation with baseline * test(ci): preserve shard runner prerequisite imports in owner fixtures * fix(agents): refresh plugin scope before completion preparation Run completion handoff preparation against the current plugin generation after its producer is released. * test(ui): handle native tab navigation and subpixel geometry * fix(agents): detach completion fallback from released producers Run completed subagent text fallback against the current plugin generation after its producer releases, while preserving requester, source, cancellation and delivery custody. Cover the real shared-plugin callback across requester dispatch and keep the original completion idempotency key. * fix(ui): retain goal cards across session refreshes Keep goal card DOM identity and expanded details across same-goal updates. Follow the current goal accessor for expansion and actions when the goal ID changes, with regression coverage for connected and disconnected sessions. * fix: refresh the reviewed correction baseline Baseline-Refresh: f18bcb063a06594310356c212e82c29eb6804542 * test(ci): reconcile MLX qualification allocation Account for 3282 net test lines and seven inherited fixed-baseline lines with zero extra headroom. * refactor(ui): keep menu item presentation inline * test(ui): align Gateway fixtures with advertised capabilities * fix(macos): recover malformed MLX model configuration * fix: refresh the reviewed correction baseline Baseline-Refresh: bff948fba37e53a83c5b55b88da3b8862834bc03 * test(ui): reconcile sidebar fixtures after baseline refresh * fix: refresh the reviewed correction baseline Baseline-Refresh: 156853cd51d5dc40bed98d1ac52340997f2b0188 * test(ui): reconcile capability fixtures after baseline refresh * fix(ci): retain workflow size and private UI server ownership * fix(ci): retain Discord cache proof boundary * test(ui): align sidebar grouping and await event highlighting * test(ui): align fixtures with persistent Person grouping Apply the two test postimages from upstream commit f68a3ad (#197101), retaining its explicit grouping transitions and visible Person assertion. * test(ui): trim layout fixture spacing for line budget * test(ui): assert scope state and settings sidebar ownership * test(ui): drop fixtures superseded by upstream rail repair * test(ui): align regression fixtures with current contracts Includes Josh Lehman's fixture corrections from #197070 and #197071. Co-authored-by: Josh Lehman <[email protected]> * fix: refresh the reviewed correction baseline Baseline-Refresh: 0ec4abe0c1d6460f977ad638233ea063eb39e99e Co-authored-by: Josh Lehman <[email protected]> * test(ui): await queued send status before asserting Co-authored-by: steipete <[email protected]> Co-authored-by: PollyBot13 <[email protected]> Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: Josh Lehman <[email protected]>
* chore(android): update libraries with compatible Gradle Retain Gradle 9.7.1 while updating the five compatible Android library families and WebKit notice. Route the native localization commit check through its explicit qualified tooling boundary without linking dependencies or changing the generic loader. * fix(macos): preserve MLX model config cache reuse Pin the official config-only model detection fix and qualify the isolated TTS helper in the existing macOS packages phase. Return the actual SwiftPM resolution for review without hiding a stale committed lock. * fix: refresh the reviewed correction baseline Baseline-Refresh: bf28f8b4e7f91a4dcf18aaf71b55eaaf8d7050cf * fix(macos): bind MLX resolution and probe Metal availability Commit the actual SwiftPM resolution from the exact-source macOS qualification artifact and report device/library capability separately from model inference. * test(macos): qualify MLX cache and settings upgrades * test(macos): diagnose native download and prepare settings dependencies * test(macos): admit hosted Darwin download staging * test(macos): record MLX staging preflight facts * test(macos): normalize MLX staging destination parent * fix(ci): count all hosted Swift jobs * test(macos): restore full MLX cache qualification * test(macos): preserve native job clock across owners * fix(ci): preserve MLX arguments and redirected fixture input * fix(ci): preserve native cleanup errors and MLX build policy * fix(ci): preserve native settings cleanup custody * test(ci): fix native fixture callback typing and lint * test(ci): make app-host failure injection optional * fix: refresh the reviewed correction baseline Baseline-Refresh: 41fbd225831ffbb802d89e9c9f14487330654e24 * test(ci): budget MLX qualification regression coverage * fix(ci): freeze the native MLX bad-reference resolution * test(mlx): identify settings handler config-read progress * fix(ci): focus native MLX settings test compilation * test(ci): migrate native settings manifest fixtures * fix(ci): preserve settings proof errors through retirement * fix(ci): separate MLX producer startup and operation budgets * test(ci): qualify MLX producer handoff and retirement fixtures * fix(ci): preserve MLX handoff failure causes * test(ci): create MLX source fixtures before module metadata * fix: refresh the reviewed correction baseline Baseline-Refresh: adfc05d2403179a26ec789314b42706626da8eb0 * fix: refresh the reviewed correction baseline Baseline-Refresh: 8eed5b03d8155b86324d8cad3cbbe09e36b342bb * fix: refresh the reviewed correction baseline Baseline-Refresh: b9b287c0ad3438cbc66f40740166ed3ee4a9f97d * test(macos): record MLX helper shutdown diagnostics * test(ui): await fixture readiness before timed interactions * fix: refresh the reviewed correction baseline Baseline-Refresh: 6e2a78776fa5eb7a90a1747d617ea18f8c462e95 * fix: refresh the reviewed correction baseline Baseline-Refresh: dbbe44e45164cc4436509408387da97ed095fb00 * fix: refresh the reviewed correction baseline Baseline-Refresh: 37d49effa9947750bb024629eb68f204add97885 * test(ui): await lazy search admission before fake timers * fix(ci): prepare public types for the MLX candidate package * fix: refresh the reviewed correction baseline Baseline-Refresh: e24390c7d195242398a5768c7112dcc6abb4cfbc * test(ci): avoid checkout fetches in docs diff fixtures * fix(ci): align changed-scope declarations with runtime * test(ui): align responsive panel fixtures and layout clocks * fix: refresh the reviewed correction baseline Baseline-Refresh: 4eba106df3513299224725e98aef36d24a2797e9 * test(ui): scope background panel controls by presentation * fix: refresh the reviewed correction baseline Baseline-Refresh: c006348b1d299c20bb8018f2438ccfff52fffce9 * fix(ui): preserve sidebar targets and cloud badge coverage * chore: keep sidebar fix notes in PR context Preserve release-owned changelog files for this normal PR. Control UI: keep 44px sidebar session menu targets alongside non-overlapping child-session controls. The cloud-placement fixture repairs are unchanged. * fix: refresh the reviewed correction baseline Baseline-Refresh: 5cff8aebbbaaae685f9be20e5b094301e51b68ac * fix(ui): preserve canonical sidebar menu width Keep the intentional 36px menu width and toggle-before-menu geometry from the upstream sidebar redesign. Remove the redundant 44px restoration after adopting the canonical fixture correction. Release-note context stays in this commit and the PR body. * fix: refresh the reviewed correction baseline Baseline-Refresh: c266b0cb316b344ccb0c9e4cde1f4e222c5a8274 * fix(ui): preserve boot composer scroll across frame moves Capture the connected textarea viewport before a loading frame takes it. A pending native scroll event can leave the prior cache stale and shift the draft when the frame restores focus. Cover delayed event delivery, focus restoration and detached handoff. * test(ui): align Details fixtures with request and scroll owners Measure desktop overflow at the scrollport containing the intended row outsets. Preserve content alignment, viewport and actionability checks. Hold summary and full Uncommitted requests separately, verify stale-count isolation and inspect the expanded full patch. Keep read-only controls. * fix: refresh the reviewed correction baseline Baseline-Refresh: c87f0756b1b4835950606a7e0c5c824a4a9a79a3 * test(ui): wait for roster around held recovery boot * fix: refresh the reviewed correction baseline Baseline-Refresh: bb41692ed401349fce40368ced4556cb1262bec9 * fix: refresh the reviewed correction baseline Baseline-Refresh: 25b985dd0bdb550c89db74e7100c2781a8299c86 * fix: refresh the reviewed correction baseline Baseline-Refresh: 63dec050628ce705654b02eb3acc70730482a96a * test(ui): verify Memory overview stylesheet * fix: refresh the reviewed correction baseline Baseline-Refresh: 6b59c43ff0dbedecbe5444006f43f87e27a748f2 * fix(ci): keep file-local helpers private * fix: refresh the reviewed correction baseline Baseline-Refresh: 90c5f8db48c392efe13d0500ea19f6f0f3da1234 * test(ui): capture failed dashboard menu activation Record bounded, privacy-safe pointer and menu lifecycle events beside the existing failure trace. Preserve original interactions, assertions, and timeouts; the hosted Restore split failure has not reproduced locally. Validate real selection and a controlled failure, including a pointer released outside the menu. * test(ui): retain menu diagnostics in CI artifacts Use the state JSON filename already included by the synthetic widget failure upload. The bounded payload and interaction behavior are unchanged. Validate deliberate failure capture against the actual CI upload pattern, original-error preservation, outside-menu pointer delivery, and the unchanged original scenario. * fix: refresh the reviewed correction baseline Baseline-Refresh: 7f2b0da51ab8389cc0a7f0987e0a3b9ceed7c5fb * fix(ui): keep sidebar action reservations stable Reserve desktop disclosure space before hover and focus, and keep the mobile drawer's dedicated reservation authoritative. Preserve Archive's safe offset after a child disclosure disappears. Existing geometry and deletion safety assertions pass unchanged. * fix(workboard): await owner gateway handlers consistently * fix: refresh the reviewed correction baseline Baseline-Refresh: 0316127141f8963b92eea109610248f80cc80286 * fix(ui): keep transcript payload ownership browser-safe Share ownership markers and envelope cloning through a browser-safe leaf. Preserve server JSON and proxy admission, string detachment, retained child identity and mutable envelope copies. Cover canonicalization across the media and normalization consumers. * fix(scripts): include transcript ownership in PR wrapper * fix(workboard): return owner handler completion consistently * fix: refresh the reviewed correction baseline Baseline-Refresh: c509cabe1a9c92fa47e9e9a207c9dfaad8e9936e * fix(workboard): await owner adapters without returning values * test(ui): await cron deletion history handoff * test(ui): check empty-workspace descriptions across menu layouts Follow up openclaw#190088 while preserving the description, selection, payload, and dispatch assertions for inline and title presentations. * fix: refresh the reviewed correction baseline Baseline-Refresh: 4244f0f75b94847a89a2efa02b247d656662b99d * fix(ui): keep panel skeleton styles within shadow roots Restore the component-owned skeleton rules for shadow-root parents while preserving the shared shimmer tokens and raised background. Add document-to-shadow regression coverage for normal motion, reduced motion, and forced colors. Follow-up to openclaw#189848. * fix: refresh the reviewed correction baseline Baseline-Refresh: 7fbf37e0daa93cff69753c26ccdc3a0b5df8d57a * fix(ci): retain benchmark preload and privatize SQLite guard * fix: refresh the reviewed correction baseline Baseline-Refresh: 6cc0dc880312da6d2e5dcc2d277b8c4bbd8f1f4e * test(ui): retain skeleton shadow-parent coverage * test(ui): settle video gallery reader viewport * test(ui): keep composer resize fixture below line cap * fix: refresh the reviewed correction baseline Baseline-Refresh: b32d3cde1106d959e4e7674c940a5a58774ed140 * refactor(plugins): keep worker retention schemas private * test(ui): settle sidebar capture before deletion accounting * fix: refresh the reviewed correction baseline Baseline-Refresh: bfa60c932117b776b45f7dba5ceeeda94ff64759 * fix: refresh the reviewed correction baseline Baseline-Refresh: d28482414f80ef8b98a153b896439f0290e8d6f6 * test(ui): capture activation and reader layout diagnostics Capture native switch activation failures inside the existing bounded diagnostic catch, and record reader geometry around the unchanged history loading and scroll measurements. Keep original actions, assertions, limits, queue ordering and deadlines intact. Local diagnostic success does not establish the original CI failure mechanism. Failure provenance: https://github.com/openclaw/openclaw/actions/runs/41346692102/job/124968323987 https://github.com/openclaw/openclaw/actions/runs/41346692102/job/124968323625 * fix(ui): minimize canonical gzip for boot assets Compare deterministic high-compression encodings only for boot assets and keep the smallest result. Preserve deferred level-11 compression, decoded asset bytes, Brotli behavior, preload graphs and existing performance budgets. * fix(ci): preserve SDK report capacity on dispatch Default first-attempt dispatches replaced the planned 32-core runner with ubuntu-24.04, serializing revision renders and exhausting the existing 30-minute budget. Preserve the SDK matrix runner while retaining explicit GitHub routing, retries and repository boundaries. Cover wrapped and plain routing expressions without changing timeouts or resource floors. * test(ui): isolate table clipboard from parallel suites * test(ui): seed each native table clipboard assertion * test(ui): record snapshot route timeout facts * fix: refresh the reviewed correction baseline Baseline-Refresh: 77ff1c12c4076b8d5aefb9c691117e78f807ff6a * test(ui): pin gzip golden for boot asset compression * fix: refresh the reviewed correction baseline Baseline-Refresh: 04420c2ea8ff5cf6f563eb4e1ae9f20666c9a048 * fix: refresh the reviewed correction baseline Baseline-Refresh: bdd1f1e68cff4c01ef5eec46807629567fbead97 * fix(ci): remove deleted SQLite test from Windows partition * test(ui): stabilize plugin inventory and trace layout failures * fix: refresh the reviewed correction baseline Baseline-Refresh: ef59cacfb9f33e8a86dbdb6117d9bc7c0d2aff49 * fix(ci): account for MLX qualification coverage * fix: refresh the reviewed correction baseline Baseline-Refresh: 8551976f16cf5437d938eca29e1eab4cfead7436 * fix(test): align Control UI fixtures with runtime ownership * fix: refresh the reviewed correction baseline Baseline-Refresh: 43fd495305262f804c4cdf920d27d3b93d0b4c07 * test(ci): align native qualification allocation * fix: refresh the reviewed correction baseline Baseline-Refresh: 7994afce6005ba4a8560c983ebbdd62fa70df3be * test(ci): account for upstream fixture repairs * test(ui): follow the memory overview status layout * fix: refresh the reviewed correction baseline Baseline-Refresh: c91c3349f46ca38d23293538978df22bb7bcd759 * fix: refresh the reviewed correction baseline Baseline-Refresh: 8205bb508c1d92b554a3fb5d857202c61adffd81 * test(ci): cover SDK full-validation timeout routes * fix: refresh the reviewed correction baseline Baseline-Refresh: 6e66e663d9fc70ff7d90bc0242313296c16d57ca * fix(ui): stabilize qualification fixtures and reuse boot scroll capture * fix: refresh the reviewed correction baseline Baseline-Refresh: 2a61824b2b080c099b965b1d3d11566a5add1f27 * fix(ui): reduce shared loading-placeholder payload * fix(ui): share menu row presentation without replacing live content * fix(ui): retain approved New Session bundle headroom * fix: refresh the reviewed correction baseline Baseline-Refresh: 9acd68827bf8e577c7408bcc8af576895895ae11 * fix(ci): compare hosted row counts with workflow inventory Check both PR and qualification base counts against independent workflow expansion. Match the shared upstream assertion and tighten this PR's test-line allocation to its projected post-upstream growth; verify the actual merge-base delta before publication. * fix: refresh the reviewed correction baseline Baseline-Refresh: dbb49cac2e5db37a2fd8a73fdb3d4bd01ad392d3 * perf(ui): render static skeleton layouts without reactive lists * fix(ci): align New boot budget with approved measured size * fix: refresh the reviewed correction baseline Baseline-Refresh: 94d9c2a524ca3de126a3ec33fd4e9b5555ae53a5 * test(ui): align deferred gzip expectation with maximum effort * fix: refresh the reviewed correction baseline Baseline-Refresh: 6b5eb8206df2409dd804f80f30f1afb1a9dc816f * fix(ui): restore compact inline menu presentation * fix(ui): calibrate retained menu gzip budgets * fix: refresh the reviewed correction baseline Baseline-Refresh: 1eef07bb19f0ca1d0e3e66fc25caf5bd9f3ba4cb * refactor(ui): simplify menu content presentation * test(ui): retry rejected plugin cleanup * test(ui): isolate plugin cleanup response guard * fix: refresh the reviewed correction baseline Baseline-Refresh: 26938fd647a3ee739d6555b4e6afbf2a4091c271 * refactor(ui): simplify static skeleton rendering * refactor(ui): share menu presentation slots * fix: refresh the reviewed correction baseline Baseline-Refresh: 42a715090cf0fc69cd0cd3c8033a1d105e930398 * fix(test): correct workshop cleanup request contract * fix(ci): preserve cleanup time for terminal MLX settings audits * fix(ci): incorporate upstream cohort and fixture repairs Admit exact host/runtime pairs, select tooling lint independently, and capture the Logs deferral count atomically using the complete upstream patches. Update the waiting fixture for native Details rows and retain its zero-history contract. Reduce its existing test allocation by the 23 removed test lines. Preserve upstream authorship and co-author provenance through these source commits: - openclaw@e8e6142 (openclaw#195255) - openclaw@3d383e8 (openclaw#195197) - openclaw@412db28 (openclaw#195434) The frozen-base test-line check retains its 16-line inherited deficit without additional allowance. Fresh hosted qualification remains required. Co-authored-by: steipete <[email protected]> * test(ui): align native composer and disclosure fixtures Adapt the fixture repairs from openclaw#195798 (source 39dd777). Support both the inline screenshot presentation at this base and the collapsed tool-result presentation introduced by openclaw#195359, without a production backport. Allocate exactly 38 added test lines; retain the inherited baseline deficit. * fix: refresh the reviewed correction baseline Baseline-Refresh: 828802623f3860f7ef9385d3d30f097a4cfe4779 * test(ui): retire duplicate native fixture allowance * test(mlx): align qualification allowance with integration baseline * build(deps): bump github.com/groue/grdb.swift from 7.11.1 to 7.12.0 in /apps/shared/OpenClawKit in the swift-deps group across 1 directory (openclaw#192660) * build(deps): bump github.com/groue/grdb.swift Bumps the swift-deps group with 1 update in the /apps/shared/OpenClawKit directory: [github.com/groue/grdb.swift](https://github.com/groue/GRDB.swift). Updates `github.com/groue/grdb.swift` from 7.11.1 to 7.12.0 - [Release notes](https://github.com/groue/GRDB.swift/releases) - [Commits](groue/GRDB.swift@v7.11.1...v7.12.0) --- updated-dependencies: - dependency-name: github.com/groue/grdb.swift dependency-version: 7.12.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: swift-deps ... Signed-off-by: dependabot[bot] <[email protected]> * fix(macos): align GRDB resolved dependency * fix(macos): await readiness in gateway command routing test (openclaw#194619) Join the existing document-load waiter after installing fixture listeners, so routing assertions cannot overtake the asynchronous readiness read added by d5c0807 (openclaw#188646). Preserve every existing assertion. Co-authored-by: PollyBot13 <[email protected]> Co-authored-by: steipete <[email protected]> (cherry picked from commit 3f756c3) Co-authored-by: Vincent Koc <[email protected]> (cherry picked from commit 8bcacae) * fix: refresh the reviewed correction baseline Baseline-Refresh: 1fb03619d0bc41685a0eff79365ff63e782c6db7 Co-authored-by: PollyBot13 <[email protected]> Co-authored-by: steipete <[email protected]> Co-authored-by: Vincent Koc <[email protected]> * fix(ui): keep usage filter helpers private * test(ui): measure provider key checks after input * fix: refresh the reviewed correction baseline Baseline-Refresh: fa5b6a5c7b6b7c3cffb6176cfc5784a2499217cf * fix(ui): restore usage filter exports for canonical menu * test(ui): trim redundant provider-key test comments * fix: refresh the reviewed correction baseline Baseline-Refresh: f9b6a1e4b647a94a98034d2af2dd32db9321820d * chore(test): align MLX test line allocation with baseline * test(ci): preserve shard runner prerequisite imports in owner fixtures * fix(agents): refresh plugin scope before completion preparation Run completion handoff preparation against the current plugin generation after its producer is released. * test(ui): handle native tab navigation and subpixel geometry * fix(agents): detach completion fallback from released producers Run completed subagent text fallback against the current plugin generation after its producer releases, while preserving requester, source, cancellation and delivery custody. Cover the real shared-plugin callback across requester dispatch and keep the original completion idempotency key. * fix(ui): retain goal cards across session refreshes Keep goal card DOM identity and expanded details across same-goal updates. Follow the current goal accessor for expansion and actions when the goal ID changes, with regression coverage for connected and disconnected sessions. * fix: refresh the reviewed correction baseline Baseline-Refresh: f18bcb063a06594310356c212e82c29eb6804542 * test(ci): reconcile MLX qualification allocation Account for 3282 net test lines and seven inherited fixed-baseline lines with zero extra headroom. * refactor(ui): keep menu item presentation inline * test(ui): align Gateway fixtures with advertised capabilities * fix(macos): recover malformed MLX model configuration * fix: refresh the reviewed correction baseline Baseline-Refresh: bff948fba37e53a83c5b55b88da3b8862834bc03 * test(ui): reconcile sidebar fixtures after baseline refresh * fix: refresh the reviewed correction baseline Baseline-Refresh: 156853cd51d5dc40bed98d1ac52340997f2b0188 * test(ui): reconcile capability fixtures after baseline refresh * fix(ci): retain workflow size and private UI server ownership * fix(ci): retain Discord cache proof boundary * test(ui): align sidebar grouping and await event highlighting * test(ui): align fixtures with persistent Person grouping Apply the two test postimages from upstream commit 7488ee5 (openclaw#197101), retaining its explicit grouping transitions and visible Person assertion. * test(ui): trim layout fixture spacing for line budget * test(ui): assert scope state and settings sidebar ownership * test(ui): drop fixtures superseded by upstream rail repair * test(ui): align regression fixtures with current contracts Includes Josh Lehman's fixture corrections from openclaw#197070 and openclaw#197071. Co-authored-by: Josh Lehman <[email protected]> * fix: refresh the reviewed correction baseline Baseline-Refresh: 0ec4abe0c1d6460f977ad638233ea063eb39e99e Co-authored-by: Josh Lehman <[email protected]> * test(ui): await queued send status before asserting Co-authored-by: steipete <[email protected]> Co-authored-by: PollyBot13 <[email protected]> Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: Josh Lehman <[email protected]>
What Problem This Solves
When an assistant inspects images that it also delivers in its reply, the Control UI can render inspected previews outside their tool disclosure. This also affects a single assistant message that batches a text-only call before an image-inspection call.
User Impact
Delivered images remain in the assistant reply. Inspected images stay inside expandable tool details, with tool names and file paths preserved. No configuration changes or migrations are needed.
Why This Change Was Made
Keep image-bearing results tool-owned when combining calls and results, including when media is appended to an existing text-only bundle. Preserve the tool name and file detail on the disclosure. The change reuses the existing transcript projection and renderer.
Evidence
Extended the existing renderer regression for an isolated image call and both batched call orders. Text then image fails before the repair because expanded tool details contain zero images; afterward all three inspected images remain under the tool disclosure while the three delivered images remain in the assistant gallery.
14 message-rendering tests and 8 activity-coalescing tests pass. The renderer file took 1.76 seconds overall, including 443 ms of test execution; the coalescer file took 2.07 seconds.
Targeted UI typecheck, lint, formatting and
git diff --checkpass.The renderer regression adds exactly 43 test lines. A separate 43-line allocation under the normal test-cost policy preserves this behavioral coverage without raising the shared scalar or adding spare budget. The focused test-line ratchet passes against the retained PR base. This allocation-only follow-up leaves product and test source unchanged, so the existing behavioral, visual and independent-review proof is reused.
The screenshots below exercise the real Control UI with the shared mock Gateway and labeled synthetic PNGs. Both use the same batched read_file → view_image transcript and an identical crop above the composer. They are browser UI proof, not a live-model run.
Independent review of the complete candidate identified only the known defect in the old staged snapshot and explicitly confirmed the working-tree repair fixes it. The reviewed repair was staged and committed unchanged; no additional P0–P2 findings remained.
Current-head CI run 42552500508, attempt 1 completed with one root failure: 59 lines of inherited test-budget debt. Its tested baseline has 6,590,133 lines against a 6,590,074 ceiling; this PR adds exactly 43 lines and 43 allocation, preserving the same debt. The unchanged ratchet permits existing debt with zero or negative growth, so main passing does not establish absence of debt. All other selected jobs passed, including security checks. CI remains failed; this is scoped inherited-debt attribution.
Before
Inspected previews render outside the tool-output container; the delivered gallery remains below.
After
The inspected previews belong to the expandable Tool output container. The delivered gallery remains below, and both tool names and paths are preserved.
Scope
No new state or renderer. The complete change adds nine net production lines and 43 regression-test lines. The follow-up repair adds three production lines and extends the existing regression rather than adding a second test fixture.
Worked on by
Work sessions
Linked for team reference; these sessions aren’t public.