Skip to content

fix(chat): restore large attachments without losing queued sends - #92223

Merged
fuller-stack-dev merged 15 commits into
openclaw:mainfrom
joeykrug:fix/90098-canonical-media-limits
Sep 16, 2026
Merged

fuller-stack-dev merged 15 commits into
openclaw:mainfrom
joeykrug:fix/90098-canonical-media-limits

Conversation

@joeykrug

@joeykrug joeykrug commented Jun 11, 2026 •

Copy link
Copy Markdown
Contributor

Closes #90098.

What Problem This Solves

Fixes supported-size images disappearing or throwing a stack overflow when a message is restored to the composer.

User Impact

Users can restore and retry large supported attachments without losing existing failed sends. No persistence-format change, migration, or deletion of legacy queue records is introduced.

Why This Change Was Made

The current editor validator overflows below its 5 MiB limit. In addition, real Gateway transcripts store media://inbound/... references that the rewind reader was not consuming. This correction shares the existing iterative base64 validator, bounds data-URL parsing to headers, and resolves existing media references through the guarded inbound reader. MIME parameters, malformed-input rejection, size/offload limits, and preview/clone ownership remain intact.

This continues @joeykrug's canonical PR. His original head 3affedbd0c5ed8a7f472de53231e888618647cf5 remains a parent of the integrated head.

Evidence

Current head: 4d4923f.

The previous exact-head CI run completed with 178 passes and eight skips; the only failures were the stale release-inventory count and its aggregate gate. Canonical #150333 is now landed as 8d823fa50ce9, and this head incorporates it without conflicts. All eight attachment production files remain byte-identical to the qualified source; contributor ancestry is preserved. Exact-head CI35162071429 completed successfully: 180 jobs passed and eight skipped, with no failures.

The attachment product delta retains the qualified fb313bef behavior and contributor ancestry. The reviewed Windows Git-owner correction and CI-fixture repairs at 85424ecc passed their hosted Windows diagnostic, Linux executor, and line-cap jobs. Current main was integrated without conflicts to qualify the observed merged-source failures.

Main has since landed the plugin distribution and catalog corrections (#150316 and #150318). This head adopts those exact landed files, keeping unpublished plugins bundled until release; the temporary exclusion approach is superseded. Generator validation and the changed bundling contract pass. The incremental browser-test correction waits for asynchronous startup and responsive-sidebar settlement without changing product code or weakening diagnostic, clipboard, keyboard or geometry assertions; the focused failing case passes and independent P0–P2 review is clean. A two-line formatting correction fixes the merged-main CI failure.

All eight attachment production owners remain byte-identical to the retained qualified correction. Local types, lint, import cycles and other required static checks passed. The prior CUA failing shard passed hosted on 83fdbc5d; the submenu-focus case passed a focused local investigation but its hosted failure remains recorded for current-head qualification. Current exact-head CI passed; historic failures remain recorded as failures. Fresh ClawSweeper review of this head has no findings or pre-merge requests.

  • Independent P0–P2 review: retained product/Windows/CI scopes and the new browser synchronization delta have no actionable findings. The latest merge conflict resolution matches landed upstream source exactly.
  • Unmodified baseline 49c1bc4d6ee9732b26951ec64e466db670a63ce4: AWS owner/handler regressions fail as expected for supported-size restore and canonical media-reference restoration; malformed-input controls pass.
  • Real baseline Gateway/browser flow: synthetic 4 MiB send succeeds, rewind restores text but loses the image. Paste, failed-send persistence, reload, byte-identical attachment recovery, and retry all pass. No production credentials or external channel sends.
  • Exact-head before/after screenshots, full recordings and real Gateway/browser evidence: restoration, rewind resend, Fork resend, and durable failed-send retry pass. 724 tests, core/UI types, formatting and build pass. Source-blind validation passes all eight candidate clauses; PR screenshots are verified rendered. The originating chat now also passes screenshot delivery: its authorized managed-attachment message was inspected in the actual chat frame, with both images complete and visibly inline at nonzero dimensions. This supersedes the older external-Markdown link-only rendering limitation. No delivery waiver or rendering-policy change was used. Prior-head evidence below is historical.

Historical production report and contributor validation remain available in the shipped failure report, queue-preservation decision, and independent prior-head validation.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime triage: mock-only-proof Candidate: PR proof only shows tests, mocks, snapshots, lint, typecheck, or CI. size: L labels Jun 11, 2026
@clawsweeper

clawsweeper Bot commented Jun 11, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 16, 2026, 7:30 PM ET / 23:30 UTC (Revision 28).

ClawSweeper review

What this changes

The branch makes large chat attachment parsing and restoration stack-safe, preserves failed-send queues, and strengthens Windows CI process cleanup with supporting test corrections.

Merge readiness

✅ Ready for maintainer review

This PR remains necessary: current main still contains the attachment-restoration defects. The retained real-flow evidence supports the fix, the updated body resolves the previous screenshot-delivery blocker, and no introduced blocking defect was found.

Priority: P1
Reviewed head: 4d4923fce77524a0e17c4af36d8fa8570eddab96

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A sound repair with strong real-flow evidence and no blocking findings; ordinary CI gates still apply.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (linked_artifact): Built Gateway/served Control UI evidence covers 4 MiB Rewind/Fork restoration, byte-identical resends, and failed-send reload/retry; all eight attachment production files match that demonstrated revision. Inspected images and supplied runtime observations support the result, and the updated body records both screenshot destinations rendered.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (linked_artifact): Built Gateway/served Control UI evidence covers 4 MiB Rewind/Fork restoration, byte-identical resends, and failed-send reload/retry; all eight attachment production files match that demonstrated revision. Inspected images and supplied runtime observations support the result, and the updated body records both screenshot destinations rendered.
Evidence reviewed 10 items Current main still needs the restoration fix: Current main retains the grouped BASE64_PAYLOAD expression used for editor restoration; its admitted payload range includes the supported-size failure demonstrated in the supplied baseline evidence.
Latest release retains the affected validator: The v2026.9.4 source also contains the grouped restoration validator, so the central correction is not already supplied by the latest release.
Canonical media references remain unread on main: The main-branch editor extractor reads only record.path, while persistInboundImagesForTranscript writes canonical media URLs. The branch consumes those URLs through parseInboundMediaUri and the existing bounded inbound reader.
Findings None None.
Security None None.

How this fits together

The Control UI sends attachments through the Gateway, which stores their media references in conversation history. Rewind and Fork read that history back into the composer so users can edit and resend attachments.

flowchart LR
  A[Selected or pasted attachment] --> B[Chat composer]
  B --> C[Gateway attachment validation]
  C --> D[Stored media and conversation]
  D --> E[Rewind or Fork]
  E --> F[Restore supported image bytes]
  F --> B
  B --> G[Failed-send queue]
  G --> H[Reload and retry]
  H --> C
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +24, Tests +530, Config +128. Total +682 across 25 files.

View PR surface stats
Area Files Added Removed Net
Source 8 81 57 +24
Tests 15 627 97 +530
Docs 0 0 0 0
Config 2 146 18 +128
Generated 0 0 0 0
Other 0 0 0 0
Total 25 854 172 +682

Review metrics

Metric Value Why it matters
Growth by responsibility Runtime +24 lines; CI owner/generated workflow +128; tests/support +530 Runtime growth supports shared validation and media restoration; most growth supplies regression coverage and verified Windows cleanup.

Root-cause cluster

Relationship: fixed_by_candidate
Canonical: #90098
Summary: This PR remains the implementation candidate for the broader large-attachment tracker; the merged parser work covers only part of that problem.

Members:

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

Technical review

Best possible solution:

Keep attachment validation with the shared media owner, restore canonical inbound references through existing guards, and retain failed sends for explicit retry.

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

Yes: send a supported-size image and restore it through Rewind; supplied real baseline evidence shows the missing attachment, and current main retains the responsible reader and validator. This review did not execute current main.

Is this the best way to solve the issue?

Yes: the patch repairs existing parsing and restoration owners while preserving admission limits, malformed-input rejection, and durable queued sends.

AGENTS.md: found and applied where relevant.

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

Labels

Label justifications:

  • P1: Supported-size attachments can still disappear during restoration or fail processing in an established chat workflow.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (linked_artifact): Built Gateway/served Control UI evidence covers 4 MiB Rewind/Fork restoration, byte-identical resends, and failed-send reload/retry; all eight attachment production files match that demonstrated revision. Inspected images and supplied runtime observations support the result, and the updated body records both screenshot destinations rendered.
  • proof: sufficient: Contributor real behavior proof is sufficient. Built Gateway/served Control UI evidence covers 4 MiB Rewind/Fork restoration, byte-identical resends, and failed-send reload/retry; all eight attachment production files match that demonstrated revision. Inspected images and supplied runtime observations support the result, and the updated body records both screenshot destinations rendered.

Evidence

What I checked:

  • Current main still needs the restoration fix: Current main retains the grouped BASE64_PAYLOAD expression used for editor restoration; its admitted payload range includes the supported-size failure demonstrated in the supplied baseline evidence. (ui/src/pages/chat/attachment-payload-store.ts:197, ab202aa1e12c)
  • Latest release retains the affected validator: The v2026.9.4 source also contains the grouped restoration validator, so the central correction is not already supplied by the latest release. (ui/src/pages/chat/attachment-payload-store.ts:197, 3a9d69db306c)
  • Canonical media references remain unread on main: The main-branch editor extractor reads only record.path, while persistInboundImagesForTranscript writes canonical media URLs. The branch consumes those URLs through parseInboundMediaUri and the existing bounded inbound reader. (src/config/sessions/session-accessor.sqlite-message-cut.ts:483, ab202aa1e12c)
  • Qualified attachment source is retained: Comparison against the demonstrated revision returned no differences in all eight attachment production files. (ui/src/pages/chat/attachment-payload-store.ts:201, 4d4923fce775)
  • Real Gateway and browser evidence: The supplied member comment fix(chat): restore large attachments without losing queued sends #92223 (comment) records a built Gateway and served Control UI processing a synthetic 4 MiB PNG: baseline Rewind loses the image; the candidate restores and resends identical bytes through Rewind and Fork, and preserves a failed attachment across reload and retry. Both downloaded before/after images were inspected. Video preparation reports ffprobe ENOENT, so the recordings were not independently inspected; the assessment uses the images and supplied flow observations. (fb313bef09a5)
  • Previous review dispositions: The captured current body, sourceRevision fa13ef6c99b880bd51e58f99ce497e9f8f22a6b2e067840924d401ea9f487d5d, explicitly records successful inline screenshot rendering in the originating chat and PR. It supersedes the previous placeholder-rendering limitation. The introduced file list contains no queue-serialization or plugin-distribution changes; the queue-preservation decision is documented at fix(chat): restore large attachments without losing queued sends #92223 (comment). (4d4923fce775)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • jincheng-xydt: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (27 earlier review cycles; latest 8 shown)
  • reviewed 2026-08-17T19:30:57.641Z sha 3affedb :: needs real behavior proof before merge. :: [P2] Harden first-turn attachment recovery too | [P2] Reject malformed Gateway data-URL headers | [P2] Keep Control UI send headers fail-closed
  • reviewed 2026-08-21T14:52:19.514Z sha 3affedb :: needs real behavior proof before merge. :: [P1] Restore the pasted-image admission predicate | [P2] Make first-turn attachment recovery stack-safe | [P2] Reject malformed Gateway data-URL headers before stripping
  • reviewed 2026-09-15T14:25:24.830Z sha fb313be :: needs real behavior proof before merge. :: none
  • reviewed 2026-09-15T14:54:13.020Z sha fb313be :: blocked before merge. :: none
  • reviewed 2026-09-16T20:43:45.742Z sha 79ab55c :: blocked before merge. :: none
  • reviewed 2026-09-16T21:23:02.447Z sha 85424ec :: blocked before merge. :: none
  • reviewed 2026-09-16T21:50:25.791Z sha 83fdbc5 :: blocked before merge. :: [P1] [P1] Preserve bundled availability for the three publishable plugins
  • reviewed 2026-09-16T22:09:17.243Z sha 3bb9d62 :: blocked before merge. :: none

@clawsweeper clawsweeper Bot added the rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. label Jun 11, 2026
@joeykrug joeykrug changed the title fix: extract large inbound PDFs via canonical media limits, stack-safe attachment parsing Fix stack-safe large attachment handling Jun 11, 2026
@openclaw-barnacle openclaw-barnacle Bot added proof: supplied External PR includes structured after-fix real behavior proof. and removed triage: mock-only-proof Candidate: PR proof only shows tests, mocks, snapshots, lint, typecheck, or CI. labels Jun 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. P1 High-priority user-facing bug, regression, or broken workflow. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. merge-risk: 🚨 availability 🚨 May cause crashes, hangs, restart loops, stalls, or process outages. proof: sufficient ClawSweeper judged the real behavior proof convincing. 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 rating: 🌊 off-meta tidepool PR readiness rating does not apply to this item. 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 Jun 11, 2026
@openclaw-barnacle openclaw-barnacle Bot removed the proof: sufficient ClawSweeper judged the real behavior proof convincing. label Jun 11, 2026
@BSG2000

BSG2000 commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

Confirmed this fixes a real 2026.6.6 production failure mode.

Observed on a local Gateway running OpenClaw 2026.6.6 (8c802aa) when sending a chat with an attachment:

[gateway] chat.send attachment parse/stage failed: RangeError: Maximum call stack size exceeded

The failing path matches the pre-fix parseMessageWithAttachments attachment staging path: the installed runtime still used full-payload regex validation/data-URL parsing before bounded handling. Applying the same stack-safe parser behavior from this PR locally (iterative base64 validation, index-based data URL stripping, size check before full validation) stopped the attachment staging stack overflow; Gateway restarted cleanly and /health is live again.

I also ran the PR branch attachment tests locally:

npm exec --yes [email protected] -- test -- src/gateway/chat-attachments.test.ts
# 4 shards passed, 132 tests passed

This PR looks like the canonical fix rather than opening another duplicate PR for the same issue.

@joeykrug
joeykrug force-pushed the fix/90098-canonical-media-limits branch from bbcca2e to 91e66f5 Compare July 28, 2026 19:38
@joeykrug

Copy link
Copy Markdown
Contributor Author

@BSG2000 thank you for the test-merge map — it was exactly right and made this repair fast. The branch is rebuilt as you suggested: one fresh commit on current main, no merge history. Exact head: 91e66f56efe98cb295aefb01412366c41d691dfd (base 8aa67634ca).

What changed relative to the old branch:

  • The index-based dataUrlToBase64 parser landed in ui/src/pages/chat/attachment-api.ts, the bounded-header + char-scan paste parser in ui/src/pages/chat/components/chat-attachments.ts, and the Gateway stripBase64DataUrlPrefix in src/gateway/chat-attachments.ts — the three relocation targets from your table.
  • The composer-persistence legacy-drop logic is gone entirely rather than re-applied. ClawSweeper's review flagged silent deletion of persisted failed messages as a P1 merge risk and recommended preserving them; with that policy the format marker had no remaining benefit, so the PR no longer touches queue serialization at all. New tests pin that failed attachment sends (including legacy stack-overflow records) stay durable and retryable in both v1 and v2 storage.
  • One addition found during re-review: the editor-restore BASE64_PAYLOAD grouped-quantifier regex in ui/src/pages/chat/attachment-payload-store.ts provably throws RangeError: Maximum call stack size exceeded on current main at ~4.5M base64 chars — below its own 5 MiB admission cap — in both Node 24 and Chromium 149. It now uses the same iterative validation, with a size-cap regression test.

Real-behavior proof on the exact head is in the PR body under ## Evidence: a real Gateway + Gateway-served Control UI (served bundle hash verified against the fresh build), a 9.0 MB PDF file-attach and a 4.3 MB pasted image data URL (5,982,102 chars) both completing chat.send with Offloaded attachment log lines and zero RangeError anywhere — while the same browser session throws RangeError running current-main's restore regex. That should be the console-capture-style before/after you suggested.

Happy to have you re-run the test merge — GitHub reports the branch mergeable against current main. I could not add you as a formal reviewer (no base-repo permission), so consider this the re-review request.

@joeykrug

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Exact head 91e66f56efe98cb295aefb01412366c41d691dfd — single commit rebuilt on current main (8aa67634ca), mergeable. Both rank-up moves are addressed:

  1. Exact-head real behavior proof is in the PR body ## Evidence: real Gateway + Gateway-served Control UI (served bundle hash verified against the exact-head build), 9.0 MB PDF attach and 4.3 MB pasted image both completing chat.send with Offloaded attachment gateway log lines and zero RangeError in browser console or gateway logs; the same live browser session reproduces RangeError: Maximum call stack size exceeded running current-main's BASE64_PAYLOAD restore regex, and the 2026.6.6 production failure remains cited as the shipped baseline.
  2. Persisted-queue policy follows your recommended option 1: the restore-time deletion rule and the composerPersistenceVersion marker are removed entirely; legacy failed messages and attachments stay durable and retryable, pinned by new tests at the current queue codec boundary.

The previously flagged stored-data-model change no longer exists — the PR touches no queue serialization code.

@clawsweeper

clawsweeper Bot commented Jul 28, 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:

@BSG2000

BSG2000 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

@joeykrug re-ran the verification on the exact head 91e66f56ef — everything checks out from my side:

  • Test merge against current main: clean, no conflicts, no manual resolution needed ("Automatic merge went well"). The earlier 3-file conflict set is fully gone with the fresh single-commit rebuild.
  • Relocation targets: confirmed the index-based dataUrlToBase64 in ui/src/pages/chat/attachment-api.ts (indexOf-marker parse, no full-payload regex), the bounded paste parser in chat-attachments.ts (no grouped-quantifier pattern left), and stripBase64DataUrlPrefix in src/gateway/chat-attachments.ts.
  • Queue serialization: verified the diff no longer touches composer-persistence.ts at all — only the new composer-persistence.test.ts pinning durable failed sends in v1/v2 storage. That resolves the P1 silent-deletion concern in the direction ClawSweeper asked for.
  • The attachment-payload-store.ts catch is a good one — RESTORED_IMAGE_MIME is now a trivial anchored MIME check plus an iterative charCodeAt canonical-base64 scan with the 5 MiB-derived char cap, so the restore path is stack-safe by construction. Nice find on top of the original scope.

The evidence block (bundle-hash-verified served UI, 9.0 MB PDF + 4.3 MB pasted image with Offloaded attachment lines and zero RangeError, against a reproducible RangeError on current main's restore path) is exactly the real-behavior before/after the review asked for.

From my side this is ready — ClawSweeper's re-review is queued and should update its verdict on the exact head shortly. Thanks for turning the repair around so quickly and cleanly.

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 session-state 🚨 May lose, corrupt, stale, or mis-associate session, agent, or context state. labels Jul 29, 2026
joeykrug and others added 2 commits July 29, 2026 21:49
Resolve current attachment parsing changes and remove the stale data-URL helper import.
@fuller-stack-dev

fuller-stack-dev commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Exact-head attachment restoration proof

Head fb313bef09a5fdeda23540069b6ff1a5fce122dc; unmodified baseline 49c1bc4d6ee9732b26951ec64e466db670a63ce4. The original joeykrug head remains a parent.

Real built Gateway + served Control UI on sanitized AWS Crabbox, with a 4 MiB synthetic PNG and loopback synthetic provider. No production credentials or external channel sends.

  • Baseline: actual send succeeds; Rewind restores text but loses the image (RED).
  • Exact head: send → Rewind restores the image; restored-image resend succeeds with identical serialized bytes. Paste → one injected transport failure → reload preserves the same failed queue item and decoded attachment hash → Retry succeeds. Fork also restores and resends the same bytes (GREEN).
  • 724 focused tests passed (52 media, 158 Gateway, 514 UI; one existing platform skip); core/UI types, 15-file formatting and build passed. Malformed/padding, MIME parameters, caps/PDF offload, guarded media URIs, preview/video/composer ownership and legacy failed queues remain covered. No queue schema or migration changes.
  • Independent source review has no P0–P2 findings. Source-blind captured-behavior validation passes all eight candidate clauses and confirms baseline restore RED. Additional observations record exactly one chat.send injection, queue=[] and payloads=[] after retry, and132 separate built/served hash matches. This is an artifact audit, not an independent live rerun. Baseline injection-count and acknowledged-empty-queue recording gaps remain explicitly documented; they are not retroactively filled by the candidate. Hosted CI remains pending after two unchanged-owner failures; no CI pass is claimed.

Before — image missing after real Rewind

Before: baseline rewind restores text but loses the supported-size image

After — image restored to composer

After: exact-head rewind restores text and the supported-size image

Full captures

Baseline:

base-proof.mp4

Equivalent exact-head flow:

head-proof.mp4

Additional rewind-resend / Fork-resend:

extended-proof.mp4

Captures are complete, normal-speed recordings with a SHA/title strip above the original pixels; no generated scenes or behavior edits. Originals and deterministic transforms are preserved.

Baseline API/state evidence · Head API/state evidence · Supplemental resend evidence (broker URLs expire after seven days; GitHub media above is persistent).

Runs: baseline, qualification, resends, evidence supplement.

Gateway/provider fixtures are joined/closed. Both PR images rendered at1440×1000 in an anonymous browser (run_eed631dc8344). The inspected pair was also displayed in this visible owner chat; originating-parent-chat delivery receipt remains pending before landing.

Retain verified member handles before terminating the job and require every
handle to be signaled before returning from the existing ten-second drain.
Reject membership growth rather than authorize reuse from zero job accounting.

Add original-return-boundary and PID-reuse/racing-member regression coverage;
regenerate the canonical CI consumer.
@openclaw-barnacle

Copy link
Copy Markdown

This assigned pull request has been automatically marked as stale after being open for 27 days.
Please add updates or it will be closed.

@fuller-stack-dev

Copy link
Copy Markdown
Member

Merged via squash.

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 cli CLI command changes gateway Gateway runtime P1 High-priority user-facing bug, regression, or broken workflow. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: supplied External PR includes structured after-fix real behavior proof. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XL stale Marked as stale due to inactivity 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.

Stack-safe large attachment handling for Control UI and gateway

3 participants