mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #191] [MERGED] fix(long-term-memory): forward saved admin secret #847
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#847
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/191
Author: @Promansis
Created: 8/2/2026
Status: ✅ Merged
Merged: 8/2/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/186-ltm-admin-secret📝 Commits (3)
8ced294fix(long-term-memory): forward saved admin secret2607e7aMerge branch 'staging' into fix/186-ltm-admin-secretc2c8c33fix(ci): avoid secret lookup on review events📊 Changes
12 files changed (+102 additions, -53 deletions)
View changed files
📝
.github/workflows/pull-request-triage.yml(+12 -0)➕
artifacts/long-term-memory-1.0.9.zip(+0 -0)📝
catalog/catalog.json(+7 -7)📝
catalog/v2/catalog.json(+7 -7)📝
catalog/v3/catalog.json(+7 -7)📝
packages/long-term-memory/client.js(+16 -16)📝
packages/long-term-memory/manifest.json(+3 -3)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx(+2 -4)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx(+2 -4)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/api.ts(+24 -2)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-storage.regression.ts(+21 -2)📄 Description
Pull request
Linked issue
Closes #186
Why this change
fetchcalls omitted theX-Admin-Secretheader. Remote Engine users therefore received403responses even when the admin secret was already saved by the Engine UI.What changed
marinara_admin_secretlocal-storage value.1.0.8to1.0.9.Package and security impact
long-term-memorySecurity scope: this forwards the existing browser-saved secret only to same-origin
/api/long-term-memoryrequests. Server-side host validation, Basic Auth, loopback/allowlist rules, required-secret checks, constant-time comparison, and CSRF handling are unchanged. Missing or invalid secrets continue to fail with403. The secret is not placed in URLs, logs, or exported data.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdAutomated validation performed
long-term-memory-storage.regression.tspassed, including saved-secret header presence and absent-secret behavior.long-term-memory-routes.regression.tspassed.long-term-memory-lifecycle.regression.tspassed, including install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation.node scripts/test-catalog-lanes.mjspassed.node scripts/validate-catalog.mjspassed.git diff --checkpassed.unzip -t artifacts/long-term-memory-1.0.9.zippassed.Manual verification notes
Documentation impact
UI evidence (if applicable)
Not applicable; this fixes package API authentication.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.