[PR #512] [MERGED] feat: add Memory Nag tracker package #1007

Closed
opened 2026-10-20 17:33:11 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/512
Author: @SpicyMarinara
Created: 8/22/2026
Status: ✅ Merged
Merged: 8/22/2026
Merged by: @SpicyMarinara

Base: staging ← Head: codex/memory-nag


📝 Commits (10+)

  • d3a795c feat: scaffold Memory Nag package
  • 2ca2610 feat: complete Memory Nag package
  • 4f0ea31 chore: preserve artwork metadata layout
  • 2b52df2 art: give Dottore long wavy hair
  • b083113 art: mask Dottore behind the cover frame
  • 589c5dd art: complete Dottore hair silhouette
  • e9ae01f fix: publish Memory Nag in the compatible catalog
  • c783f56 fix(memory-nag): harden vault recall and dialogs
  • 45487f0 fix(memory-nag): keep automatic scans off response path
  • eaa5dda fix(memory-nag): close remaining review gaps

📊 Changes

42 files changed (+2996 additions, -10 deletions)

View changed files

📝 .github/workflows/pull-request-checks.yml (+3 -0)
📝 README.md (+2 -1)
➕ artifacts/memory-nag-1.0.0.zip (+0 -0)
📝 artwork/agent-covers/art-direction.json (+1 -0)
➕ artwork/agent-covers/memory-nag.png (+0 -0)
➕ artwork/sources/memory-nag-imagegen.png (+0 -0)
➕ artwork/sources/memory-nag-imagegen.prompt.txt (+1 -0)
📝 catalog/catalog.json (+70 -0)
📝 catalog/v2/catalog.json (+70 -0)
📝 catalog/v3/catalog.json (+70 -0)
➕ packages/memory-nag/README.md (+9 -0)
➕ packages/memory-nag/agents.json (+25 -0)
➕ packages/memory-nag/client.js (+93 -0)
➕ packages/memory-nag/engine-boundary.json (+12 -0)
➕ packages/memory-nag/locales/en.json (+17 -0)
➕ packages/memory-nag/manifest.json (+60 -0)
➕ packages/memory-nag/server.mjs (+14 -0)
➕ packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagSettings.tsx (+226 -0)
➕ packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagToolbar.tsx (+73 -0)
➕ packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagTrackerPanel.tsx (+39 -0)

...and 22 more files

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #511

Companion host: Pasta-Devs/Marinara-Engine#5408 and Pasta-Devs/Marinara-Engine#5409

Why this change

  • Roleplay chats need short, per-chat reminders about unresolved promises, meaningful actions, relationship changes, and memorable dialogue without injecting an entire permanent memory archive.
  • Memory Nag keeps an editable vault, deterministically shortlists relevant memories, and lets its tracker decide whether the current turn actually warrants a nag.

What changed

  • Adds the memory-nag Roleplay-only post-processing tracker package.
  • Scans chats in checkpointed batches, using a separately selectable scan connection when configured.
  • Creates concise per-character and multi-character memories, including short verbatim dialogue when exact wording matters.
  • Keeps active and resolved memories in a per-chat vault with search, character filters, add, edit, resolve, restore, and confirmed deletion.
  • Uses deterministic text matching before the tracker call and accepts only supplied memory IDs from tracker JSON.
  • Adds Chat Settings controls, desktop Roleplay tracker display, mobile Tracker Panel content, localization, documentation, generated artifacts, and catalog metadata.
  • Updates the cover so tiny Professor Mari nags Dottore, shown from behind with long wavy icy-blue hair and a white laboratory coat.

Package and security impact

  • Affected package IDs: memory-nag
  • Engine compatibility impact: requires Marinara Engine 2.4.4 and capability API 1.14
  • New or changed permissions/entrypoints: agent-runtime, chat-read, prompt-context, routes, storage, ui; agent, server, and client entrypoints
  • Restart, storage, update, or uninstall impact: restart required after installation; stores one package-owned vault document per Roleplay chat; uninstall follows the normal capability-package lifecycle

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Automated locally: package build, Memory Nag selection regression, focused zero-warning package lint, full repository check, catalog lanes, package localization, catalog validation, generated bundle syntax, archive listing, and git diff --check.
  • Manual installation, restart, desktop/mobile interaction, update, and uninstall checks remain for the maintainer test pass.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

README catalog, package README, canonical English package copy, and companion Engine documentation are included.

UI evidence (if applicable)

Memory Nag cover

Summary by CodeRabbit

  • New Features

    • Added Memory Nag, a roleplay-only tracker that maintains per-chat memories and recalls relevant details during conversations.
    • Added a memory vault for creating, editing, searching, filtering, resolving, restoring, and deleting memories.
    • Added configurable scanning with progress updates to identify new or outdated memories.
    • Added tracker panels and toolbar views showing recalled reminders in active chats.
    • Added support for character associations, localized English interfaces, and responsive layouts.
  • Documentation

    • Added setup, configuration, compatibility, and usage guidance, including engine 2.4.4+ requirements.
    • Updated the catalog to include Memory Nag and expanded package listings.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/512 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/22/2026 **Status:** ✅ Merged **Merged:** 8/22/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `codex/memory-nag` --- ### 📝 Commits (10+) - [`d3a795c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d3a795c7f9cb50e02b5fae0189d8fa21f5abc6aa) feat: scaffold Memory Nag package - [`2ca2610`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2ca26100811168cafb62452e71aae73ab4244aff) feat: complete Memory Nag package - [`4f0ea31`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4f0ea31991b823540e9099b01dc289714dac4088) chore: preserve artwork metadata layout - [`2b52df2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2b52df2f57e45a092e62b137c462ee7628365d05) art: give Dottore long wavy hair - [`b083113`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b0831133495bb2f5fd07b469f6c433d8828c0750) art: mask Dottore behind the cover frame - [`589c5dd`](https://github.com/Pasta-Devs/Marinara-Agents/commit/589c5dd01fa5072bbf81eb8da1b609039c855d43) art: complete Dottore hair silhouette - [`e9ae01f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e9ae01fd883da958faf896cbbf306b8396a1ad3a) fix: publish Memory Nag in the compatible catalog - [`c783f56`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c783f56c4dd5470edd490cc50f1f519e31e000e0) fix(memory-nag): harden vault recall and dialogs - [`45487f0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/45487f0ec01f1aa939cb64fb2985956d7a475b6e) fix(memory-nag): keep automatic scans off response path - [`eaa5dda`](https://github.com/Pasta-Devs/Marinara-Agents/commit/eaa5ddab8dc16ceeeff59ea897553e48743b633a) fix(memory-nag): close remaining review gaps ### 📊 Changes **42 files changed** (+2996 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pull-request-checks.yml` (+3 -0) 📝 `README.md` (+2 -1) ➕ `artifacts/memory-nag-1.0.0.zip` (+0 -0) 📝 `artwork/agent-covers/art-direction.json` (+1 -0) ➕ `artwork/agent-covers/memory-nag.png` (+0 -0) ➕ `artwork/sources/memory-nag-imagegen.png` (+0 -0) ➕ `artwork/sources/memory-nag-imagegen.prompt.txt` (+1 -0) 📝 `catalog/catalog.json` (+70 -0) 📝 `catalog/v2/catalog.json` (+70 -0) 📝 `catalog/v3/catalog.json` (+70 -0) ➕ `packages/memory-nag/README.md` (+9 -0) ➕ `packages/memory-nag/agents.json` (+25 -0) ➕ `packages/memory-nag/client.js` (+93 -0) ➕ `packages/memory-nag/engine-boundary.json` (+12 -0) ➕ `packages/memory-nag/locales/en.json` (+17 -0) ➕ `packages/memory-nag/manifest.json` (+60 -0) ➕ `packages/memory-nag/server.mjs` (+14 -0) ➕ `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagSettings.tsx` (+226 -0) ➕ `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagToolbar.tsx` (+73 -0) ➕ `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagTrackerPanel.tsx` (+39 -0) _...and 22 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #511 Companion host: Pasta-Devs/Marinara-Engine#5408 and Pasta-Devs/Marinara-Engine#5409 ## Why this change - Roleplay chats need short, per-chat reminders about unresolved promises, meaningful actions, relationship changes, and memorable dialogue without injecting an entire permanent memory archive. - Memory Nag keeps an editable vault, deterministically shortlists relevant memories, and lets its tracker decide whether the current turn actually warrants a nag. ## What changed - Adds the `memory-nag` Roleplay-only post-processing tracker package. - Scans chats in checkpointed batches, using a separately selectable scan connection when configured. - Creates concise per-character and multi-character memories, including short verbatim dialogue when exact wording matters. - Keeps active and resolved memories in a per-chat vault with search, character filters, add, edit, resolve, restore, and confirmed deletion. - Uses deterministic text matching before the tracker call and accepts only supplied memory IDs from tracker JSON. - Adds Chat Settings controls, desktop Roleplay tracker display, mobile Tracker Panel content, localization, documentation, generated artifacts, and catalog metadata. - Updates the cover so tiny Professor Mari nags Dottore, shown from behind with long wavy icy-blue hair and a white laboratory coat. ## Package and security impact - Affected package IDs: `memory-nag` - Engine compatibility impact: requires Marinara Engine 2.4.4 and capability API 1.14 - New or changed permissions/entrypoints: `agent-runtime`, `chat-read`, `prompt-context`, `routes`, `storage`, `ui`; agent, server, and client entrypoints - Restart, storage, update, or uninstall impact: restart required after installation; stores one package-owned vault document per Roleplay chat; uninstall follows the normal capability-package lifecycle ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Automated locally: package build, Memory Nag selection regression, focused zero-warning package lint, full repository check, catalog lanes, package localization, catalog validation, generated bundle syntax, archive listing, and `git diff --check`. - Manual installation, restart, desktop/mobile interaction, update, and uninstall checks remain for the maintainer test pass. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation README catalog, package README, canonical English package copy, and companion Engine documentation are included. ## UI evidence (if applicable) ![Memory Nag cover](https://raw.githubusercontent.com/Pasta-Devs/Marinara-Agents/codex/memory-nag/artwork/agent-covers/memory-nag.png) <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added Memory Nag, a roleplay-only tracker that maintains per-chat memories and recalls relevant details during conversations. - Added a memory vault for creating, editing, searching, filtering, resolving, restoring, and deleting memories. - Added configurable scanning with progress updates to identify new or outdated memories. - Added tracker panels and toolbar views showing recalled reminders in active chats. - Added support for character associations, localized English interfaces, and responsive layouts. - **Documentation** - Added setup, configuration, compatibility, and usage guidance, including engine 2.4.4+ requirements. - Updated the catalog to include Memory Nag and expanded package listings. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:33:11 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#1007
No description provided.