Repository navigation
Closed as not planned
Closed as not planned
Copy link
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm 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.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: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Description
Summary
Issue #67580 was closed May 14 but the bug is still present on OpenClaw 2026.5.28 (e932160) as of June 2, 2026.
Problem
The dreaming promotion pipeline continues to write raw Candidate data, bash commands, half-sentences, and internal score metadata directly into MEMORY.md with no distillation.
This morning we cleaned 25 lines of junk from MEMORY.md (93→68 lines). Examples of what got promoted:
- Raw shell commands:
sudo apt remove shaderc && git clone... - Build commands:
cmake --build build -j$(nproc) --target glslc... - Half-sentences:
- ## Josephur's Decision(with no body) - Internal metadata:
[score=0.850 recalls=0 avg=0.620]in the promoted text
These entries scored 0.82–0.96 — well above the 0.8 threshold — confirming the garbage feedback loop described in #67580.
Environment
- OpenClaw: 2026.5.28 (e932160)
- memory.backend: qmd (mcporter daemon, bge-m3-q6 embeddings)
- memory.qmd.searchMode: query
- dreaming.enabled: true, frequency: 0 6 * * *, timezone: America/Indianapolis
- active-memory: enabled (deepseek/deepseek-v4-flash)
- Bedrock (PostgreSQL) for conversation logging
Expected
Promoted entries in MEMORY.md should be distilled knowledge, not raw pipeline artifacts with score metadata attached.
Steps to Reproduce
- Enable dreaming with daily frequency
- Use the agent normally for a few days
- Check MEMORY.md — entries accumulate with
<!-- openclaw-memory-promotion -->HTML comments,[score=...]metadata, and raw shell commands from daily notes
Reacted by clawsweeper
Reacted by clawsweeper
Metadata
Metadata
Assignees
Labels
P2Normal backlog priority with limited blast radius.Normal backlog priority with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.ClawSweeper needs live local, crabbox, or manual validation to confirm 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.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: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.Good issue quality with a plausible reproduction path needing some confirmation.staleMarked as stale due to inactivityMarked as stale due to inactivity
Type
Fields
Priority
None yet
Activity
clawsweeper commentedon Jun 2, 2026
Codex review: this still needs some work.
Summary
Keep open: merged artifact filters address part of the report, but current main deliberately preserves candidate text and still adds score metadata in append fallback; resolving the remaining content-quality complaint requires an explicit admission-policy decision.
Reproducibility: Source establishes verbatim candidate-derived writes and annotated fallback, but does not establish that the reported junk examples still pass every current gate; no live reproduction or tests were run.
Maintainer decision needed
Next step
Choose the content-admission and fallback contract, then establish a failing current regression for artifact-only fragments before changing promotion behavior.
Review details
Best possible solution:
Define durable-content admission in the existing promotion owner while preserving useful technical knowledge, source evidence, and a deliberate model-failure outcome.
Do we have a high-confidence way to reproduce the issue?
Source establishes verbatim candidate-derived writes and annotated fallback, but does not establish that the reported junk examples still pass every current gate; no live reproduction or tests were run.
Is this the best way to solve the issue?
A narrow admission repair needs explicit failing examples first; mandatory distillation is a separate behavior change that existing consolidation does not provide.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning medium; reviewed against 3d053745a640.
Label changes
Label changes:
issue-rating: 🐚 platinum hermit: Current issue advisory state selects this label.clawsweeper:needs-live-repro: Current issue advisory state selects this label.issue-rating: 🌊 off-meta tidepool: Current issue advisory state no longer selects this label.Label justifications:
P2: Persistent memory quality has meaningful but bounded impact, with no demonstrated urgent regression on current main.impact:session-state: Promoted content enters durable memory and can influence future context and recall.Evidence reviewed
What I checked:
extensions/memory-core/src/short-term-promotion-apply.ts:83, ddf0e4756b86)extensions/memory-core/src/dreaming-consolidation.ts:26, ddf0e4756b86)extensions/memory-core/src/dreaming.ts:207, ddf0e4756b86)extensions/memory-core/src/short-term-promotion.ts, 5bbd74266d24)extensions/memory-core/src/short-term-promotion.test.ts:1726, ddf0e4756b86)docs/concepts/dreaming.md:89, ddf0e4756b86)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.Reviewed October 15, 2026, 10:28 PM ET / October 16, 2026, 02:28 UTC.
12 remaining items
openclaw-barnacle commentedon Oct 23, 2026
This issue has been automatically marked as stale after 7 days without qualifying human activity.
Without new human activity, Barnacle may close it as not planned 7 days after this message was posted. This is administrative inactivity cleanup, not a claim that the problem is fixed.
A human update restarts the inactivity clock; a new PR head also restarts it. A maintainer can add no-stale for a durable hold, or bad-barnacle to suppress Barnacle. Remove the hold when work can resume.
steipete commentedon Oct 24, 2026
Thanks for filing this. We're closing older issues that no longer look actionable on current
main.Artifact filters for dreaming promotion have been merged since 2026.5.28, and we could not confirm that the reported junk still passes current gates. If MEMORY.md still gets raw commands or score metadata on a current release, please open a fresh issue with examples.