mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1084] [MERGED] feat(long-term-memory): expand keyword stop words and add a global custom stop-word list (1.3.21) #1287
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1287
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1084
Author: @Promansis
Created: 9/26/2026
Status: ✅ Merged
Merged: 9/26/2026
Merged by: @Promansis
Base:
staging← Head:feature(ltm)/keyword-stop-words📝 Commits (2)
5e63101feat(long-term-memory): expand keyword stop words and add a custom stop-word list (1.3.21)50b7330fix(long-term-memory): harden stop-word matching and keyword caps📊 Changes
24 files changed (+564 additions, -161 deletions)
View changed files
➕
artifacts/long-term-memory-1.3.21.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+5 -0)📝
packages/long-term-memory/client.js(+19 -18)📝
packages/long-term-memory/manifest.json(+5 -5)📝
packages/long-term-memory/server.mjs(+47 -47)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx(+56 -1)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json(+4 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/chunking.ts(+12 -4)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/keyword-extract.ts(+125 -29)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/keyword-index.ts(+2 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/maintenance.ts(+3 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/rebuild.ts(+19 -7)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/retrieval.ts(+9 -2)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/settings.ts(+8 -0)...and 4 more files
📄 Description
Linked issue
Closes #1083
Why this change
Long-Term Memory's built-in keyword stop list missed common filler, modal, and
discourse words (
above,however,really,sure, contractions), and usershad no way to list their own noise words. Recall could also be triggered by a
word a user never wanted to matter, and a hyphenated custom entry could silently
become dead configuration because only its component tokens were registered.
What changed
contractions such as
I’mare recognized as stop words.Memory stop wordslist in Memory Settings plus a default-onBlock stop words in generated keywordstoggle.on, they are also kept out of generated keywords. Stored and manual keywords
are never rewritten or removed.
buildStopWordSetstores each entry's normalized whole phrase plus componenttokens (issue #1083), so a hyphenated entry such as
Cobalt-Moonblocks itsown trigger.
is a built-in or custom stop word, punctuated entries register each token
boundary, and manual keywords keep priority at the 30-keyword cap.
indeedandnamely.Package and security impact
long-term-memory(1.3.20 → 1.3.21)engine.minstays 2.4.1 andmaxExclusivestays 4.0.0settings default safely (empty list, filter on); stored and manual keywords
are not modified. Recall/match changes touch only the keyword lane; BM25 still
searches the raw query.
Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Run on commit
50b73308with Engine41d5d12; local results only, not hosted CI.test-ci.sh(local Catalog CI mirror): exit 0, includingnpm run check,locale/catalog validators, catalog generatedAt determinism, and release-notes
regression.
validate-catalog.mjsalso verified the 1.3.21 artifact size, SHA-256, andarchived-manifest equality.
storage,index-keys,runtime,extraction-graph,extraction-reliability,conversation-summary-import,routes,feedback-clarity-ui,installation(install, offline restart, backup,uninstall, reinstall against the 1.3.21 artifact), and
lifecycle(browser + installation scenarios).
Documentation impact
No documentation changes were required; the README lists packages by ID.
UI evidence (if applicable)
Memory Settings gains a
Memory stop wordstextarea and aBlock stop words in generated keywordstoggle. Before/after screenshots arestill to be attached by the maintainer.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.