[GH-ISSUE #516] [Issue]: Memory Nag fails activation after restart #260

Closed
opened 2026-10-20 17:25:52 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Memory Nag 1.0.1 downloads successfully from the staging catalog and is recorded as restart-required, but its server runtime fails during the next startup. Because the package never becomes runtime-ready, its agent definition is omitted from the Agents sidebar and Roleplay agent picker.

Reproduction

  1. Install Memory Nag from Agents → Download Agents on Engine staging.
  2. Restart Marinara Engine.
  3. Observe that Memory Nag is absent from the Agents sidebar and cannot be added to a Roleplay chat.

A clean install→restart integration reproduction reports:

Failed to activate capability package memory-nag@1.0.1
TypeError: addHook is not a function

Cause

memoryNagRoutes calls app.addHook, while the capability route collector intentionally exposes route declaration methods rather than a full Fastify instance.

Expected behavior

Memory Nag should activate successfully after the required restart, register its packaged agent definition, and remain available to Roleplay chats. Preserve the Roleplay-only route validation.

Originally created by @SpicyMarinara on GitHub (Aug 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/516 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Memory Nag 1.0.1 downloads successfully from the staging catalog and is recorded as restart-required, but its server runtime fails during the next startup. Because the package never becomes runtime-ready, its agent definition is omitted from the Agents sidebar and Roleplay agent picker. ## Reproduction 1. Install Memory Nag from Agents → Download Agents on Engine staging. 2. Restart Marinara Engine. 3. Observe that Memory Nag is absent from the Agents sidebar and cannot be added to a Roleplay chat. A clean install→restart integration reproduction reports: ```text Failed to activate capability package memory-nag@1.0.1 TypeError: addHook is not a function ``` ## Cause `memoryNagRoutes` calls `app.addHook`, while the capability route collector intentionally exposes route declaration methods rather than a full Fastify instance. ## Expected behavior Memory Nag should activate successfully after the required restart, register its packaged agent definition, and remain available to Roleplay chats. Preserve the Roleplay-only route validation.
bsakaguchi 2026-10-20 17:25:52 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Implementation is starting on fix/memory-nag-activation-516, owned by @SpicyMarinara. Scope: replace the unsupported package-level hook with route-level Roleplay validation, rebuild Memory Nag, and prove install → restart activation.

<!-- gh-comment-id:5385541141 --> @SpicyMarinara commented on GitHub (Aug 23, 2026): Implementation is starting on `fix/memory-nag-activation-516`, owned by @SpicyMarinara. Scope: replace the unsupported package-level hook with route-level Roleplay validation, rebuild Memory Nag, and prove install → restart activation.
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#260
No description provided.