[PR #1484] [MERGED] fix(slurp2): DMs — stuck reply, comment memory, edit/delete/write again, copy and summary #1485

Closed
opened 2026-10-21 05:12:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1484
Author: @Gunterlie
Created: 10/19/2026
Status: ✅ Merged
Merged: 10/19/2026
Merged by: @Gunterlie

Base: slurpothon ← Head: fix/slurp-dm-edit-copy-replies


📝 Commits (10+)

  • a898953 fix(slurp2): a stuck reply bubble no longer keeps a DM on 'already writing back' (B2)
  • a0dc0d9 feat(slurp2): comment replies remember the commenter's DMs (R8)
  • 4a7fe38 feat(slurp2): edit and delete DMs, and have the Creator write the last answer again (R9)
  • 8f4b0b9 feat(slurp2): copy a DM thread or sum it up for a lorebook (R10); route inventory knows the new routes
  • fe93f2c test(slurp2): hook inventory and reply-service assertions know the DM tools
  • 8854872 test(slurp2): hook inventory counts the DM tools
  • 3b9a555 build(slurp2): rebuild 0.3.50 with the DM fixes
  • 199627f fix(slurp2): review fixes for DM tools: commission and scene records stay, read-only hasPending, summary errors
  • c243c97 build(slurp2): rebuild 0.3.50 after DM review fixes
  • ca11d12 style(slurp2): prettier on the bugs regression

📊 Changes

36 files changed (+1655 additions, -490 deletions)

View changed files

📝 artifacts/slurp2-0.3.50.zip (+0 -0)
📝 catalog/catalog.json (+12 -12)
📝 catalog/v2/catalog.json (+12 -12)
📝 catalog/v3/catalog.json (+12 -12)
📝 package.json (+1 -1)
📝 packages/slurp2/client.js (+87 -85)
📝 packages/slurp2/manifest.json (+10 -10)
📝 packages/slurp2/server.mjs (+306 -304)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpMessageBubble.tsx (+64 -1)
➕ packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpMessageEditSheet.tsx (+106 -0)
➕ packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpThreadExportSheet.tsx (+103 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpThreadHeader.tsx (+26 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpThreadView.tsx (+40 -29)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/messages/slp-message-action-hooks.ts (+36 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/de.json (+17 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/en.json (+17 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json (+17 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/pl.json (+17 -0)
➕ packages/slurp2/src/engine/packages/server/src/slp/data/messages/slp-message-edit-storage.ts (+123 -0)
📝 packages/slurp2/src/engine/packages/server/src/slp/data/messages/slp-reply-queue-storage.ts (+7 -3)

...and 16 more files

📄 Description

Pull request

Linked issue

Closes #1483

Why this change

  • A queued reply bubble that never arrives (its thread or files were removed, or delivery keeps failing) kept the thread "busy" forever.
  • Creators should know a commenter they already DM; players asked to fix typos, remove lines and retry an answer, and to move a conversation into a lorebook.

What changed

  • B2: hasPending ignores bubbles overdue by more than 2 minutes (read-only, so a paused Slurp keeps its queue). Reply claim cleanup now covers every claim on the thread.
  • R8: comment-reply prompt gets rapport + last 6 DM lines (redacted by protect(); told not to quote DMs in public).
  • R9: routes POST /messages/threads/:id/messages/:mid/edit|delete and /regenerate; shared rules in slp-message-edit.ts (own plain text editable; money, commission and scene records stay); edit sheet; bubble menu; scene lock covers all three. Write it again keeps the old answer until the new one exists and puts it back when the new try fails.
  • R10: GET /messages/threads/:id/export (copy as text, masked per side) and POST .../summary (AI-budget summary); export sheet in the thread header menu; Safari-safe clipboard write.
  • Tests: slurp2-feedback-bugs, slurp2-feedback-requests, route inventory, client-hook inventory, population assertion. 4 locales (en/de/ko/pl) for the new keys.
  • Rebuilt generated outputs (client.js, server.mjs, manifest, artifact, catalogs) via node scripts/build-feature-packages.mjs slurp2.
  • Replayed by diff from conduct-your-welcome; R4 (never-together list), page-update spice lock and family-word regex were NOT taken.

Package and security impact

  • Affected package IDs: slurp2 (0.3.50, unchanged)
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: 5 new routes in the existing server entrypoint; all require the persona seat in the thread
  • Restart, storage, update, or uninstall impact: none; no schema change

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • (to do by the maintainer: edit/delete/write again in a DM, copy and summarise a thread at 390 px, comment as persona on a Creator you DM)

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

  • none yet (browser checks not run)

Known follow-up

  • "Write it again" does not undo the side effects of the answer it replaces (follow-ups, relationship steps, collabs, pictures). A failed try keeps the old answer.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/1484 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/19/2026 **Status:** ✅ Merged **Merged:** 10/19/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `slurpothon` ← **Head:** `fix/slurp-dm-edit-copy-replies` --- ### 📝 Commits (10+) - [`a898953`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a898953355b9226498ef889181e80651cc999c17) fix(slurp2): a stuck reply bubble no longer keeps a DM on 'already writing back' (B2) - [`a0dc0d9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a0dc0d934d77072fc2c9a74f352a2cfae1f89d5f) feat(slurp2): comment replies remember the commenter's DMs (R8) - [`4a7fe38`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4a7fe38ffaf9d3ab61ad674d3a3029db46aabceb) feat(slurp2): edit and delete DMs, and have the Creator write the last answer again (R9) - [`8f4b0b9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8f4b0b931bd7aed61e6912a0ac4e2b5c7a849229) feat(slurp2): copy a DM thread or sum it up for a lorebook (R10); route inventory knows the new routes - [`fe93f2c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/fe93f2c8c895eafd21a502e0de3c74b03e5aee0e) test(slurp2): hook inventory and reply-service assertions know the DM tools - [`8854872`](https://github.com/Pasta-Devs/Marinara-Agents/commit/88548728d2dc1437a455900d277b4fca4231491f) test(slurp2): hook inventory counts the DM tools - [`3b9a555`](https://github.com/Pasta-Devs/Marinara-Agents/commit/3b9a55542adafa0911c7693b16049ea23f1fcd36) build(slurp2): rebuild 0.3.50 with the DM fixes - [`199627f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/199627fd5a8ad1a7c14bfa18de92c3a9e0f4f64f) fix(slurp2): review fixes for DM tools: commission and scene records stay, read-only hasPending, summary errors - [`c243c97`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c243c97f1c4dc3a6cc6df7646e4550288b64797a) build(slurp2): rebuild 0.3.50 after DM review fixes - [`ca11d12`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ca11d1296f1cbc15770942203adc28b0f094ddb6) style(slurp2): prettier on the bugs regression ### 📊 Changes **36 files changed** (+1655 additions, -490 deletions) <details> <summary>View changed files</summary> 📝 `artifacts/slurp2-0.3.50.zip` (+0 -0) 📝 `catalog/catalog.json` (+12 -12) 📝 `catalog/v2/catalog.json` (+12 -12) 📝 `catalog/v3/catalog.json` (+12 -12) 📝 `package.json` (+1 -1) 📝 `packages/slurp2/client.js` (+87 -85) 📝 `packages/slurp2/manifest.json` (+10 -10) 📝 `packages/slurp2/server.mjs` (+306 -304) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpMessageBubble.tsx` (+64 -1) ➕ `packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpMessageEditSheet.tsx` (+106 -0) ➕ `packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpThreadExportSheet.tsx` (+103 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpThreadHeader.tsx` (+26 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpThreadView.tsx` (+40 -29) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/messages/slp-message-action-hooks.ts` (+36 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/de.json` (+17 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/en.json` (+17 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json` (+17 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/pl.json` (+17 -0) ➕ `packages/slurp2/src/engine/packages/server/src/slp/data/messages/slp-message-edit-storage.ts` (+123 -0) 📝 `packages/slurp2/src/engine/packages/server/src/slp/data/messages/slp-reply-queue-storage.ts` (+7 -3) _...and 16 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #1483 ## Why this change - A queued reply bubble that never arrives (its thread or files were removed, or delivery keeps failing) kept the thread "busy" forever. - Creators should know a commenter they already DM; players asked to fix typos, remove lines and retry an answer, and to move a conversation into a lorebook. ## What changed - B2: `hasPending` ignores bubbles overdue by more than 2 minutes (read-only, so a paused Slurp keeps its queue). Reply claim cleanup now covers every claim on the thread. - R8: comment-reply prompt gets rapport + last 6 DM lines (redacted by `protect()`; told not to quote DMs in public). - R9: routes `POST /messages/threads/:id/messages/:mid/edit|delete` and `/regenerate`; shared rules in `slp-message-edit.ts` (own plain text editable; money, commission and scene records stay); edit sheet; bubble menu; scene lock covers all three. Write it again keeps the old answer until the new one exists and puts it back when the new try fails. - R10: `GET /messages/threads/:id/export` (copy as text, masked per side) and `POST .../summary` (AI-budget summary); export sheet in the thread header menu; Safari-safe clipboard write. - Tests: `slurp2-feedback-bugs`, `slurp2-feedback-requests`, route inventory, client-hook inventory, population assertion. 4 locales (en/de/ko/pl) for the new keys. - Rebuilt generated outputs (client.js, server.mjs, manifest, artifact, catalogs) via `node scripts/build-feature-packages.mjs slurp2`. - Replayed by diff from `conduct-your-welcome`; R4 (never-together list), page-update spice lock and family-word regex were NOT taken. ## Package and security impact - Affected package IDs: slurp2 (0.3.50, unchanged) - Engine compatibility impact: none - New or changed permissions/entrypoints: 5 new routes in the existing server entrypoint; all require the persona seat in the thread - Restart, storage, update, or uninstall impact: none; no schema change ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuilt every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - (to do by the maintainer: edit/delete/write again in a DM, copy and summarise a thread at 390 px, comment as persona on a Creator you DM) ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - none yet (browser checks not run) ## Known follow-up - "Write it again" does not undo the side effects of the answer it replaces (follow-ups, relationship steps, collabs, pictures). A failed try keeps the old answer. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#1485
No description provided.