Skip to content

WebChat history after session reset hides archived sessions and loses image attachment display #77819

Description

@vampyren

OpenClaw version: 2026.5.3-1
Surface: WebChat / Control UI
Session key: agent:main:main

Issue

After an automatic/session reset, WebChat only shows one current session (agent:main:main). Older/reset transcript history is not visible in the Sessions UI, even though transcript/archive files still exist on disk.

Also, image attachments disappear from historical chat display after reload/reset. In one case, the backend transcript still contained the image data, but the WebChat UI no longer rendered the attachment. In another visible message, the frontend showed only the text bubble and no attached image.

Expected

  • Reset/archived transcripts should be accessible from Sessions/History UI, or clearly exposed as archived history.
  • Image attachments should remain visible when viewing chat history after reload/reset.
  • If images are intentionally omitted from historical projection, the UI should show an attachment placeholder instead of silently hiding them.

Actual

  • Only the current session appears in the UI.
  • Previous messages/images appear to disappear from WebChat history.
  • This makes it look like chat history and attachments were deleted, even though some data remains on disk.

Notes

Current session id observed:

332df20c-3ef2-4f9f-a69c-8b44aea6e9b6

Example archived transcript path existed on disk:

/home/spawn/.openclaw/agents/main/sessions/c798e3e1-eb6d-4a23-bc64-0a0dd264ea28.jsonl.reset.2026-05-05T09-57-18.833Z

I’d consider this a bug because the UI makes it appear as if chat history and image attachments were deleted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.staleMarked as stale due to inactivity

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions