mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #599] [MERGED] Fix Memory Nag recall vault context #1040
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#1040
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/599
Author: @SpicyMarinara
Created: 8/25/2026
Status: ✅ Merged
Merged: 8/25/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/598-memory-nag-runtime-context📝 Commits (3)
1f274b8fix(memory-nag): require prepared vault candidatesadeb63aMerge branch 'staging' into fix/598-memory-nag-runtime-context05e861ffix(memory-nag): keep participant save logging stable📊 Changes
10 files changed (+105 additions, -36 deletions)
View changed files
➕
artifacts/memory-nag-1.0.16.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v3/catalog.json(+8 -8)📝
packages/memory-nag/agents.json(+12 -2)📝
packages/memory-nag/manifest.json(+5 -5)📝
packages/memory-nag/server.mjs(+1 -1)📝
packages/memory-nag/src/engine/packages/server/src/services/memory-nag/agent-runtime.ts(+25 -2)📝
scripts/build-feature-packages.mjs(+12 -2)📝
tests/memory-nag-selection.regression.ts(+26 -0)📄 Description
Linked issue
Closes #598
Companion Engine host fix: Pasta-Devs/Marinara-Engine#5526
Why this change
Memory Nag could run without a usable prepared vault context and the model then copied an active character ID into
memoryIds. The ID was correctly absent from the vault, but no completed recall reached the tracker. The agent also inherited every built-in lore source even though recall only needs recent messages, participants, and shortlisted memories.What changed
1.0.16with compact chat-history-only host contextallowedMemoryIdsseparately from character IDsPackage and security impact
memory-nag>=2.4.4 <4.0.0Validation
npm run checknode scripts/test-catalog-lanes.mjsnode scripts/validate-package-locales.mjsnode scripts/validate-catalog.mjstsx tests/memory-nag-selection.regression.tsCONTRIBUTING.mdManual verification notes
Local automated results: package regression, formatting/lint (zero errors), catalog lanes, package locales, catalog validation, and
git diff --checkpassed. Manual staging update and post-processing generation remain for the maintainer after both companion PRs land.Documentation impact
No documentation text changes are needed; behavior and package outputs stay aligned in this PR.
UI evidence (if applicable)
Not applicable; this changes runtime prompt scope and result validation, not package UI.
Summary by CodeRabbit
New Features
Bug Fixes
Tests
Chores
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.