mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1863] [MERGED] fix(slurp2): clear the Long-Term Memory "off" line once sharing is on (0.4.11) #2005
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#2005
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/1863
Author: @Promansis
Created: 10/29/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @Promansis
Base:
staging← Head:fix(slurp2)/ltm-status-refresh📝 Commits (5)
3ab1886fix(slurp2): clear the Long-Term Memory "off" line once sharing is on (#1856)08f6e14chore(slurp2): release 0.4.11 (#1856)c6d5c56fix(slurp2): re-ask Long-Term Memory each time the memory status opens (#1856)5eb6bd5Merge upstream/staging into fix(slurp2)/ltm-status-refresh; release slurp2 0.4.11a5e048aMerge branch 'staging' into fix(slurp2)/ltm-status-refresh📊 Changes
17 files changed (+178 additions, -99 deletions)
View changed files
➕
artifacts/slurp2-0.4.11.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -6)📝
packages/slurp2/CHANGELOG.md(+4 -0)📝
packages/slurp2/client.js(+53 -53)📝
packages/slurp2/manifest.json(+3 -3)📝
packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts(+8 -1)📝
packages/slurp2/src/engine/packages/client/src/slp/features/settings/SlpEngineLinkPanel.tsx(+2 -2)📝
packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-ltm-sharing-offer.ts(+20 -0)📝
packages/slurp2/src/engine/packages/client/src/slp/features/settings/slp-settings-hooks.ts(+8 -1)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/slurp2-client-hooks.regression.ts(+2 -0)📝
tests/slurp2-ltm-recall.regression.ts(+41 -2)📄 Description
Pull request
Linked issue
Closes #1856
Why this change
Backstage → Engine link keeps showing "Long-Term Memory isn't sharing memories" after the player turns Long-Term Memory's "Other Agents can read memories" switch back on. The line comes from the outcome of Slurp's last recall, not from the current setting, so it stays until a Creator next reads memories. After Slurp's own "Turn it on" offer the panel cleared the cached line, but the next refetch brought it back. Turning sharing on from Long-Term Memory's offer or Memory Settings never cleared it at all. Creators were already reading memories in every case; only the status line was wrong.
What changed
slp-ltm-sharing-offer.ts: newcurrentMemoryStatus({ read, readLtm }). When the server answersoff, it also reads Long-Term Memory's settings and returns no status if sharing is on. If that read fails theoffline stays.ok,missinganderrorare returned as they are, with no extra read.slp-settings-hooks.ts:useSlurpMemoryStatuscalls it, so the panel shows the current state whichever side turned sharing on.SlpEngineLinkPanel.tsx: after "Turn it on", the memory status query is invalidated instead of being overwritten with an empty value that the next refetch undid.tests/slurp2-ltm-recall.regression.ts: the fivecurrentMemoryStatuscases (off with sharing on, off with sharing off, off with the read failing, andok/missing/errorwith no read), and the panel source pin now expectsinvalidateQueries.tests/slurp2-client-hooks.regression.tslists the new read path.slurp20.4.11 with the splash entry, rebuiltclient.js, manifest, artifact and catalog entries.server.mjs,lastStatusand the/settings/memory-statusroute are unchanged.Package and security impact
slurp2engine.minunchanged); uses Long-Term Memory's existingGET /long-term-memory/settingsValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Documentation impact
UI evidence (if applicable)
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.