[PR #1232] [MERGED] feat(slurp2): share simple Stir posting for personas and NPCs #1355

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

📋 Pull Request Information

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

Base: staging ← Head: feat/slurp-simple-persona-post-1231


📝 Commits (3)

  • 7a2f080 docs(slurp2): track simple persona posting follow-up
  • 029b70c feat(slurp2): share simple Stir posting for personas and NPCs
  • 00889bd fix(slurp2): expose guided image generation and upload

📊 Changes

25 files changed (+1326 additions, -753 deletions)

View changed files

➕ artifacts/slurp2-0.3.16.zip (+0 -0)
📝 catalog/catalog.json (+15 -15)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+15 -15)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+15 -15)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/slurp2/CHANGELOG.md (+5 -0)
📝 packages/slurp2/client.js (+89 -89)
📝 packages/slurp2/manifest.json (+12 -12)
📝 packages/slurp2/server.mjs (+395 -374)
📝 packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpProfileLeadingActions.tsx (+8 -3)
📝 packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpScreenComposer.tsx (+236 -197)
📝 packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpScreenProfile.tsx (+5 -0)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/assist/SlpPostGuide.tsx (+37 -2)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+8 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/stir/SlpStirCreatorSheet.tsx (+14 -2)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/de.json (+5 -2)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/en.json (+5 -2)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json (+5 -2)

...and 5 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 #1231

Why this change

Persona and NPC creators need the same simple posting flow: give one idea, review caption and picture together, then publish. The full editor remains available through Edit.

What changed

  • Open the shared compact guide from persona profile Stir and NPC Creator Stir → Draft post; Edit reveals the existing composer while preserving the draft.
  • Label image generation explicitly with an on/off toggle and offer direct upload in the shared guide. Upload turns generation off; caption drafting preserves the selected picture.
  • Reuse draft generation, publishing and validation; rebuild Slurp 0.3.16 and catalogs.

Package and security impact

  • Affected package IDs: slurp2.
  • Engine compatibility impact: current minimum and Capability API unchanged.
  • New or changed permissions/entrypoints: client UI only; existing executable package entrypoints and permissions.
  • Restart, storage, update, or uninstall impact: package update requires restart; no storage changes.

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

Observed locally: focused slurp2-guided-preview, slurp2-guided-post, slurp2-scene-review, and architecture regressions; Slurp source checks; the package rebuild; formatting/lint; catalog-lane, localization, archive/catalog, and release-note checks; git diff --check. Every heavy command used heavy.

Installed the built 0.3.16 artifact into isolated Engine staging fixtures and ran only tests/package-slurp2-guided.e2e.ts on desktop Chromium, covering all three widths plus the NPC entry point in one session: 1 passed. The test uses real package UI and persona/account routes, with the draft generation action mocked to avoid external model/image requests. It verifies empty/loading/long-caption preview, disabled Post during generation, decoded image, visible image generation toggle and direct upload preserving the uploaded picture, Edit preserving caption/picture, and no horizontal overflow. No console errors or failed requests.

Real AI generation, existing deal/collab selection, actual browser publication, update from an older installed version, and uninstall cleanup were not exercised in this follow-up. Existing browser-suite failures remain outside scope and their tests are unchanged. GitHub run 37359052027 also failed the optional Slurp and Noodle browser jobs; required checks and the new focused local browser proof pass.

Documentation impact

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

UI evidence (if applicable)

Inspected screenshots at 390, 768, and 1440 px for empty, loading, preview and Edit. Screenshot files are produced by the focused test as guided-<width>-<state>.png; no screenshot artifacts are committed. Persona profile Stir and NPC Stir → Draft post open the same one-idea guide and caption/picture preview; Edit opens the full composer. The NPC entry screenshot is guided-npc-1440-empty.png. Existing browser-suite failures are unchanged.

Generated output evidence

No Slurp server or shared source changes: git diff origin/staging -- packages/slurp2/src/engine/packages/server packages/slurp2/src/engine/packages/shared is empty. Engine server/shared sources also have no diff between the previous pinned 66a4aec37 and the staging merge 5a6fafa079c921a3dc1166169f41f318549d595e. The generated server payload was rebuilt by the package builder against that clean staging checkout, alongside the client; its hash reflects the rebuilt artifact. Existing schema validation, draft-post service and post storage code are reused without source edits.

The generated notes sidecars keep the newest 20 releases (scripts/catalog-release-notes.mjs, MAX_RELEASE_NOTE_VERSIONS and entries.slice). Adding 0.3.16 moves 0.2.72 out of that rolling window; its release notes remain in the package CHANGELOG. Catalog and release-note regressions pass. CodeRabbit completed review of 00889bdf42938f95aa5687480c20f7bd26ebc74c with no actionable comments; its docstring coverage warning does not justify unrelated boilerplate.


🔄 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/1232 **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-simple-persona-post-1231` --- ### 📝 Commits (3) - [`7a2f080`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7a2f080965a4b826db6045a82d62a2c7d89339dc) docs(slurp2): track simple persona posting follow-up - [`029b70c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/029b70ca199def0d244488b30cfca88842c5479a) feat(slurp2): share simple Stir posting for personas and NPCs - [`00889bd`](https://github.com/Pasta-Devs/Marinara-Agents/commit/00889bdf42938f95aa5687480c20f7bd26ebc74c) fix(slurp2): expose guided image generation and upload ### 📊 Changes **25 files changed** (+1326 additions, -753 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.3.16.zip` (+0 -0) 📝 `catalog/catalog.json` (+15 -15) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+15 -15) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+15 -15) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/slurp2/CHANGELOG.md` (+5 -0) 📝 `packages/slurp2/client.js` (+89 -89) 📝 `packages/slurp2/manifest.json` (+12 -12) 📝 `packages/slurp2/server.mjs` (+395 -374) 📝 `packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpProfileLeadingActions.tsx` (+8 -3) 📝 `packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpScreenComposer.tsx` (+236 -197) 📝 `packages/slurp2/src/engine/packages/client/src/slp/app/screens/SlpScreenProfile.tsx` (+5 -0) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/assist/SlpPostGuide.tsx` (+37 -2) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+8 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/stir/SlpStirCreatorSheet.tsx` (+14 -2) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/de.json` (+5 -2) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/en.json` (+5 -2) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json` (+5 -2) _...and 5 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`. <!-- Open as a draft while implementation is in progress. Mark Ready for review only after validation and self-review. --> ## Linked issue <!-- Every PR should reference an issue or feature request. --> Closes #1231 ## Why this change Persona and NPC creators need the same simple posting flow: give one idea, review caption and picture together, then publish. The full editor remains available through Edit. ## What changed - Open the shared compact guide from persona profile Stir and NPC Creator Stir → Draft post; Edit reveals the existing composer while preserving the draft. - Label image generation explicitly with an on/off toggle and offer direct upload in the shared guide. Upload turns generation off; caption drafting preserves the selected picture. - Reuse draft generation, publishing and validation; rebuild Slurp 0.3.16 and catalogs. ## Package and security impact - Affected package IDs: `slurp2`. - Engine compatibility impact: current minimum and Capability API unchanged. - New or changed permissions/entrypoints: client UI only; existing executable package entrypoints and permissions. - Restart, storage, update, or uninstall impact: package update requires restart; no storage changes. ## 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 Observed locally: focused `slurp2-guided-preview`, `slurp2-guided-post`, `slurp2-scene-review`, and architecture regressions; Slurp source checks; the package rebuild; formatting/lint; catalog-lane, localization, archive/catalog, and release-note checks; `git diff --check`. Every heavy command used `heavy`. Installed the built 0.3.16 artifact into isolated Engine staging fixtures and ran only `tests/package-slurp2-guided.e2e.ts` on desktop Chromium, covering all three widths plus the NPC entry point in one session: 1 passed. The test uses real package UI and persona/account routes, with the draft generation action mocked to avoid external model/image requests. It verifies empty/loading/long-caption preview, disabled Post during generation, decoded image, visible image generation toggle and direct upload preserving the uploaded picture, Edit preserving caption/picture, and no horizontal overflow. No console errors or failed requests. Real AI generation, existing deal/collab selection, actual browser publication, update from an older installed version, and uninstall cleanup were not exercised in this follow-up. Existing browser-suite failures remain outside scope and their tests are unchanged. GitHub run 37359052027 also failed the optional Slurp and Noodle browser jobs; required checks and the new focused local browser proof pass. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) Inspected screenshots at 390, 768, and 1440 px for empty, loading, preview and Edit. Screenshot files are produced by the focused test as `guided-<width>-<state>.png`; no screenshot artifacts are committed. Persona profile Stir and NPC Stir → Draft post open the same one-idea guide and caption/picture preview; Edit opens the full composer. The NPC entry screenshot is `guided-npc-1440-empty.png`. Existing browser-suite failures are unchanged. ### Generated output evidence No Slurp server or shared source changes: `git diff origin/staging -- packages/slurp2/src/engine/packages/server packages/slurp2/src/engine/packages/shared` is empty. Engine server/shared sources also have no diff between the previous pinned `66a4aec37` and the staging merge `5a6fafa079c921a3dc1166169f41f318549d595e`. The generated server payload was rebuilt by the package builder against that clean staging checkout, alongside the client; its hash reflects the rebuilt artifact. Existing schema validation, draft-post service and post storage code are reused without source edits. The generated notes sidecars keep the newest 20 releases (`scripts/catalog-release-notes.mjs`, `MAX_RELEASE_NOTE_VERSIONS` and `entries.slice`). Adding 0.3.16 moves 0.2.72 out of that rolling window; its release notes remain in the package CHANGELOG. Catalog and release-note regressions pass. CodeRabbit completed review of `00889bdf42938f95aa5687480c20f7bd26ebc74c` with no actionable comments; its docstring coverage warning does not justify unrelated boilerplate. --- <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:29 +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#1355
No description provided.