Skip to content

Bug: Dreaming session-corpus ingestion stopped — 175 sessions unprocessed since 5/15 #86653

Description

@bmdf

Bug: Dreaming session-corpus ingestion stopped after 5/15 — 175 sessions unprocessed

Summary

Session-corpus ingestion stopped processing new session transcripts after 2026-05-15. Dreaming cron runs daily and reports status: ok, but the session-ingestion.json state hasn't updated since 5/15, and 175 out of 177 sessions created after 5/15 are missing from seenMessages.

Evidence

Session-corpus frozen:

  • Latest corpus file: 2026-05-15.txt (425 bytes), nothing after 5/15
  • session-ingestion.json last modified: 2026-05-15 03:02
  • Tracked files: 352 (all pre-5/15)

Sessions vs ingestion:

  • Total session .jsonl files: 466
  • Sessions created after 5/15: 177
  • After-5/15 sessions NOT in seenMessages: 175
  • Even the current active conversation session (9 user messages) is missing

Dreaming cron still runs:

  • Job 36bce6b8 "Memory Dreaming Promotion" runs daily at 3:00 AM, all status: ok
  • Recent summaries: all NO_REPLY (1-5 second duration, effectively no-op)
  • DREAMS.md last updated: 5/15

What's NOT broken:

  • memory-core plugin enabled, dreaming enabled
  • openclaw memory status --deep reports healthy (except 12 invalid recall entries — likely stale)
  • Recall store: 8690 entries still functional
  • Session files exist at ~/.openclaw/agents/main/sessions/*.jsonl
  • listSessionFilesForAgent("main") returns correct files

Root cause hypothesis

The ingestion state (session-ingestion.json) has seenMessages with 1592 scopes but new sessions are never added. The collectSessionIngestionBatches function correctly enumerates session files but something in the ingestion loop prevents new sessions from being processed or the state from being persisted.

The ingestion state key format is main:sessions/main/{uuid}.jsonl — the /main/ part is the agentId (not a subdirectory), and the actual files are at ~/.openclaw/agents/main/sessions/{uuid}.jsonl. This pattern worked before 5/15, so it's likely a regression.

Version

OpenClaw 2026.5.20 (e510042), Linux WSL2

Impact

No new session content flows into Dreaming phases. No new DREAMS.md entries since 5/15.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.impact:data-lossCan lose, corrupt, or silently drop user/session/config data.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions