-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Dreaming needs supported guard to disable session transcript ingestion during QMD migrations #87689
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, 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.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, 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.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Summary
During staged QMD memory migrations, session transcript indexing into dreaming/QMD may intentionally be out of scope. In that state, operators need a supported way to disable session transcript ingestion so volatile session, cron, and tool-output fragments do not enter dreaming memory.
Observed across the
2026.5.26to2026.5.27update window. Current installed version observed locally:A local environment used sentinel files named:
and a local quality filter to keep volatile session/cron/tool output from entering dreaming memory. Package/runtime updates can overwrite that local installed-runtime guard. When the guard was lost, non-main workspaces regenerated
memory/.dreams/session-corpusfiles and volatile dream stores accumulated raw cron/session snippets.Expected behavior
OpenClaw should provide a supported configuration switch or durable sentinel mechanism to disable session transcript ingestion into dreaming/QMD during staged migrations.
When disabled:
memory/.dreams/session-corpusfiles.Actual behavior
Without the local installed-runtime guard, a
Memory Dreaming Promotionrun recreated active session-corpus files and volatile dream entries from raw session/cron fragments.The fallout was not limited to the main agent. Non-main workspaces such as cron-related agents also had session-corpus material that required cleanup.
Local workaround
The local installed dreaming runtime was patched to:
memory/.dreams/disable-session-ingestion;Operational cleanup after the guard was lost:
Verification evidence
After restoring the local guard:
memory/.dreams/disable-session-ingestion;0;Requested upstream outcome
Please add a first-class setting or supported sentinel for disabling session transcript ingestion into dreaming/QMD, plus tests ensuring package updates do not remove the behavior. This would let staged memory migrations keep QMD clean until transcript indexing is explicitly enabled.