[PR #548] [MERGED] fix: refine Memory Nag vault and idle state #1022

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

📋 Pull Request Information

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

Base: staging ← Head: fix/memory-nag-onboarding-vault


📝 Commits (5)

  • 8a74d36 fix: refine Memory Nag vault and idle state
  • 87c2437 build: publish Memory Nag 1.0.11
  • 2884d6b fix: retain the last completed Memory Nag recall
  • 2118559 test: exercise failed Memory Nag recall
  • 6b3a616 Merge branch 'staging' into fix/memory-nag-onboarding-vault

📊 Changes

15 files changed (+264 additions, -106 deletions)

View changed files

➕ artifacts/memory-nag-1.0.11.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v3/catalog.json (+8 -8)
📝 packages/memory-nag/client.js (+45 -17)
📝 packages/memory-nag/manifest.json (+5 -5)
📝 packages/memory-nag/server.mjs (+6 -6)
📝 packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagToolbar.tsx (+14 -8)
📝 packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagVault.tsx (+11 -12)
📝 packages/memory-nag/src/engine/packages/client/src/features/memory-nag/styles.ts (+38 -9)
📝 packages/memory-nag/src/engine/packages/server/src/services/memory-nag/agent-runtime.ts (+1 -11)
📝 packages/memory-nag/src/engine/packages/server/src/services/memory-nag/vault.ts (+4 -2)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/memory-nag-selection.regression.ts (+103 -7)
📝 tests/memory-nag-settings-ui.regression.mjs (+12 -4)

📄 Description

Linked issue

Closes #547

Related Engine onboarding: Pasta-Devs/Marinara-Engine#5484

Why this change

  • Memory Nag used the same null recall state before its first run and after a successful no-nag run, so its toolbar could not show the requested initial icon. Its Vault also used stale window chrome and dismissed from backdrop clicks.

What changed

  • Updated package ID memory-nag to preserve a timestamped empty recall after a successful no-nag result.
  • Show the dialogue icon before the first successful recall, then cycle the full localized empty phrase or recalled nag words.
  • Reuse the shared popup-window visual hooks and dialogue icon in the Vault.
  • Remove Vault backdrop dismissal while retaining explicit close and keyboard access.
  • Rebuilt the 1.0.11 manifest, client/server payloads, ZIP artifact, and all catalog lanes.

Package and security impact

  • Affected package IDs: memory-nag
  • Engine compatibility impact: none; minimum Engine remains 2.4.4 and capability API remains 1.14.
  • New or changed permissions/entrypoints: none.
  • Restart, storage, update, or uninstall impact: users must update Memory Nag to 1.0.11; existing vault documents remain compatible and uninstall behavior is unchanged.

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

Local automated validation completed: focused Memory Nag regressions, npm run check, catalog lane tests, package locale validation, catalog validation, and git diff --check.

Manual verification notes

  • Manually install or update Memory Nag 1.0.11 in a staging Engine build.
  • Before its first successful run, verify the Roleplay toolbar shows the dialogue icon.
  • Verify a successful no-nag run cycles head empty no thoughts, while a recalled run cycles words from the returned nags.
  • Open the Vault, interact with its fields and memories, and verify only the explicit close control or Escape closes the Vault.

Documentation impact

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

No documentation changes are needed because this corrects existing package UI behavior and keeps the stored schema compatible.

UI evidence (if applicable)

No screenshot attached; manual browser verification remains listed above.

Summary by CodeRabbit

  • New Features

    • Updated Memory Nag to version 1.0.11.
    • Improved recall behavior with short and localized words.
    • Added clearer handling for empty recalls and persistent timestamps.
  • Bug Fixes

    • Prevented word rotation before recall results are ready.
    • Improved modal layout, styling, icons, and scrolling.
    • Updated dialogs to close only through explicit controls.
    • Ensured empty and timestamped recalls are handled consistently.

🔄 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/548 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/24/2026 **Status:** ✅ Merged **Merged:** 8/24/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/memory-nag-onboarding-vault` --- ### 📝 Commits (5) - [`8a74d36`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8a74d369bb61ae47ec17772ae0034e5f1dea432a) fix: refine Memory Nag vault and idle state - [`87c2437`](https://github.com/Pasta-Devs/Marinara-Agents/commit/87c2437ab09514bd647e1b6b2764129985f19b59) build: publish Memory Nag 1.0.11 - [`2884d6b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2884d6bc4e5042d5fe77dc3b484b0292969818dd) fix: retain the last completed Memory Nag recall - [`2118559`](https://github.com/Pasta-Devs/Marinara-Agents/commit/211855951d08e15c7df55ebe4c8391a5a5d0f86d) test: exercise failed Memory Nag recall - [`6b3a616`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6b3a61666afd3a32f6474a6b1a30f6f763694e9c) Merge branch 'staging' into fix/memory-nag-onboarding-vault ### 📊 Changes **15 files changed** (+264 additions, -106 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/memory-nag-1.0.11.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `packages/memory-nag/client.js` (+45 -17) 📝 `packages/memory-nag/manifest.json` (+5 -5) 📝 `packages/memory-nag/server.mjs` (+6 -6) 📝 `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagToolbar.tsx` (+14 -8) 📝 `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagVault.tsx` (+11 -12) 📝 `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/styles.ts` (+38 -9) 📝 `packages/memory-nag/src/engine/packages/server/src/services/memory-nag/agent-runtime.ts` (+1 -11) 📝 `packages/memory-nag/src/engine/packages/server/src/services/memory-nag/vault.ts` (+4 -2) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/memory-nag-selection.regression.ts` (+103 -7) 📝 `tests/memory-nag-settings-ui.regression.mjs` (+12 -4) </details> ### 📄 Description ## Linked issue Closes #547 Related Engine onboarding: Pasta-Devs/Marinara-Engine#5484 ## Why this change - Memory Nag used the same `null` recall state before its first run and after a successful no-nag run, so its toolbar could not show the requested initial icon. Its Vault also used stale window chrome and dismissed from backdrop clicks. ## What changed - Updated package ID `memory-nag` to preserve a timestamped empty recall after a successful no-nag result. - Show the dialogue icon before the first successful recall, then cycle the full localized empty phrase or recalled nag words. - Reuse the shared popup-window visual hooks and dialogue icon in the Vault. - Remove Vault backdrop dismissal while retaining explicit close and keyboard access. - Rebuilt the 1.0.11 manifest, client/server payloads, ZIP artifact, and all catalog lanes. ## Package and security impact - Affected package IDs: `memory-nag` - Engine compatibility impact: none; minimum Engine remains 2.4.4 and capability API remains 1.14. - New or changed permissions/entrypoints: none. - Restart, storage, update, or uninstall impact: users must update Memory Nag to 1.0.11; existing vault documents remain compatible and uninstall behavior is unchanged. ## 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` Local automated validation completed: focused Memory Nag regressions, `npm run check`, catalog lane tests, package locale validation, catalog validation, and `git diff --check`. ### Manual verification notes - Manually install or update Memory Nag 1.0.11 in a staging Engine build. - Before its first successful run, verify the Roleplay toolbar shows the dialogue icon. - Verify a successful no-nag run cycles `head empty no thoughts`, while a recalled run cycles words from the returned nags. - Open the Vault, interact with its fields and memories, and verify only the explicit close control or Escape closes the Vault. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation No documentation changes are needed because this corrects existing package UI behavior and keeps the stored schema compatible. ## UI evidence (if applicable) No screenshot attached; manual browser verification remains listed above. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Updated Memory Nag to version 1.0.11. * Improved recall behavior with short and localized words. * Added clearer handling for empty recalls and persistent timestamps. * **Bug Fixes** * Prevented word rotation before recall results are ready. * Improved modal layout, styling, icons, and scrolling. * Updated dialogs to close only through explicit controls. * Ensured empty and timestamped recalls are handled consistently. <!-- 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:19 +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#1022
No description provided.