Skip to content

fix(ui): preserve app input when reopening dashboard panel - #169441

Merged
obviyus merged 2 commits into
mainfrom
fix/ui-e2e-main-red
Oct 11, 2026
Merged

obviyus merged 2 commits into
mainfrom
fix/ui-e2e-main-red

Conversation

@obviyus

@obviyus obviyus commented Oct 11, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes: unsaved input in a Dashboard MCP App disappears when the side panel is minimized and reopened.

User Impact

Loaded apps keep their local state through the panel transition. Existing offscreen teardown, lease expiration, reconnect, and lazy first-load policies remain unchanged. No configuration or migration is required.

Why This Change Was Made

The Solid board port (#168871) let the content renderer see the new active flag before the lifecycle published its new visibility. Reopening briefly looked like an active offscreen app and tore down its iframe. The existing cell snapshot now publishes activity with the observed visibility instead of mixing two revisions. No new state owner or retention exception is introduced.

Evidence

On current main 5889e62f4902b8f3fa4b6eb2cecbbd26f5b8ceb0, the production-bundle E2E run of the three reported files had 1 failure / 17 passes: the board retention case received an empty string instead of Keep this unsaved dashboard note. All nine history-prepend cases and all four chat-scroll cases already passed; main's 84fb3196ed5 repairs their history/follow owners, so they are not duplicated here.

With this fix, the unchanged complete board-mcp-app.e2e.test.ts passes 5/5, including retention through split, expanded, minimized, and inactive states; reconnect replacement; renewal; and offscreen lazy loading. The retention case takes 2.797 s, and the full bundled command takes 23.19 s. No tests, expectations, retries, or timeouts changed. A separate original-source capture reproduces the empty-note failure in 18.065 s.

Command: node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner --project ui-e2e-bundled --maxWorkers=1 ui/src/e2e/board-mcp-app.e2e.test.ts

Focused checks: all 14 board MCP lifecycle unit cases pass, including active-offscreen teardown, inactive retention, expiry, and reconnect. pnpm tsgo:ui, scoped oxlint, oxfmt, the line-cap ratchet against origin/main, and git diff --check pass. Independent Codex review of the final diff is scoped-clean through P2.

Before and after reopening

Both screenshots use the same synthetic app. Before, the iframe restarts at its initial scroll position and loses the note. After, it remains at the note with its input intact.

Two-way door: reverting restores the old panel-transition behavior. Blast radius is the board MCP App renderer; no stored data, Gateway behavior, or channel delivery changes.

Before: reopening reloads the app and resets its input and scroll position

After: reopening retains the app, note, and scroll position

@clawsweeper

clawsweeper Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui size: XS labels Oct 11, 2026
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 11, 2026
@clawsweeper

clawsweeper Bot commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR publishes MCP App activity and visibility together so reopening the Dashboard panel preserves unsaved input.

Example: Type “Keep this unsaved dashboard note,” minimize Dashboard, and reopen it while the lease remains valid.

  • Before: The iframe reloads, losing the note and resetting its scroll position.
  • After: The existing iframe retains the note and scroll position.

Review scores

Measure Result What it means
Overall readiness 🦞 diamond lobster (5/6) Focused contract restoration with inspected browser proof, existing regression coverage, and no actionable correctness or security findings.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): Inspected before/after browser screenshots show the synthetic Dashboard app reset before the fix and retain its draft afterward; the accompanying production-bundle run exercises the real UI, iframe, and sandbox through a mocked Gateway and reports the unchanged retention regression passing.
Patch quality 🦞 diamond lobster (5/6) No actionable review findings were identified.

Product

Kind: Bug fix · Worth it: Yes · Fix scope: Complete
User problem: Unsaved input disappears when a loaded Dashboard MCP App is minimized and reopened.
Reason: This restores an established retention contract through a narrowly scoped publication fix without new settings or lifecycle exceptions.

Regression provenance

Regression provenance — verified: source commit 939f740219d9 by Peter Steinberger; canonical PR #168871 (blame-to-merge-commit).

Merge readiness

✅ Ready for maintainer review

Keep open: this PR repairs a dashboard draft-loss regression still present on current main; the focused patch has no actionable findings.

Priority: P2
Reviewed head: 465e7558ce1cab0c464dd4a90efc985327a392ca

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI board cell translates panel activity and MCP lifecycle observations into rendering decisions that retain or retire the embedded app iframe.

flowchart TD
  A[Dashboard panel activity] --> B[Board widget cell]
  C[MCP lifecycle and visibility] --> B
  B --> D[Coherent render snapshot]
  D --> E[MCP App content]
  E --> F[Retained or retired iframe]
Loading

Technical review

Best possible solution:

Land the coherent snapshot correction while preserving the existing lifecycle, expiry, reconnect, and offscreen policies.

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

The current-main source exposes the mixed activity/visibility teardown path, and the supplied browser evidence reports the exact draft-loss reproduction; this review did not execute it independently.

Is this the best way to solve the issue?

The patch repairs publication consistency at the existing cell snapshot rather than weakening teardown or introducing another retention owner.

AGENTS.md: found and applied where relevant.

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

Provenance checked

Testing

Proof path: shipped entry point.

Security

None.

Evidence

What I checked:

  • Focused introduced change: The pinned introduction diff adds activity to the existing revision-driven snapshot and makes MCP content consume that snapshot; the other change documents the retention behavior. (ui/src/components/board/board-widget-cell.solid.tsx:145, 465e7558ce1c)
  • Current main still exposes the defective combination: Fetched main passes active() directly while appView and nearVisible come from the revision-driven snapshot; the correction is absent. (ui/src/components/board/board-widget-cell.solid.tsx:480, d0df645f6601)
  • Concrete teardown trigger: MCP content retires a ready iframe when active is true and nearVisible is false; disconnecting the visibility observer clears nearVisible, explaining the reopening transition. (ui/src/components/board/board-mcp-app-content.tsx:37, 465e7558ce1c)
  • Inspected browser proof: Downloaded before/after screenshots show the synthetic app reset to its heading before the fix and retain its scrolled draft-note input afterward; the body identifies the production-bundle browser scenario and reports the unchanged retention test failing before and passing afterward. (465e7558ce1c)
  • Existing retention contract: The earlier dashboard-retention implementation explicitly preserves iframe identity and local state while hidden; the Solid migration also promised to preserve draft state. (ui/src/e2e/board-mcp-app.e2e.test.ts, bd6d35443f7d)
  • Validation state: The inspected head has ongoing checks and no reported failed check conclusions; this review ran no target code or tests and left the checkout clean. (465e7558ce1c)

Likely related people:

  • Peter Steinberger: Raw commit 939f740 adds ui/src/components/board/board-widget-cell.solid.tsx:141 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 939f740219d9; files: ui/src/components/board/board-widget-cell.solid.tsx)

PR surface

Source +2, Docs +2. Total +4 across 2 files. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 1 3 1 +2
Tests 0 0 0 0
Docs 1 2 0 +2
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 2 5 1 +4

Labels

Label changes:

  • add P2: Reopening a Dashboard MCP App can discard unsaved input, with impact limited to that panel lifecycle.
  • add proof: sufficient: Contributor real behavior proof is sufficient.
  • add proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.
  • add rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P2: Reopening a Dashboard MCP App can discard unsaved input, with impact limited to that panel lifecycle.
  • rating: 🦞 diamond lobster: Overall readiness is 🦞 diamond lobster; proof is 🦞 diamond lobster and patch quality is 🦞 diamond lobster.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.
  • proof: sufficient: Contributor real behavior proof is sufficient.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence.

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.

Reviewed October 11, 2026, 7:42 PM ET / 23:42 UTC.

@obviyus

obviyus commented Oct 11, 2026

Copy link
Copy Markdown
Collaborator Author

Maintainer override (Ayaan approved landing): the only red job on this head (465e755) is checks-ui (3/3), which is inherited from main, not caused by this diff.

  • This PR changes the board activity/visibility publication used by board-mcp-app.e2e. That e2e case passes 5/5 locally after the fix, with before/after screenshots in the body.
  • The same checks-ui (3/3) failures ("expected … to have a length of 1 but got +0", "expected true to be false") appear on fix(ui): restore MCP App test typechecks #169439 (now merged, UI test types only) and on steipete's build(ui): upgrade Solid to 2.0.0-rc.14 #169247. main CI skips checks-ui on pushes.
  • ClawSweeper is ready on this exact head.

@obviyus
obviyus merged commit ad69564 into main Oct 11, 2026
79 of 85 checks passed
@obviyus
obviyus deleted the fix/ui-e2e-main-red branch October 11, 2026 23:55
steipete added a commit that referenced this pull request Oct 12, 2026
The debug overlay port (#168805, d64ce70) moved its implementation to TSX;
point stale-chunk fault injection at the emitted module instead of the erased
TypeScript re-export facade. This restores all five System busyness frame
cases without changing production code or weakening their assertions.

Model the Meetings summary-generation RPC with a held, typed interim result.
The old fixture returned an invalid empty object, causing the Solid reader to
throw on session.title and retain its previous tab. Keep all original Summary,
speech, interim-notes, and final-notes assertions.

Strengthen Board's existing inactive-app regression to reject teardown. The
production repair landed concurrently in #169441 (ad69564); adopt that
smaller owner fix and preserve this independent regression assertion. Record
all three migration lessons.

Proof: 164/164 tests across every Board and Meetings unit/browser file;
Board MCP E2E 5/5, lazy recovery 21/21, Meetings E2E 4/4. Original Board and
Meetings failures reproduced before the repairs. UI typecheck, targeted
lint/format, assertion safety and line-budget checks pass. Independent review
has no actionable findings. Base/head builds pass; strict performance has the
same inherited chat-boot request violation (36 > 35). Testbox did not admit
within about ten minutes, so proof ran locally with one worker.
obviyus added a commit that referenced this pull request Oct 12, 2026
Related: #168887, #169439, #169441

## What Problem This Solves

Fixes missing nested chat activity and stale media resources after the Solid transcript migration, restoring 20 failing `checks-ui` cases inherited by unrelated PRs.

## User Impact

Expanded activity shows its nested calls again. Parked image and video previews release their resources and reconnect through the existing scope-checked caches. No settings, protocol, storage, or migration changes.

## Why This Change Was Made

Keep deferred tool-card children inside their existing Lit-owned range instead of creating nested Solid roots that are retired while parked. Bind image and video resource lifetimes to the existing Solid presentation context. Update lifecycle fixtures to await the documented deferred Solid disposal boundary without removing or weakening any assertions.

Checked steipete's open UI PRs before editing. #169442 overlaps the activity headline, not these repairs. #169346 has green UI results on an older tree, but its head lacks the later bridge changes and does not repair these current-main failures. No overlap with Pash/Sarah changes.

## Evidence

- Baseline `a9b40cf325e`: all **20 reported failures reproduced** across eight files (116 other cases passed).
- Rebased onto current main, including #169439 and #169441: **190 tests passed across 10 files**, including all 20 failures plus media handoff and native media siblings.
- `pnpm tsgo:ui`: passed.
- `pnpm run tsgo:test:ui`: all UI shards passed.
- Changed-file oxlint/oxfmt, line-cap ratchet against `origin/main`, and `git diff --check`: passed.
- Independent P0–P2 review: no actionable findings.
- Original failing CI: [shard 2](https://github.com/openclaw/openclaw/actions/runs/38184982892/job/114605449166), [shard 3](https://github.com/openclaw/openclaw/actions/runs/38184982892/job/114605449173), and [image admission run](https://github.com/openclaw/openclaw/actions/runs/38184424359).

### Expanded activity, before and after

Captured from the same Chromium fixture and inspected. Before: the opened parent has no nested calls. After: the calls render and the original height/collapse assertions pass.

| Before | After |
| --- | --- |
| ![Expanded activity missing nested calls](https://github.com/user-attachments/assets/28225f6e-0c93-4bc6-a2bc-6a6467f4e138) | ![Expanded activity displaying nested calls](https://github.com/user-attachments/assets/81afcf4b-f661-4e61-a923-c6fbfed2ad58) |
| ![Opened lone step missing nested calls](https://github.com/user-attachments/assets/8858d53c-456e-4f6f-91e2-326a0a586a61) | ![Opened lone step displaying nested calls](https://github.com/user-attachments/assets/d12fce94-8055-4483-bf4a-db81ef527a03) |

<details>
<summary>Per-test disposition: all 20 fixed</summary>

| Test file | Previously failing cases | Status |
| --- | --- | --- |
| `chat-activity-layout.browser.test.ts` | Expanded height and collapse, standalone | fixed |
| `chat-activity-layout.browser.test.ts` | Expanded height and collapse, inline | fixed |
| `chat-activity-layout.browser.test.ts` | Opened lone step with routine nested calls | fixed |
| `chat-activity-disclosure.test.ts` | Settled completed step with routine nested calls | fixed |
| `chat-position-rail.test.ts` | Focused previews, pointer exit, removal, and session reset | fixed |
| `chat-message-attachment-admission.test.ts` | Stale admission after source replacement/disconnect | fixed |
| `chat-message-text-chip-admission.test.ts` | Stale comment observations | fixed |
| `chat-message-text-chip-admission.test.ts` | Stale paste observations | fixed |
| `chat-transcript-invalidation.test.ts` | Hidden video preview, rendered parent | fixed |
| `chat-transcript-invalidation.test.ts` | Hidden video preview, parked parent | fixed |
| `chat-message-media-lifecycle.test.ts` | Guarded managed image reconnect | fixed |
| `chat-message-image-admission.test.ts` | Loaded assistant image remount | fixed |
| `chat-message-image-admission.test.ts` | Loaded assistant image reconnect | fixed |
| `chat-message-image-admission.test.ts` | Detached image after authToken change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after sessionKey change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after agentId change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after connectionEpoch change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after resourceBasePath change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after policyKey change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after expiry | fixed |

No reported case was already fixed on the captured main baseline. The managed-image remount sibling already passed and continues to pass.
</details>

Two-way door: reverting restores the prior rendering/resource behavior without changing persistent state. Blast radius is Control UI chat activity disclosure and image/video preview lifecycles.

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 12, 2026
…169441)

## What Problem This Solves

Fixes: unsaved input in a Dashboard MCP App disappears when the side panel is minimized and reopened.

## User Impact

Loaded apps keep their local state through the panel transition. Existing offscreen teardown, lease expiration, reconnect, and lazy first-load policies remain unchanged. No configuration or migration is required.

## Why This Change Was Made

The Solid board port (openclaw#168871) let the content renderer see the new active flag before the lifecycle published its new visibility. Reopening briefly looked like an active offscreen app and tore down its iframe. The existing cell snapshot now publishes activity with the observed visibility instead of mixing two revisions. No new state owner or retention exception is introduced.

No overlap with Pash/Sarah changes.

## Evidence

On current main `11f576b23cf70615ca4504eb12fdba93591b9c8f`, the production-bundle E2E run of the three reported files had **1 failure / 17 passes**: the board retention case received an empty string instead of `Keep this unsaved dashboard note`. All nine history-prepend cases and all four chat-scroll cases already passed; main's `13f59c6281a` repairs their history/follow owners, so they are not duplicated here.

With this fix, the unchanged complete `board-mcp-app.e2e.test.ts` passes **5/5**, including retention through split, expanded, minimized, and inactive states; reconnect replacement; renewal; and offscreen lazy loading. The retention case takes 2.797 s, and the full bundled command takes 23.19 s. No tests, expectations, retries, or timeouts changed. A separate original-source capture reproduces the empty-note failure in 18.065 s.

Command: `node scripts/run-vitest.mjs run --config test/vitest/vitest.ui-e2e.config.ts --configLoader runner --project ui-e2e-bundled --maxWorkers=1 ui/src/e2e/board-mcp-app.e2e.test.ts`

Focused checks: all **14** board MCP lifecycle unit cases pass, including active-offscreen teardown, inactive retention, expiry, and reconnect. `pnpm tsgo:ui`, scoped oxlint, oxfmt, the line-cap ratchet against `origin/main`, and `git diff --check` pass. Independent Codex review of the final diff is scoped-clean through P2.

### Before and after reopening

Both screenshots use the same synthetic app. Before, the iframe restarts at its initial scroll position and loses the note. After, it remains at the note with its input intact.

Two-way door: reverting restores the old panel-transition behavior. Blast radius is the board MCP App renderer; no stored data, Gateway behavior, or channel delivery changes.

![Before: reopening reloads the app and resets its input and scroll position](https://github.com/user-attachments/assets/668404a1-09dd-4a72-8eac-aa84c10d536b)

![After: reopening retains the app, note, and scroll position](https://github.com/user-attachments/assets/6b653d81-fc1e-4f45-b248-0e6a747aade6)

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 12, 2026
The debug overlay port (openclaw#168805, 5a27399) moved its implementation to TSX;
point stale-chunk fault injection at the emitted module instead of the erased
TypeScript re-export facade. This restores all five System busyness frame
cases without changing production code or weakening their assertions.

Model the Meetings summary-generation RPC with a held, typed interim result.
The old fixture returned an invalid empty object, causing the Solid reader to
throw on session.title and retain its previous tab. Keep all original Summary,
speech, interim-notes, and final-notes assertions.

Strengthen Board's existing inactive-app regression to reject teardown. The
production repair landed concurrently in openclaw#169441 (43865da); adopt that
smaller owner fix and preserve this independent regression assertion. Record
all three migration lessons.

Proof: 164/164 tests across every Board and Meetings unit/browser file;
Board MCP E2E 5/5, lazy recovery 21/21, Meetings E2E 4/4. Original Board and
Meetings failures reproduced before the repairs. UI typecheck, targeted
lint/format, assertion safety and line-budget checks pass. Independent review
has no actionable findings. Base/head builds pass; strict performance has the
same inherited chat-boot request violation (36 > 35). Testbox did not admit
within about ten minutes, so proof ran locally with one worker.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 12, 2026
Related: openclaw#168887, openclaw#169439, openclaw#169441

## What Problem This Solves

Fixes missing nested chat activity and stale media resources after the Solid transcript migration, restoring 20 failing `checks-ui` cases inherited by unrelated PRs.

## User Impact

Expanded activity shows its nested calls again. Parked image and video previews release their resources and reconnect through the existing scope-checked caches. No settings, protocol, storage, or migration changes.

## Why This Change Was Made

Keep deferred tool-card children inside their existing Lit-owned range instead of creating nested Solid roots that are retired while parked. Bind image and video resource lifetimes to the existing Solid presentation context. Update lifecycle fixtures to await the documented deferred Solid disposal boundary without removing or weakening any assertions.

Checked steipete's open UI PRs before editing. openclaw#169442 overlaps the activity headline, not these repairs. openclaw#169346 has green UI results on an older tree, but its head lacks the later bridge changes and does not repair these current-main failures. No overlap with Pash/Sarah changes.

## Evidence

- Baseline `1bb91e30fd5`: all **20 reported failures reproduced** across eight files (116 other cases passed).
- Rebased onto current main, including openclaw#169439 and openclaw#169441: **190 tests passed across 10 files**, including all 20 failures plus media handoff and native media siblings.
- `pnpm tsgo:ui`: passed.
- `pnpm run tsgo:test:ui`: all UI shards passed.
- Changed-file oxlint/oxfmt, line-cap ratchet against `origin/main`, and `git diff --check`: passed.
- Independent P0–P2 review: no actionable findings.
- Original failing CI: [shard 2](https://github.com/openclaw/openclaw/actions/runs/38184982892/job/114605449166), [shard 3](https://github.com/openclaw/openclaw/actions/runs/38184982892/job/114605449173), and [image admission run](https://github.com/openclaw/openclaw/actions/runs/38184424359).

### Expanded activity, before and after

Captured from the same Chromium fixture and inspected. Before: the opened parent has no nested calls. After: the calls render and the original height/collapse assertions pass.

| Before | After |
| --- | --- |
| ![Expanded activity missing nested calls](https://github.com/user-attachments/assets/28225f6e-0c93-4bc6-a2bc-6a6467f4e138) | ![Expanded activity displaying nested calls](https://github.com/user-attachments/assets/81afcf4b-f661-4e61-a923-c6fbfed2ad58) |
| ![Opened lone step missing nested calls](https://github.com/user-attachments/assets/8858d53c-456e-4f6f-91e2-326a0a586a61) | ![Opened lone step displaying nested calls](https://github.com/user-attachments/assets/d12fce94-8055-4483-bf4a-db81ef527a03) |

<details>
<summary>Per-test disposition: all 20 fixed</summary>

| Test file | Previously failing cases | Status |
| --- | --- | --- |
| `chat-activity-layout.browser.test.ts` | Expanded height and collapse, standalone | fixed |
| `chat-activity-layout.browser.test.ts` | Expanded height and collapse, inline | fixed |
| `chat-activity-layout.browser.test.ts` | Opened lone step with routine nested calls | fixed |
| `chat-activity-disclosure.test.ts` | Settled completed step with routine nested calls | fixed |
| `chat-position-rail.test.ts` | Focused previews, pointer exit, removal, and session reset | fixed |
| `chat-message-attachment-admission.test.ts` | Stale admission after source replacement/disconnect | fixed |
| `chat-message-text-chip-admission.test.ts` | Stale comment observations | fixed |
| `chat-message-text-chip-admission.test.ts` | Stale paste observations | fixed |
| `chat-transcript-invalidation.test.ts` | Hidden video preview, rendered parent | fixed |
| `chat-transcript-invalidation.test.ts` | Hidden video preview, parked parent | fixed |
| `chat-message-media-lifecycle.test.ts` | Guarded managed image reconnect | fixed |
| `chat-message-image-admission.test.ts` | Loaded assistant image remount | fixed |
| `chat-message-image-admission.test.ts` | Loaded assistant image reconnect | fixed |
| `chat-message-image-admission.test.ts` | Detached image after authToken change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after sessionKey change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after agentId change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after connectionEpoch change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after resourceBasePath change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after policyKey change | fixed |
| `chat-message-image-admission.test.ts` | Detached image after expiry | fixed |

No reported case was already fixed on the captured main baseline. The managed-image remount sibling already passed and continues to pass.
</details>

Two-way door: reverting restores the prior rendering/resource behavior without changing persistent state. Blast radius is Control UI chat activity disclosure and image/video preview lifecycles.

Co-authored-by: Ayaan Zaidi <[email protected]>
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 docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🦞 diamond lobster Very strong PR readiness with only minor maintainer review expected. size: XS status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant