openclaw - 💡(How to fix) Fix Bug: CONCEPT_STOP_WORDS missing common English stop words, producing garbage dream reflections [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#70023Fetched 2026-04-23 07:30:19
View on GitHub
Comments
1
Participants
2
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
commented ×1mentioned ×1subscribed ×1

The CONCEPT_STOP_WORDS set in short-term-promotion is missing many common English stop words, causing the dreaming system to produce meaningless reflections like:

Theme: `the` kept surfacing across 1657 memories. confidence: 1.00
Theme: `assistant` kept surfacing across 2199 memories. confidence: 1.00

The buildRemReflections function ranks tags by frequency across memories. Without proper stop word filtering, high-frequency English words dominate and produce noise.

Root Cause

Current shared stop words include:

about, after, agent, again, also, because, before, being, between, build, called, could, daily, default, deploy, during, every, file, files, from, have, into, just, line, lines, long, main, make, memory, month, more, most, move, much, next, note, notes, over, part, past, port, same, score, search, session, sessions, short, should, since, some, than, that, their, there, these, they, this, through, today, using, with, work, workspace, year

Code Example

Theme: `the` kept surfacing across 1657 memories. confidence: 1.00
Theme: `assistant` kept surfacing across 2199 memories. confidence: 1.00

---

about, after, agent, again, also, because, before, being, between, build, called, could, daily, default, deploy, during, every, file, files, from, have, into, just, line, lines, long, main, make, memory, month, more, most, move, much, next, note, notes, over, part, past, port, same, score, search, session, sessions, short, should, since, some, than, that, their, there, these, they, this, through, today, using, with, work, workspace, year

---

the, let, user, now, can, all, you, check, see, add, done, good, system, what, already, connected, disconnected, assistant, whatsapp, way, back, still, well, when, how, here, where, which, who, your, get, got, going, new, only, like, found, run, both, current, sender, create, fix
RAW_BUFFERClick to expand / collapse

Summary

The CONCEPT_STOP_WORDS set in short-term-promotion is missing many common English stop words, causing the dreaming system to produce meaningless reflections like:

Theme: `the` kept surfacing across 1657 memories. confidence: 1.00
Theme: `assistant` kept surfacing across 2199 memories. confidence: 1.00

The buildRemReflections function ranks tags by frequency across memories. Without proper stop word filtering, high-frequency English words dominate and produce noise.

Affected File

dist/short-term-promotion-Cd3cMDbx.jsCONCEPT_STOP_WORDS shared array

Current shared stop words include:

about, after, agent, again, also, because, before, being, between, build, called, could, daily, default, deploy, during, every, file, files, from, have, into, just, line, lines, long, main, make, memory, month, more, most, move, much, next, note, notes, over, part, past, port, same, score, search, session, sessions, short, should, since, some, than, that, their, there, these, they, this, through, today, using, with, work, workspace, year

Missing stop words found in production data:

the, let, user, now, can, all, you, check, see, add, done, good, system, what, already, connected, disconnected, assistant, whatsapp, way, back, still, well, when, how, here, where, which, who, your, get, got, going, new, only, like, found, run, both, current, sender, create, fix

Tag frequency from a live workspace before cleanup:

TagCount
assistant3,616
the2,415
let1,383
user1,230
now988
check520
can247
you212

Proposed Fix

Add the missing words to the shared array in CONCEPT_STOP_WORDS. I can also submit a PR if preferred.

Environment

  • OpenClaw version: 2026.4.15 (041266a)
  • Node: v22.22.0
  • OS: Linux 6.6.87.2-microsoft-standard-WSL2 (x64)

extent analysis

TL;DR

Adding the missing English stop words to the CONCEPT_STOP_WORDS set is likely to fix the issue of meaningless reflections in the dreaming system.

Guidance

  • Verify the impact of the missing stop words by analyzing the tag frequency data and the produced reflections, ensuring that the high-frequency English words are indeed causing the noise.
  • Update the CONCEPT_STOP_WORDS set in the short-term-promotion module by adding the missing words, such as the, let, user, and others listed in the issue.
  • Test the updated CONCEPT_STOP_WORDS set with a sample dataset to ensure that the reflections are meaningful and not dominated by high-frequency English words.
  • Consider submitting a PR with the updated CONCEPT_STOP_WORDS set for review and integration into the main codebase.

Example

No code snippet is provided as it is not necessary for this issue, but the updated CONCEPT_STOP_WORDS set would include the missing words, for example:

const CONCEPT_STOP_WORDS = [
  // existing words
  'about', 'after', 'agent', 'again', 'also', 
  // missing words
  'the', 'let', 'user', 'now', 'can', 'all', 
  // ... other missing words
];

Notes

The proposed fix assumes that the CONCEPT_STOP_WORDS set is the primary cause of the issue. However, other factors might contribute to the problem, and additional debugging might be necessary if the issue persists after updating the stop words.

Recommendation

Apply the workaround by adding the missing stop words to the CONCEPT_STOP_WORDS set, as this is a targeted fix that addresses the identified cause of the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix Bug: CONCEPT_STOP_WORDS missing common English stop words, producing garbage dream reflections [1 comments, 2 participants]