mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1200] [MERGED] fix(long-term-memory): explain injected recall and weighted-lane thresholds #1342
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#1342
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/1200
Author: @Promansis
Created: 10/2/2026
Status: ✅ Merged
Merged: 10/2/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/recall-explanation📝 Commits (2)
150428dfix(long-term-memory): explain injected recall and lane thresholds2e3445afix(long-term-memory): keep a bounded prompt-budget rejection slot📊 Changes
10 files changed (+241 additions, -42 deletions)
View changed files
📝
artifacts/long-term-memory-1.3.39.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
packages/long-term-memory/client.js(+1 -1)📝
packages/long-term-memory/manifest.json(+4 -4)📝
packages/long-term-memory/server.mjs(+2 -2)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json(+1 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/generation-injection.ts(+39 -15)📝
tests/long-term-memory-runtime.regression.ts(+176 -1)📄 Description
Pull request
Linked issue
Closes #1197
Why this change
Recall activity could list memories that serialization never injected, and its score did not distinguish fused ranking from the weighted-lane threshold. This makes tight-budget and threshold decisions misleading to inspect.
What changed
score, addingfusedScore,relevanceScore, andthresholdPassed. Correct English threshold help text without renaming the locale key.Package and security impact
long-term-memory(version remains1.3.39).>=2.4.1 <4.0.0; Capability API 1.6.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdAutomated evidence
counts.rejected = 120versus 80 persisted details. CodeRabbit's one actionable comment on150428d26showed a full retrieval rejection list could hide every prompt-budget omission; the test failed withfalse !== truebefore the fix.2e3445a2c065818cf708dd6c824d3bc471b4c4dbwith Node v24.15.0 and clean Enginec164b4741c3df4dd1b0afbb082bb83700c889232, using explicit Agents/Engine roots.node scripts/build-feature-packages.mjs long-term-memory,npm run check(810 lint warnings, no errors),node scripts/typecheck-packages.mjs long-term-memory, catalog lanes/locales/catalog/release-note validators, and worktree/index/base-range whitespace checks.runtime,debug-log, androutesregressions; exact-artifactinstallationandbrowserregressions. Installation covers offline restart, backup inclusion, uninstall/reinstall, and durable-byte preservation; browser covers onboarding, review, availability, re-extraction, mobile, and loading.150428d26and left one actionable comment; that accepted finding is repaired in2e3445a2c. The push auto-triggers delta review; this command did not dispatch a reviewer.Manual verification notes
Documentation impact
No README, catalog membership, or Engine documentation changes; existing English UI help text is corrected.
UI evidence (if applicable)
Text-only threshold help change. Automated browser regression passed; no manual screenshots captured.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.