-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
Memory Dreaming: filter assistant process chatter from session-corpus candidates #80664
Copy link
Copy link
Open
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper 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 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:linked-pr-openClawSweeper found an open linked pull request for this issue.ClawSweeper 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 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
OpenClaw Memory Dreaming can currently ingest assistant internal process chatter from session transcripts into
memory/.dreams/session-corpus/*, which then appears in Light/REM/Deep candidate surfaces and can become durable-memory promotion candidates.Examples observed in a real workspace Light Sleep report:
Assistant: Oops worktree maybe not created yet due first command still running. poll.Assistant: Now inspect.Assistant: Need commit PR.These are execution scratch notes, not learnable user facts or durable decisions.
Proposed behavior
Add a first-class candidate hygiene filter in the Dreaming session-corpus ingestion path:
Candidate v0 reject patterns
Reject session-corpus snippets like:
Assistant: Need ...Assistant: Now ...Assistant: Oops ...Need commit PRinspect,commit,push,merge,pollBut preserve assistant-authored lines that contain durable signals such as:
Arthur confirmed/decided/approved/rejected/corrected ...decision,accepted,verified,PASScommit <sha>PR #<number>Likely hook point
In the installed bundle I inspected, the Dreaming session ingestion path normalizes snippets via something equivalent to:
A minimal hook would be:
Acceptance test
Given a controlled session transcript containing:
Assistant: Need commit PR.Assistant: Now inspect.Assistant: Oops worktree maybe not created yet due first command still running. poll.those lines should not appear in newly generated
memory/.dreams/session-corpus/YYYY-MM-DD.txtor later Light/REM/Deep candidate outputs.A durable line such as
Arthur confirmed PR #123 accepted; verification PASS.should remain eligible.Why it matters
This prevents process scratch from contaminating long-term memory candidate pipelines while preserving legitimate decision/evidence signals.