[PR #520] [MERGED] fix(memory-nag): unify agent settings controls #1010

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/520
Author: @SpicyMarinara
Created: 8/23/2026
Status: ✅ Merged
Merged: 8/23/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/memory-nag-unified-controls-518


📝 Commits (1)

  • 6b70316 fix(memory-nag): reuse shared settings controls

📊 Changes

15 files changed (+918 additions, -79 deletions)

View changed files

➕ artifacts/memory-nag-1.0.4.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 (+383 -8)
📝 packages/memory-nag/manifest.json (+5 -5)
📝 packages/memory-nag/server.mjs (+14 -6)
📝 packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagSettings.tsx (+23 -11)
📝 packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagToolbar.tsx (+1 -1)
📝 packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagVault.tsx (+64 -16)
📝 packages/memory-nag/src/engine/packages/client/src/features/memory-nag/client-entry.tsx (+1 -1)
📝 packages/memory-nag/src/engine/packages/client/src/features/memory-nag/styles.ts (+373 -2)
📝 packages/memory-nag/src/engine/packages/shared/src/features/agents/memory-nag/schema.ts (+14 -3)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/memory-nag-selection.regression.ts (+15 -1)

📄 Description

Linked issue

Closes #518

Why this change

  • Memory Nag's package-owned settings used bespoke field and button CSS, so its connection selector, numeric inputs, prompt editor, and actions looked inconsistent beside established agent menus.
  • The shipped vault prompt also needs the maintainer-provided memory-handler guidance while keeping the machine-readable response contract last.

What changed

  • Replaced Memory Nag's private input and button visuals with Marinara's shared mari-chrome-field and mari-chrome-control primitives across settings, scan progress, and the vault.
  • Normalized all four numeric controls into the standard one-column mobile and two-column desktop agent-settings layout.
  • Updated the default vault prompt, migrated only the previous shipped default, and kept custom prompts untouched.
  • Asserted that the JSON response schema is the final system-prompt instruction.
  • Rebuilt Memory Nag v1.0.4, its client/server payloads, artifact, manifest, and catalog entries.

Package and security impact

  • Affected package IDs: memory-nag
  • Engine compatibility impact: unchanged (>=2.4.4 <4.0.0)
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: ordinary package update; existing custom prompts and vault data are preserved

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

  • Manual Engine installation and browser comparison are still pending while this PR is a draft.
  • Source regression already confirms legacy-default migration and final JSON-contract placement.

Documentation impact

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

UI evidence (if applicable)

To be added after local browser verification.

Summary by CodeRabbit

  • New Features

    • Updated the default memory-vault guidance to provide clearer instructions, prevent duplicates, and better handle user-directed memories.
    • Added stronger validation for memory scan responses.
  • Improvements

    • Refreshed Memory Nag controls, forms, toolbar, dialogs, and vault editor with consistent styling.
    • Improved responsive layouts, accessibility styling, animations, and themed labels.
  • Bug Fixes

    • Preserved explicitly configured default prompts while normalizing and limiting custom prompt text.
  • Maintenance

    • Released Memory Nag version 1.0.4 with refreshed package metadata.

🔄 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/520 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/23/2026 **Status:** ✅ Merged **Merged:** 8/23/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/memory-nag-unified-controls-518` --- ### 📝 Commits (1) - [`6b70316`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6b703166fe3677166095c502e12358884d1c0c2a) fix(memory-nag): reuse shared settings controls ### 📊 Changes **15 files changed** (+918 additions, -79 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/memory-nag-1.0.4.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` (+383 -8) 📝 `packages/memory-nag/manifest.json` (+5 -5) 📝 `packages/memory-nag/server.mjs` (+14 -6) 📝 `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagSettings.tsx` (+23 -11) 📝 `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagToolbar.tsx` (+1 -1) 📝 `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/MemoryNagVault.tsx` (+64 -16) 📝 `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/client-entry.tsx` (+1 -1) 📝 `packages/memory-nag/src/engine/packages/client/src/features/memory-nag/styles.ts` (+373 -2) 📝 `packages/memory-nag/src/engine/packages/shared/src/features/agents/memory-nag/schema.ts` (+14 -3) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/memory-nag-selection.regression.ts` (+15 -1) </details> ### 📄 Description ## Linked issue Closes #518 ## Why this change - Memory Nag's package-owned settings used bespoke field and button CSS, so its connection selector, numeric inputs, prompt editor, and actions looked inconsistent beside established agent menus. - The shipped vault prompt also needs the maintainer-provided memory-handler guidance while keeping the machine-readable response contract last. ## What changed - Replaced Memory Nag's private input and button visuals with Marinara's shared `mari-chrome-field` and `mari-chrome-control` primitives across settings, scan progress, and the vault. - Normalized all four numeric controls into the standard one-column mobile and two-column desktop agent-settings layout. - Updated the default vault prompt, migrated only the previous shipped default, and kept custom prompts untouched. - Asserted that the JSON response schema is the final system-prompt instruction. - Rebuilt Memory Nag v1.0.4, its client/server payloads, artifact, manifest, and catalog entries. ## Package and security impact - Affected package IDs: `memory-nag` - Engine compatibility impact: unchanged (`>=2.4.4 <4.0.0`) - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: ordinary package update; existing custom prompts and vault data are preserved ## 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 - Manual Engine installation and browser comparison are still pending while this PR is a draft. - Source regression already confirms legacy-default migration and final JSON-contract placement. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) To be added after local browser verification. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Updated the default memory-vault guidance to provide clearer instructions, prevent duplicates, and better handle user-directed memories. - Added stronger validation for memory scan responses. - **Improvements** - Refreshed Memory Nag controls, forms, toolbar, dialogs, and vault editor with consistent styling. - Improved responsive layouts, accessibility styling, animations, and themed labels. - **Bug Fixes** - Preserved explicitly configured default prompts while normalizing and limiting custom prompt text. - **Maintenance** - Released Memory Nag version 1.0.4 with refreshed package metadata. <!-- 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#1010
No description provided.