[PR #1230] [MERGED] feat(slurp2): native DM scenes, recap handback, and guided posts #1357

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

📋 Pull Request Information

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

Base: staging ← Head: feat/slurp-dm-scenes-1229


📝 Commits (10+)

  • b798a6d feat(slurp2): roleplay scenes from DM threads (Engine capability API 1.66), dormant until the Engine release
  • 0103173 test(slurp2): scene routes, permission and lock bar in the regression expectations; scene_played label
  • f993a51 test(slurp2): scene routes in the route inventory
  • 8733093 test(slurp2): route totals for the scene routes
  • a2cc962 fix(slurp2): scene lock as a per-route preHandler; package routes have no hooks
  • cab201d feat(slurp2): guided post for every page: one line drafts caption and picture for review; Stir hands write-post to the composer
  • b2398ab refactor(slurp2): SlpActionResult in its own file (size cap); guided post decision
  • b909e4c fix(slurp2): DM prompt reads a scene recap as what the two did, an invite as hers; ended notes stay out
  • fdcfde3 feat(slurp2): release native DM scenes and guided posts as 0.3.15
  • c465946 fix(slurp2): address scene and guided post review findings

📊 Changes

82 files changed (+3704 additions, -744 deletions)

View changed files

➕ artifacts/slurp2-0.3.15.zip (+0 -0)
📝 catalog/catalog.json (+18 -16)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+18 -16)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+18 -16)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/slurp2/CHANGELOG.md (+7 -0)
📝 packages/slurp2/client.js (+101 -99)
➕ packages/slurp2/docs/SCENES.md (+54 -0)
📝 packages/slurp2/docs/architecture/DECISIONS.md (+43 -0)
📝 packages/slurp2/docs/architecture/README.md (+1 -1)
📝 packages/slurp2/manifest.json (+15 -13)
📝 packages/slurp2/server.mjs (+382 -394)
📝 packages/slurp2/src/engine/packages/client/src/slp/app/SlpApp.tsx (+3 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpScreenComposer.tsx (+32 -2)
📝 packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpScreenProfile.tsx (+7 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/base/state/slp-package-store.ts (+42 -0)
➕ packages/slurp2/src/engine/packages/client/src/slp/features/assist/SlpPostGuide.tsx (+167 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/assist/slp-assist-contract.ts (+2 -0)

...and 62 more files

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #1229

Why this change

A Creator DM should continue into a real Engine roleplay scene and return to that same thread with its recap and availability restored. Slurp threads need their own native scene lifecycle instead of a hidden Engine Conversation as an intermediary.

What changed

  • Start scenes from character-backed Creator DMs or accept Creator invites, with per-scene availability and recap visibility choices.
  • Lock the DM and pause the Creator's activity when requested. Conclude, discard, convert, delete, and missed-release recovery return the outcome and unlock the thread. Recaps enter later DM prompts as the shared experience.
  • Draft a post from one idea for review in the same composer on every page; Stir hands its post draft to the composer.
  • Rebuild Slurp 0.3.15, payloads, manifest, archive, catalog lanes, and release notes together. Versions 0.3.13/0.3.14 are left available for the separate onboarding/reserved work.
  • This branch starts from current staging and contains only scenes and guided posts. Support-ticket/G-thread onboarding from conduct-your-welcome is excluded.

Package and security impact

  • Affected package IDs: slurp2.
  • Engine compatibility impact: requires Capability API 1.66 from Engine PR #7119, now merged into Engine staging. Engine minimum stays at the 2.4.6 staging baseline, with exact build provenance pinned to 66a4aec373fb0751e99ce71ac8ad9262407129aa. Older hosts reject the unsupported API.
  • New or changed permissions/entrypoints: scenes; the existing optional mari-actions permission is also emitted at this API level. Existing executable client/server entrypoints register the scene provider and validated scene routes.
  • Restart, storage, update, or uninstall impact: package update requires restart. Nullable scene identifiers/timestamps on DM threads track scene locks; continuity records preserve the selected recap reach. Missed releases reconcile against the Engine scene's actual state. Existing package storage lifecycle remains in place.

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

Observed locally on this scene-only branch: package rebuild; npm run check (formatting and ESLint, warnings only); node scripts/test-catalog-lanes.mjs; node scripts/validate-package-locales.mjs; node scripts/validate-catalog.mjs; node scripts/tests/catalog-release-notes.regression.mjs; git diff --check; focused slurp2-roleplay-scenes, slurp2-guided-post, and slurp2-architecture regressions through tsx. Every heavy command used the shared heavy lock. node scripts/typecheck-packages.mjs slurp2 also passes (no syntax errors, undefined names, or unresolved modules), as do the affected slurp2-ai-assist, slurp2-creator-ties, slurp2-route-inventory, slurp2-slice-i, and slurp2-step4-messages regressions. Previous tested head: fdcfde30.

CodeRabbit fix batch c4659469: all 14 actionable findings addressed. Focused slurp2-scene-review, slurp2-roleplay-scenes, slurp2-guided-post, slurp2-step4-messages, and slurp2-ai-assist regressions pass. Slurp source checks, rebuilt 0.3.15 package/catalog, formatting and lint (810 warnings, zero errors), all baseline catalog/localization/release-note checks, and git diff --check pass.

Known CI limitation: the optional Noodle and Slurp browser jobs fail on existing selectors/fixtures. Browser tests were left unchanged at the maintainer’s request; they are not required merge checks. No browser pass is claimed.

Manual verification notes

Earlier implementation-session production prereleases were separate sideloads, not this final artifact. No fresh browser/install/uninstall proof is claimed for 0.3.15. Manually verify start/invite, availability choices, locked DM writes, conclude/recap reach, discard/convert/delete, missed-release recovery, return navigation, and draft review on persona and Creator pages.

Documentation impact

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

Updated package scene guidance, architecture decisions, and release notes. Catalog membership is unchanged. Generic Engine API documentation landed with Engine #7119.

UI evidence (if applicable)

No new screenshots are claimed in this PR. Manual browser verification of the final scene-only artifact remains outstanding.

Summary by CodeRabbit

  • New Features
    • Continue eligible Creator DM conversations as roleplay scenes, with invitations, scene planning, lock and visibility controls, recaps, and recovery of missed scene endings.
    • Draft posts or Stories from an idea, with optional images and deal or collaboration context. Review and edit drafts in the shared composer before posting; Stir post-writing suggestions now hand off to the composer.
  • Updates
    • Slurp 0.3.15 requires Engine Capability API 1.66 for native scene support.

🔄 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/1230 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/5/2026 **Status:** ✅ Merged **Merged:** 10/5/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `feat/slurp-dm-scenes-1229` --- ### 📝 Commits (10+) - [`b798a6d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b798a6da9ac5ee6d5666635d128c8607fa84102b) feat(slurp2): roleplay scenes from DM threads (Engine capability API 1.66), dormant until the Engine release - [`0103173`](https://github.com/Pasta-Devs/Marinara-Agents/commit/01031733ff440f243e43cbcbe20dfc6638dd8b16) test(slurp2): scene routes, permission and lock bar in the regression expectations; scene_played label - [`f993a51`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f993a51d478cc7532700a324b364f97cc0ccf1b6) test(slurp2): scene routes in the route inventory - [`8733093`](https://github.com/Pasta-Devs/Marinara-Agents/commit/87330934a7c426567b65925510ee86d725d66a23) test(slurp2): route totals for the scene routes - [`a2cc962`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a2cc962e62fb01cac04abdbacf3dbbaff347a4c4) fix(slurp2): scene lock as a per-route preHandler; package routes have no hooks - [`cab201d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/cab201d0ada115798e79d9c0d721efa68af47243) feat(slurp2): guided post for every page: one line drafts caption and picture for review; Stir hands write-post to the composer - [`b2398ab`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b2398ab14b2b8117b3ae746ef99f89d15e1cf153) refactor(slurp2): SlpActionResult in its own file (size cap); guided post decision - [`b909e4c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b909e4c8058da4efb10b8bdd7b2616975e9e7814) fix(slurp2): DM prompt reads a scene recap as what the two did, an invite as hers; ended notes stay out - [`fdcfde3`](https://github.com/Pasta-Devs/Marinara-Agents/commit/fdcfde30a458fbb7c983bb0ca0375bed8a81b396) feat(slurp2): release native DM scenes and guided posts as 0.3.15 - [`c465946`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c465946906684a3f4aad3d17e74965349b322e8e) fix(slurp2): address scene and guided post review findings ### 📊 Changes **82 files changed** (+3704 additions, -744 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.3.15.zip` (+0 -0) 📝 `catalog/catalog.json` (+18 -16) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+18 -16) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+18 -16) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/slurp2/CHANGELOG.md` (+7 -0) 📝 `packages/slurp2/client.js` (+101 -99) ➕ `packages/slurp2/docs/SCENES.md` (+54 -0) 📝 `packages/slurp2/docs/architecture/DECISIONS.md` (+43 -0) 📝 `packages/slurp2/docs/architecture/README.md` (+1 -1) 📝 `packages/slurp2/manifest.json` (+15 -13) 📝 `packages/slurp2/server.mjs` (+382 -394) 📝 `packages/slurp2/src/engine/packages/client/src/slp/app/SlpApp.tsx` (+3 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpScreenComposer.tsx` (+32 -2) 📝 `packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpScreenProfile.tsx` (+7 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/base/state/slp-package-store.ts` (+42 -0) ➕ `packages/slurp2/src/engine/packages/client/src/slp/features/assist/SlpPostGuide.tsx` (+167 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/assist/slp-assist-contract.ts` (+2 -0) _...and 62 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #1229 ## Why this change A Creator DM should continue into a real Engine roleplay scene and return to that same thread with its recap and availability restored. Slurp threads need their own native scene lifecycle instead of a hidden Engine Conversation as an intermediary. ## What changed - Start scenes from character-backed Creator DMs or accept Creator invites, with per-scene availability and recap visibility choices. - Lock the DM and pause the Creator's activity when requested. Conclude, discard, convert, delete, and missed-release recovery return the outcome and unlock the thread. Recaps enter later DM prompts as the shared experience. - Draft a post from one idea for review in the same composer on every page; Stir hands its post draft to the composer. - Rebuild Slurp 0.3.15, payloads, manifest, archive, catalog lanes, and release notes together. Versions 0.3.13/0.3.14 are left available for the separate onboarding/reserved work. - This branch starts from current `staging` and contains only scenes and guided posts. Support-ticket/G-thread onboarding from `conduct-your-welcome` is excluded. ## Package and security impact - Affected package IDs: `slurp2`. - Engine compatibility impact: requires Capability API 1.66 from Engine PR [#7119](https://github.com/Pasta-Devs/Marinara-Engine/pull/7119), now merged into Engine `staging`. Engine minimum stays at the 2.4.6 staging baseline, with exact build provenance pinned to `66a4aec373fb0751e99ce71ac8ad9262407129aa`. Older hosts reject the unsupported API. - New or changed permissions/entrypoints: `scenes`; the existing optional `mari-actions` permission is also emitted at this API level. Existing executable client/server entrypoints register the scene provider and validated scene routes. - Restart, storage, update, or uninstall impact: package update requires restart. Nullable scene identifiers/timestamps on DM threads track scene locks; continuity records preserve the selected recap reach. Missed releases reconcile against the Engine scene's actual state. Existing package storage lifecycle remains in place. ## 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` Observed locally on this scene-only branch: package rebuild; `npm run check` (formatting and ESLint, warnings only); `node scripts/test-catalog-lanes.mjs`; `node scripts/validate-package-locales.mjs`; `node scripts/validate-catalog.mjs`; `node scripts/tests/catalog-release-notes.regression.mjs`; `git diff --check`; focused `slurp2-roleplay-scenes`, `slurp2-guided-post`, and `slurp2-architecture` regressions through `tsx`. Every heavy command used the shared `heavy` lock. `node scripts/typecheck-packages.mjs slurp2` also passes (no syntax errors, undefined names, or unresolved modules), as do the affected `slurp2-ai-assist`, `slurp2-creator-ties`, `slurp2-route-inventory`, `slurp2-slice-i`, and `slurp2-step4-messages` regressions. Previous tested head: `fdcfde30`. CodeRabbit fix batch `c4659469`: all 14 actionable findings addressed. Focused `slurp2-scene-review`, `slurp2-roleplay-scenes`, `slurp2-guided-post`, `slurp2-step4-messages`, and `slurp2-ai-assist` regressions pass. Slurp source checks, rebuilt 0.3.15 package/catalog, formatting and lint (810 warnings, zero errors), all baseline catalog/localization/release-note checks, and `git diff --check` pass. Known CI limitation: the optional Noodle and Slurp browser jobs fail on existing selectors/fixtures. Browser tests were left unchanged at the maintainer’s request; they are not required merge checks. No browser pass is claimed. ### Manual verification notes Earlier implementation-session production prereleases were separate sideloads, not this final artifact. No fresh browser/install/uninstall proof is claimed for 0.3.15. Manually verify start/invite, availability choices, locked DM writes, conclude/recap reach, discard/convert/delete, missed-release recovery, return navigation, and draft review on persona and Creator pages. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation Updated package scene guidance, architecture decisions, and release notes. Catalog membership is unchanged. Generic Engine API documentation landed with Engine #7119. ## UI evidence (if applicable) No new screenshots are claimed in this PR. Manual browser verification of the final scene-only artifact remains outstanding. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Continue eligible Creator DM conversations as roleplay scenes, with invitations, scene planning, lock and visibility controls, recaps, and recovery of missed scene endings. * Draft posts or Stories from an idea, with optional images and deal or collaboration context. Review and edit drafts in the shared composer before posting; Stir post-writing suggestions now hand off to the composer. * **Updates** * Slurp 0.3.15 requires Engine Capability API 1.66 for native scene support. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:09:33 +07:00
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#1357
No description provided.