Repository navigation
feat(memory): harden dreaming and multilingual memory promotion - #60697
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7f8d961e49
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Greptile SummaryThis PR hardens the memory dreaming and short-term promotion pipeline with three main additions: (1) audit/repair support for stale promotion locks and invalid recall store entries, surfaced through Key observations:
Confidence Score: 5/5Safe to merge — all previously flagged P1 issues are resolved and the only remaining finding is a trivial duplicate stop word entry with no functional impact. The three bugs from the prior review (missing lock in repair function, inverted fix-hint condition, double JSON.parse) are all addressed. The new concept-vocabulary module and dreaming hardening are well-structured, with good test coverage for the new behaviors. The single remaining P2 finding (duplicate Korean stop word) has zero runtime impact due to Set deduplication and does not block merge. No files require special attention. The author should verify Prompt To Fix All With AIThis is a comment left during a code review.
Path: extensions/memory-core/src/concept-vocabulary.ts
Line: 205-206
Comment:
**Duplicate Korean stop word entry**
`"했다"` appears twice in the `cjk` stop words list (lines 205–206). Since `CONCEPT_STOP_WORDS` is constructed as a `Set`, there is no functional impact — the duplicate is silently deduplicated. But it signals a copy-paste slip worth cleaning up.
```suggestion
"해",
"했다",
```
How can I resolve this? If you propose a fix, please make it concise.Greploops — Automatically fix all review issues by running Reviews (2): Last reviewed commit: "Merge branch 'main' into review/memory-d..." | Re-trigger Greptile |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 22f64ab40e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3ee6837807
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@greptileai review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c3664396dd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…claw#60697) * feat(memory): add recall audit and doctor repair flow * refactor(memory): rename symbolic scoring and harden dreaming * feat(memory): add multilingual concept vocabulary * docs(changelog): note dreaming memory follow-up * docs(changelog): shorten dreaming follow-up entry * fix(memory): address review follow-ups * chore(skills): tighten security triage trust model * Update CHANGELOG.md
…claw#60697) * feat(memory): add recall audit and doctor repair flow * refactor(memory): rename symbolic scoring and harden dreaming * feat(memory): add multilingual concept vocabulary * docs(changelog): note dreaming memory follow-up * docs(changelog): shorten dreaming follow-up entry * fix(memory): address review follow-ups * chore(skills): tighten security triage trust model * Update CHANGELOG.md
…claw#60697) * feat(memory): add recall audit and doctor repair flow * refactor(memory): rename symbolic scoring and harden dreaming * feat(memory): add multilingual concept vocabulary * docs(changelog): note dreaming memory follow-up * docs(changelog): shorten dreaming follow-up entry * fix(memory): address review follow-ups * chore(skills): tighten security triage trust model * Update CHANGELOG.md
…claw#60697) * feat(memory): add recall audit and doctor repair flow * refactor(memory): rename symbolic scoring and harden dreaming * feat(memory): add multilingual concept vocabulary * docs(changelog): note dreaming memory follow-up * docs(changelog): shorten dreaming follow-up entry * fix(memory): address review follow-ups * chore(skills): tighten security triage trust model * Update CHANGELOG.md
…claw#60697) * feat(memory): add recall audit and doctor repair flow * refactor(memory): rename symbolic scoring and harden dreaming * feat(memory): add multilingual concept vocabulary * docs(changelog): note dreaming memory follow-up * docs(changelog): shorten dreaming follow-up entry * fix(memory): address review follow-ups * chore(skills): tighten security triage trust model * Update CHANGELOG.md
…claw#60697) * feat(memory): add recall audit and doctor repair flow * refactor(memory): rename symbolic scoring and harden dreaming * feat(memory): add multilingual concept vocabulary * docs(changelog): note dreaming memory follow-up * docs(changelog): shorten dreaming follow-up entry * fix(memory): address review follow-ups * chore(skills): tighten security triage trust model * Update CHANGELOG.md
…claw#60697) * feat(memory): add recall audit and doctor repair flow * refactor(memory): rename symbolic scoring and harden dreaming * feat(memory): add multilingual concept vocabulary * docs(changelog): note dreaming memory follow-up * docs(changelog): shorten dreaming follow-up entry * fix(memory): address review follow-ups * chore(skills): tighten security triage trust model * Update CHANGELOG.md
…claw#60697) * feat(memory): add recall audit and doctor repair flow * refactor(memory): rename symbolic scoring and harden dreaming * feat(memory): add multilingual concept vocabulary * docs(changelog): note dreaming memory follow-up * docs(changelog): shorten dreaming follow-up entry * fix(memory): address review follow-ups * chore(skills): tighten security triage trust model * Update CHANGELOG.md
Summary
memory status --fixanddoctor --fix, and hardening managed cron/config behavior.What Changed
openclaw memory status --fixand top-levelopenclaw doctor --fixthrough the public memory-core runtime seam.symbolicscoring signal toconceptualand moved concept extraction into a dedicated vocabulary module.dreaming.cronalias support, numeric-string normalization,limit=0no-op behavior, duplicate/failed managed-cron cleanup handling, and pre-promotion recall repair.Why It Matters
Verification
pnpm exec oxlint extensions/memory-core/src/concept-vocabulary.ts extensions/memory-core/src/concept-vocabulary.test.ts extensions/memory-core/src/short-term-promotion.ts extensions/memory-core/src/short-term-promotion.test.ts extensions/memory-core/src/cli.runtime.tsOPENCLAW_VITEST_MAX_WORKERS=1 pnpm test extensions/memory-core/src/concept-vocabulary.test.tsOPENCLAW_VITEST_MAX_WORKERS=1 pnpm test extensions/memory-core/src/short-term-promotion.test.tsOPENCLAW_VITEST_MAX_WORKERS=1 pnpm test extensions/memory-core/src/dreaming.test.tsgit diff --checkKnown Gaps
extensions/memory-core/src/cli.test.tsorsrc/commands/doctor-memory-search.test.tsafter the multilingual follow-up.