[PR #1346] [MERGED] feat(slurp2): 0.3.31 — guided post is a normal post with a wish, in one composer #1413

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

📋 Pull Request Information

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

Base: staging ← Head: feat/slurp2-guided-post-one-composer


📝 Commits (8)

  • 21555ac fix(slurp2): 0.3.29 — give hidden Creators their brief in Write, Improve, Draw and the guided post
  • 10a1ae0 fix(slurp2): writing help reads the page's bio and stage voice
  • 642a2b5 Merge remote-tracking branch 'origin/staging' into fix/slurp2-assist-hidden-creator-brief
  • 4d2e13c fix(slurp2): protect the writing-help answer for a concealed Creator
  • 4713fe6 feat(slurp2): 0.3.31 — guided post is a normal post with a wish, in one composer
  • ffd1f0e feat(slurp2): composer with the picture on top and a Write it myself | Guided switch
  • e5313ce Merge remote-tracking branch 'origin/staging' into feat/slurp2-guided-post-one-composer
  • 1992143 fix(slurp2): protect the wardrobe prompt for a concealed Creator

📊 Changes

32 files changed (+1370 additions, -935 deletions)

View changed files

➕ artifacts/slurp2-0.3.30.zip (+0 -0)
➕ artifacts/slurp2-0.3.31.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+12 -12)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+12 -12)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+12 -12)
📝 packages/slurp2/CHANGELOG.md (+12 -0)
📝 packages/slurp2/client.js (+89 -89)
📝 packages/slurp2/manifest.json (+5 -5)
📝 packages/slurp2/server.mjs (+309 -305)
📝 packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpScreenComposer.tsx (+235 -251)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/assist/SlpPostGuide.tsx (+200 -88)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/creators/slp-creators-contract.ts (+3 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+18 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/en.json (+15 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/modules/post/SlpComposerAudience.tsx (+1 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/modules/post/SlpPostComposerTools.tsx (+49 -1)
📝 packages/slurp2/src/engine/packages/server/src/slp/features/assist/slp-assist-service.ts (+146 -58)

...and 12 more files

📄 Description

Pull request

Linked issue

Closes #1345
Closes #1342

This branch is stacked on #1343 (slurp2 0.3.30) and contains its commits. Merging this PR ships 0.3.30 and 0.3.31 together; #1343 can then be closed.

Why this change

  • The guided post was written with the small writing-help prompt. It returned only a caption, the player's wish went word for word into the picture, and the draft got no audience guidance, spice level, image directions or live events.
  • A Creator with a hidden or hinted identity got no brief at all in writing help (0.3.30, #1342).
  • The composer did not make clear how to post by hand, or how to add an own photo to a guided post.

What changed

  • draft-post now calls the normal post generator (generateCreatorPost, prepareOnly + previewOnly) with the wish as the post direction. It returns title, text and a picture drawn from the post's own image prompt. New optional inputs: access, projectId, lookId, contentIntent, contentDelivery.
  • generateCreatorPost got skipImagePromptPreview so the draft does not run the image prompt rewrite twice.
  • Composer (SlpScreenComposer.tsx, SlpPostGuide.tsx): picture slot on top, audience chips, then one switch for the text. "Write it myself" shows Title and Text; "Guided" shows the wish, the "Add from Slurp" chips (storyline, saved idea, wardrobe look, owed brand deal, collab), "Draw a picture too" and "Write it". A guided draft fills the normal fields. The read-only preview and its "Edit" step are gone. A photo the player added stays and no picture is drawn.
  • The draft poll row moved to SlpComposerPollSummary to keep the screen file under the 800-line limit.
  • 0.3.30 part: Write, Improve, the guided post and Draw give a concealed Creator the brief at its own disclosure level, plus the page's bio and stage voice, and protect the answer.
  • Generated outputs rebuilt: packages/slurp2/client.js, server.mjs, manifest.json, artifacts/slurp2-0.3.31.zip, catalogs and notes.

Package and security impact

  • Affected package IDs: slurp2 (0.3.29 → 0.3.31)
  • Engine compatibility impact: none; built against Marinara-Engine staging dc0760d2a
  • New or changed permissions/entrypoints: none. The existing draft-post action takes more optional fields; projectId, lookId, dealId and collabId are each checked against the page.
  • Restart, storage, update, or uninstall impact: none. The draft writes no state: no post, no energy charge, no saved idea or shoot is used.
  • Identity: the wish and the returned title, text and image prompt go through the generator's identity protection for hidden and hinted Creators.

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

Run by the agent on the devbox (not a human check):

  • npm run check: 0 errors.
  • node scripts/test-catalog-lanes.mjs, validate-package-locales.mjs, validate-catalog.mjs, scripts/tests/catalog-release-notes.regression.mjs: pass.
  • node scripts/typecheck-packages.mjs slurp2: pass.
  • node scripts/run-slurp-regressions.mjs: 287 passed, 0 failed.
  • tests/package-slurp2-guided.e2e.ts in a real Engine at 390, 768 and 1440 px: pass. It covers the Guided side, the manual side, the draft landing in the fields, and the own-photo path.
  • Independent read-only review of the server change and the earlier composer; its high and medium findings are fixed. It ran before the switch layout.

Not verified: Story mode screenshots; a page with real storylines, ideas and looks; a live model call. 0.3.31 was not installed on a live Engine (0.3.30 was sideloaded on the maintainer's instance).

Known limits: posting a draft written for a storyline does not advance it; a saved idea is still used up if the drafted text is deleted and replaced by hand before posting.

Documentation impact

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

packages/slurp2/CHANGELOG.md has the 0.3.30 and 0.3.31 entries.

UI evidence (if applicable)

Screenshots come from the browser test (guided-<width>-empty|manual|loading|draft.png); they are test artefacts and are not attached here.

Summary by CodeRabbit

  • New Features

    • Added Guided mode to the post composer, which can draft a title and text and optionally generate an image. Drafts can be edited before posting, and you can switch to writing the post yourself.
    • Guided mode can use storylines, saved ideas, wardrobe looks, deals, and collaborations as context. Existing photos are kept, and you can choose the post audience.
    • Writing assistance can use a Creator’s bio and stage voice while respecting identity-disclosure settings.
  • Improvements

    • Composer controls are reorganized, with additional poll summaries and clearer options for writing and adding media.

🔄 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/1346 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/13/2026 **Status:** ✅ Merged **Merged:** 10/13/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `feat/slurp2-guided-post-one-composer` --- ### 📝 Commits (8) - [`21555ac`](https://github.com/Pasta-Devs/Marinara-Agents/commit/21555ac22d095879cb223b0644d4f9af51b12d73) fix(slurp2): 0.3.29 — give hidden Creators their brief in Write, Improve, Draw and the guided post - [`10a1ae0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/10a1ae01fd9220c259c2280da49bc200fbc73baf) fix(slurp2): writing help reads the page's bio and stage voice - [`642a2b5`](https://github.com/Pasta-Devs/Marinara-Agents/commit/642a2b5317398837435b3598e53f36b02f291b8e) Merge remote-tracking branch 'origin/staging' into fix/slurp2-assist-hidden-creator-brief - [`4d2e13c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4d2e13ce32b192da9bc7c72bae8933a97ded1097) fix(slurp2): protect the writing-help answer for a concealed Creator - [`4713fe6`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4713fe6fabeefaaa01d8b9fa56860785acfbc5a3) feat(slurp2): 0.3.31 — guided post is a normal post with a wish, in one composer - [`ffd1f0e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ffd1f0e761b8542b2db2df0413e92741d1617605) feat(slurp2): composer with the picture on top and a Write it myself | Guided switch - [`e5313ce`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e5313ce4a3eb77431130ffd8e402f16f58f6c11d) Merge remote-tracking branch 'origin/staging' into feat/slurp2-guided-post-one-composer - [`1992143`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1992143c1087ad9722e38e95ec3894ea26731c18) fix(slurp2): protect the wardrobe prompt for a concealed Creator ### 📊 Changes **32 files changed** (+1370 additions, -935 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.3.30.zip` (+0 -0) ➕ `artifacts/slurp2-0.3.31.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+12 -12) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+12 -12) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+12 -12) 📝 `packages/slurp2/CHANGELOG.md` (+12 -0) 📝 `packages/slurp2/client.js` (+89 -89) 📝 `packages/slurp2/manifest.json` (+5 -5) 📝 `packages/slurp2/server.mjs` (+309 -305) 📝 `packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpScreenComposer.tsx` (+235 -251) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/assist/SlpPostGuide.tsx` (+200 -88) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/creators/slp-creators-contract.ts` (+3 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+18 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/en.json` (+15 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/modules/post/SlpComposerAudience.tsx` (+1 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/modules/post/SlpPostComposerTools.tsx` (+49 -1) 📝 `packages/slurp2/src/engine/packages/server/src/slp/features/assist/slp-assist-service.ts` (+146 -58) _...and 12 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #1345 Closes #1342 This branch is stacked on #1343 (slurp2 0.3.30) and contains its commits. Merging this PR ships 0.3.30 and 0.3.31 together; #1343 can then be closed. ## Why this change - The guided post was written with the small writing-help prompt. It returned only a caption, the player's wish went word for word into the picture, and the draft got no audience guidance, spice level, image directions or live events. - A Creator with a hidden or hinted identity got no brief at all in writing help (0.3.30, #1342). - The composer did not make clear how to post by hand, or how to add an own photo to a guided post. ## What changed - `draft-post` now calls the normal post generator (`generateCreatorPost`, `prepareOnly` + `previewOnly`) with the wish as the post direction. It returns title, text and a picture drawn from the post's own image prompt. New optional inputs: `access`, `projectId`, `lookId`, `contentIntent`, `contentDelivery`. - `generateCreatorPost` got `skipImagePromptPreview` so the draft does not run the image prompt rewrite twice. - Composer (`SlpScreenComposer.tsx`, `SlpPostGuide.tsx`): picture slot on top, audience chips, then one switch for the text. "Write it myself" shows Title and Text; "Guided" shows the wish, the "Add from Slurp" chips (storyline, saved idea, wardrobe look, owed brand deal, collab), "Draw a picture too" and "Write it". A guided draft fills the normal fields. The read-only preview and its "Edit" step are gone. A photo the player added stays and no picture is drawn. - The draft poll row moved to `SlpComposerPollSummary` to keep the screen file under the 800-line limit. - 0.3.30 part: Write, Improve, the guided post and Draw give a concealed Creator the brief at its own disclosure level, plus the page's bio and stage voice, and protect the answer. - Generated outputs rebuilt: `packages/slurp2/client.js`, `server.mjs`, `manifest.json`, `artifacts/slurp2-0.3.31.zip`, catalogs and notes. ## Package and security impact - Affected package IDs: `slurp2` (0.3.29 → 0.3.31) - Engine compatibility impact: none; built against Marinara-Engine staging `dc0760d2a` - New or changed permissions/entrypoints: none. The existing `draft-post` action takes more optional fields; `projectId`, `lookId`, `dealId` and `collabId` are each checked against the page. - Restart, storage, update, or uninstall impact: none. The draft writes no state: no post, no energy charge, no saved idea or shoot is used. - Identity: the wish and the returned title, text and image prompt go through the generator's identity protection for hidden and hinted Creators. ## Validation <!-- These are human tasks. Never tick a box for a check that was not actually performed. --> - [ ] `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 Run by the agent on the devbox (not a human check): - `npm run check`: 0 errors. - `node scripts/test-catalog-lanes.mjs`, `validate-package-locales.mjs`, `validate-catalog.mjs`, `scripts/tests/catalog-release-notes.regression.mjs`: pass. - `node scripts/typecheck-packages.mjs slurp2`: pass. - `node scripts/run-slurp-regressions.mjs`: 287 passed, 0 failed. - `tests/package-slurp2-guided.e2e.ts` in a real Engine at 390, 768 and 1440 px: pass. It covers the Guided side, the manual side, the draft landing in the fields, and the own-photo path. - Independent read-only review of the server change and the earlier composer; its high and medium findings are fixed. It ran before the switch layout. Not verified: Story mode screenshots; a page with real storylines, ideas and looks; a live model call. 0.3.31 was not installed on a live Engine (0.3.30 was sideloaded on the maintainer's instance). Known limits: posting a draft written for a storyline does not advance it; a saved idea is still used up if the drafted text is deleted and replaced by hand before posting. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation `packages/slurp2/CHANGELOG.md` has the 0.3.30 and 0.3.31 entries. ## UI evidence (if applicable) Screenshots come from the browser test (`guided-<width>-empty|manual|loading|draft.png`); they are test artefacts and are not attached here. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added Guided mode to the post composer, which can draft a title and text and optionally generate an image. Drafts can be edited before posting, and you can switch to writing the post yourself. * Guided mode can use storylines, saved ideas, wardrobe looks, deals, and collaborations as context. Existing photos are kept, and you can choose the post audience. * Writing assistance can use a Creator’s bio and stage voice while respecting identity-disclosure settings. * **Improvements** * Composer controls are reorganized, with additional poll summaries and clearer options for writing and adding media. <!-- 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:11:02 +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#1413
No description provided.