mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1254] [MERGED] fix(long-term-memory): 1.4.10 — count only in-scope memories toward recall caps #1370
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#1370
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/1254
Author: @Promansis
Created: 10/7/2026
Status: ✅ Merged
Merged: 10/7/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/scope-before-bucket-caps📝 Commits (1)
0464aa6fix(long-term-memory): 1.4.10 — count only in-scope memories toward recall caps (#1251)📊 Changes
15 files changed (+171 additions, -85 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.10.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+4 -0)📝
packages/long-term-memory/manifest.json(+3 -3)📝
packages/long-term-memory/server.mjs(+28 -28)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/keyword-index.ts(+33 -7)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/metadata-index.ts(+16 -3)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/retrieval.ts(+11 -7)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-index-keys.regression.ts(+39 -0)📄 Description
Linked issue
Closes #1251
Why this change
#tag, an in-scope memory could be crowded out of the exact keyword hit, the direct hit, and the graph seeds those hits produce; the fuzzy keyword scan had the same flaw at 512 vault-wide keywords, which could leave a late-alphabet keyword unmatchable.What changed
keyword-index.ts: keyword bucket and fuzzy catalog caps now count only chunks the caller allows.metadata-index.ts:getLtmMetadataMatchesacceptsallowedChunksand caps note/tag buckets against it.retrieval.ts: passes the allowed set into the direct lane instead of post-filtering its results.tests/long-term-memory-index-keys.regression.ts: regression with 130 out-of-scope keyword/tag entries and a 512-keyword catalog holding one late-alphabet in-scope keyword.long-term-memory1.4.10: manifest,server.mjs, artifact zip and catalog entries; changelog added.Package and security impact
long-term-memoryValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
On
0464aa6c6(pushed SHA):node scripts/test-catalog-lanes.mjs,node scripts/validate-package-locales.mjs,node scripts/validate-catalog.mjs,node scripts/tests/catalog-release-notes.regression.mjs: pass.test-ltm.sh index-keysandtest-ltm.sh runtime(affected package regressions): pass.npm run check(viatest-fast.sh): exit 0, 0 errors, 809 pre-existing warnings.git diff --check upstream/staging...HEAD: clean.Documentation impact
UI evidence (if applicable)
None — recall candidate selection change, no UI surface.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.