mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1198] [Issue]: Long-Term Memory: remove unused warnings/cooldown plumbing and version the /search response change #610
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#610
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?
Originally created by @Promansis on GitHub (Oct 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1198
Originally assigned to: @Promansis on GitHub.
Summary
Two pieces of Long-Term Memory plumbing are dead:
retrieveLongTermMemoryalways returnswarnings: [], andreciprocalRankFusesupports cooldown score penalties that no caller ever passes. Remove the dead plumbing and handle the public/searchresponse compatibility, keeping the separate index-statuswarningsintact.Affected package
long-term-memoryExpected behavior
warningsfield is removed from the recall result and its/searchresponse, or the response-shape change is documented and versioned as a deliberate compatibility change.warningsfield (served by/status/ index status, defined inroutes.tsandschema.ts) is preserved.Actual behavior
retrieval.tsreturnswarnings: [] as string[]unconditionally; no package consumer, the client, or the Engine reads it.reciprocalRankFuseaccepts{ cooldowns }and applies penalties when passed (ranking.ts~34, 76-82), and a measurement shows it works (vectorfused0.009914 -> 0.004957with penalty0.5), butretrieval.tscallsreciprocalRankFuse(lanes)with no cooldowns. No caller passes the option.Steps to reproduce
/searchroute; observewarningsis always[].reciprocalRankFusethat passescooldowns; there are none.Environment
engine.min)1.3.39(current upstreamstaging)/searchis a server route; the client never calls it)Logs, screenshots, or video
Not applicable (static dead-code finding).
Additional context
A9/B10), read-only investigation undermarinara-workflow.A9: retrievalwarningsis always empty and unused. The only related test assertschunks(tests/long-term-memory-routes.regression.ts~1721-1731)./searchis a public HTTP route, so removing the field is a response-shape change that needs a documented/versioned compatibility decision.B10: the cooldown mechanism is unwired — dead plumbing of the same class aswarnings.warnings(routes.ts~529,schema.ts~1631); only the retrieval-response field is in scope.recall_explanationoutput; unit 6 (A18) changes vector reuse and tone hashing.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: