mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #600] [Issue]: Memory Nag shared memories exceed per-character consideration cap #314
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#314
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 @SpicyMarinara on GitHub (Aug 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/600
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Memory Nag can exceed Maximum memories to consider at once per character when a memory belongs to more than one relevant character. A shared memory is deduplicated before it consumes the later character's quota.
The recall prompt can also select a vault memory that merely restates the immediate scene or an action happening now, instead of surfacing useful prior history.
Affected package
Memory Nag (
memory-nag)Expected behavior
Every selected memory should count against the consideration limit of every associated relevant character, even when the same memory was already selected while processing another character. Recall should reject memories that only repeat the current scene.
Actual behavior
A shared memory only consumes the quota of the first processed character. Later characters can therefore receive the shared memories plus their full allotment of character-only memories. The prompt does not explicitly reject present-scene repetition.
Steps to reproduce
<agent_runtime_context>; seven memories associated with the second character can be included.Environment
Logs, screenshots, or video
The runtime context showed five Pantalone-associated candidates and seven Maukie-associated candidates with a configured limit of five.
Additional context
Release blocker for v2.4.4. Keep the implementation local to shortlist accounting and the default recall prompt, with a regression proof.
Template check
@SpicyMarinara commented on GitHub (Aug 25, 2026):
Release-blocker acceptance also includes a small prompt correction: turn-by-turn recall must not select a memory that merely restates the immediate scene or action currently happening. Nags should surface relevant prior history, not the present moment.
@SpicyMarinara commented on GitHub (Aug 25, 2026):
Fixed in #601 and merged to staging as Memory Nag 1.0.17. Shared memories now consume every associated character's shortlist quota, and the recall prompt rejects immediate-scene repetition.