[GH-ISSUE #5408] [Feature]: Add Memory Nag host integration seams #2997

Closed
opened 2026-10-21 05:58:42 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Aug 22, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5408

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Roleplay trackers can persist structured state, but downloadable agents do not currently have the complete host lifecycle needed for a per-chat nag-memory vault: deterministic candidate preparation before post-processing, validated recall finalization after the tracker run, default context injection with preset-marker override, or reusable Roleplay HUD and Tracker Panel package surfaces.

Proposed solution

Add the smallest generic host seams required by the downloadable Memory Nag tracker:

  • support a structured memory_nag post-processing result;
  • let an installed agent-runtime service prepare turn context and finalize validated results;
  • inject the last accepted nags as <memory_nags> inside <context> unless the preset places the agent marker explicitly;
  • render package-owned chat-settings, Roleplay tracker-strip, and Tracker Panel surfaces;
  • keep the feature Roleplay-only and preserve normal tracker batching/grouping.

The package implementation, vault storage, scanning logic, prompts, client UI, catalog metadata, and artwork belong in Pasta-Devs/Marinara-Agents.

Alternatives considered

Hard-coding the complete Memory Nag feature in Engine would make a downloadable agent part of the host and duplicate package UI/runtime patterns. Reusing small capability hooks keeps the host generic without building a new framework.

Additional context

A paired package issue will be linked after creation. Requested by the maintainer. Implementation should remain simple and reuse existing agent generation routes and capability APIs.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 22, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5408 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Roleplay trackers can persist structured state, but downloadable agents do not currently have the complete host lifecycle needed for a per-chat nag-memory vault: deterministic candidate preparation before post-processing, validated recall finalization after the tracker run, default context injection with preset-marker override, or reusable Roleplay HUD and Tracker Panel package surfaces. ## Proposed solution Add the smallest generic host seams required by the downloadable **Memory Nag** tracker: - support a structured `memory_nag` post-processing result; - let an installed agent-runtime service prepare turn context and finalize validated results; - inject the last accepted nags as `<memory_nags>` inside `<context>` unless the preset places the agent marker explicitly; - render package-owned chat-settings, Roleplay tracker-strip, and Tracker Panel surfaces; - keep the feature Roleplay-only and preserve normal tracker batching/grouping. The package implementation, vault storage, scanning logic, prompts, client UI, catalog metadata, and artwork belong in Pasta-Devs/Marinara-Agents. ## Alternatives considered Hard-coding the complete Memory Nag feature in Engine would make a downloadable agent part of the host and duplicate package UI/runtime patterns. Reusing small capability hooks keeps the host generic without building a new framework. ## Additional context A paired package issue will be linked after creation. Requested by the maintainer. Implementation should remain simple and reuse existing agent generation routes and capability APIs. ## Template check - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@SpicyMarinara commented on GitHub (Aug 22, 2026):

Package implementation is tracked in https://github.com/Pasta-Devs/Marinara-Agents/issues/511. Owner: @SpicyMarinara.

<!-- gh-comment-id:5382505047 --> @SpicyMarinara commented on GitHub (Aug 22, 2026): Package implementation is tracked in https://github.com/Pasta-Devs/Marinara-Agents/issues/511. Owner: @SpicyMarinara.
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-Engine#2997
No description provided.