mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #186] [Issue]: Long-Term Memory omits saved admin secret from privileged API requests #95
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#95
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Promansis on GitHub (Aug 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/186
Originally assigned to: @Promansis on GitHub.
Summary
Long-Term Memory cannot load its status or settings when Marinara Engine is hosted remotely and requires admin-secret authentication. The package's client makes direct
fetchcalls without forwarding the admin secret already saved by the Engine UI.Affected package
long-term-memory(currently1.0.8)Expected behavior
Long-Term Memory requests should use the saved
marinara_admin_secretbrowser value as theX-Admin-Secretheader, matching Marinara Engine's shared API client. Status, settings, and package downloads should load normally when the configured secret is valid.Actual behavior
The user sees:
Long-Term Memory status could not load.Could not load memory settingsThe package registers its routes through
registerPrivilegedRoutes, so remote requests receive403when the header is absent. Reinstalling the package and restarting Engine do not change the behavior.Steps to reproduce
ADMIN_SECRETon the Engine and save the same value in Settings -> Advanced -> Admin Access.X-Admin-Secret.Environment
1.0.8Logs, screenshots, or video
No logs or screenshots supplied. Do not include the admin secret or private chat data in follow-up evidence.
Additional context
Root cause identified in the package source:
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/api.tscallsfetchwithout the Engine's saved admin-secret header.ActivityView.tsxandMemorySettings.tsxalso use direct fetches for downloads.marinara_admin_secretfrom local storage and sendsX-Admin-Secret.Smallest fix: add the saved admin-secret header in the shared Long-Term Memory request path, reuse it for the two direct download requests, add a regression assertion, bump the package version, and rebuild the Long-Term Memory artifact/catalog entry. No server privilege change is needed.
Target branch:
staging.Template check