[PR #1038] [MERGED] feat(slurp2): fix post and image pipeline, prompts, messages, story engine first pass #1263

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1038
Author: @Gunterlie
Created: 9/23/2026
Status: ✅ Merged
Merged: 9/23/2026
Merged by: @Gunterlie

Base: staging ← Head: sudden-rabbit


📝 Commits (10+)

  • 4cf5f59 feat(slurp2): fix the post and image pipeline, prompts, messages, and story engine (0.2.26–0.2.31)
  • 650b9e2 feat(slurp2): add creator image styles and consolidate release
  • 7d4c199 feat(slurp2): theme notifications
  • 052b0b6 fix(slurp2): align Pulse actions with settings
  • f59d704 fix(slurp2): hand off background work to Pulse
  • 77acad3 feat(slurp2): show live Pulse queue progress
  • 761deda feat(slurp2): add derived appearance profile contract
  • 9fc8d95 feat(slurp2): persist lazy appearance profiles
  • 6791897 feat(slurp2): resolve image appearance lazily
  • 658a03c fix(slurp2): keep appearance in every image prompt

📊 Changes

246 files changed (+9987 additions, -8588 deletions)

View changed files

➖ SLURP-AUDIENCE-SIMULATION-PLAN.md (+0 -416)
➖ SLURP-EXTRACTION-PLAN.md (+0 -571)
➖ SLURP-INVITED-CHARACTER-AUDIENCE-PLAN.md (+0 -260)
➖ SLURP-LIVE-WORLD-PLAN.md (+0 -627)
➖ SLURP-MODULE-STATUS.md (+0 -58)
➕ artifacts/slurp2-0.2.26.zip (+0 -0)
➕ artifacts/slurp2-0.2.27.zip (+0 -0)
➕ artifacts/slurp2-0.2.28.zip (+0 -0)
➕ artifacts/slurp2-0.2.29.zip (+0 -0)
➕ artifacts/slurp2-0.2.30.zip (+0 -0)
➕ artifacts/slurp2-0.2.31.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+18 -18)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+18 -18)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+18 -18)
📝 packages/slurp2/AGENTS.md (+0 -5)
📝 packages/slurp2/CHANGELOG.md (+20 -0)
➖ packages/slurp2/PROMPT-STUDIO-PLAN.md (+0 -144)

...and 80 more files

📄 Description

Pull request

Linked issue

Closes #1039

Why this change

Slurp2 pictures ignored their posts: the image-prompt rewrite could return nothing on reasoning models, the fallback cut the scene off, card descriptions and costumes leaked into prompts, and illustrated styles could render Creators too young. Posts, DMs, and the story engine had related problems: contradicting prompt blocks, occasions and story facts that never reached a prompt, broken follow-ups, and background jobs starving player DMs of the model budget.

What changed

  • Package: slurp2 remains at 0.2.26 as requested (manifest, client/server bundles, artifacts, catalog entries rebuilt from source).
  • Images: self-contained appearance is resolved from a Creator override, linked Appearance, or a cached LLM extraction from card details; avatar references are sent only to supported providers. Prompt built from the post model's English scene; clothing, costume, and age-coding words removed from the look; adult anchor and adult-only negatives on every image path; rewrite uses Slurp's connection; new Image style setting; auth errors not retried.
  • Prompts: resolved level for locked posts, capped card fields with resolved macros, format length ceilings, language rules, separate prompt IDs.
  • Story engine: occurrences, facts, and arc opportunities reach generation; influences drive reply delay and audience activity; manual occasions can be started.
  • Messages/systems: follow-up crashes, busy detection across the Engine boundary, DM budget reserve, owned-post upsells, payment chips, "budget" reply status, audience activity feedback.
  • Removed outdated Slurp planning and review Markdown files and their references.

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: none (same Engine range)
  • New or changed permissions/entrypoints: new routes GET /slurp/image-style-profiles and POST /slurp/accounts/:id/appearance; no new package permissions
  • Restart, storage, update, or uninstall impact: new settings imageStyleProfileId and appearanceProfileMode, optional cached appearance on account settings, and executable client/server bundles changed. The artifact was rebuilt under the existing 0.2.26 version, so version-based update detection will not offer it as a new release.

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

  • Appearance, Creator stage facts, image prompt boundaries, persona Creator, and Backstage regressions pass (16 tests). npm run check, Slurp2 architecture/typecheck, catalog lanes, locales, catalog validation, and release notes validation pass. The pre-existing slurp2-image-context.regression.ts VM harness still fails because it omits slurpIsLegacyImageBrief from its context.
  • Manual Engine install and picture generation were not performed. Verify first-image extraction, review actions, and provider prompts with interpretation on and off before merge.

Documentation impact

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

🔄 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/1038 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/23/2026 **Status:** ✅ Merged **Merged:** 9/23/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `sudden-rabbit` --- ### 📝 Commits (10+) - [`4cf5f59`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4cf5f5952b3d4b077b40345481c72c173db646b5) feat(slurp2): fix the post and image pipeline, prompts, messages, and story engine (0.2.26–0.2.31) - [`650b9e2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/650b9e2874311d1419d991b541ca0bb2dfc25531) feat(slurp2): add creator image styles and consolidate release - [`7d4c199`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7d4c199dc622ac2cbb6de0851f0cd77841427e35) feat(slurp2): theme notifications - [`052b0b6`](https://github.com/Pasta-Devs/Marinara-Agents/commit/052b0b6dd034ca1ea668c60743d3c52dc90ea58b) fix(slurp2): align Pulse actions with settings - [`f59d704`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f59d70444cffafd1a14c26c4f7afcaa06740485a) fix(slurp2): hand off background work to Pulse - [`77acad3`](https://github.com/Pasta-Devs/Marinara-Agents/commit/77acad35df4ef3116dbf3127d998887db8af7095) feat(slurp2): show live Pulse queue progress - [`761deda`](https://github.com/Pasta-Devs/Marinara-Agents/commit/761deda74f1dbb0257477da8556bc3899332b724) feat(slurp2): add derived appearance profile contract - [`9fc8d95`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9fc8d9564af28db505a4bd1c2be0416f3a1ee160) feat(slurp2): persist lazy appearance profiles - [`6791897`](https://github.com/Pasta-Devs/Marinara-Agents/commit/679189707d68d826ec21aab7e67b055c4a714f27) feat(slurp2): resolve image appearance lazily - [`658a03c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/658a03ca6407dffa3e6fa83e8e6bb32a6339b4fa) fix(slurp2): keep appearance in every image prompt ### 📊 Changes **246 files changed** (+9987 additions, -8588 deletions) <details> <summary>View changed files</summary> ➖ `SLURP-AUDIENCE-SIMULATION-PLAN.md` (+0 -416) ➖ `SLURP-EXTRACTION-PLAN.md` (+0 -571) ➖ `SLURP-INVITED-CHARACTER-AUDIENCE-PLAN.md` (+0 -260) ➖ `SLURP-LIVE-WORLD-PLAN.md` (+0 -627) ➖ `SLURP-MODULE-STATUS.md` (+0 -58) ➕ `artifacts/slurp2-0.2.26.zip` (+0 -0) ➕ `artifacts/slurp2-0.2.27.zip` (+0 -0) ➕ `artifacts/slurp2-0.2.28.zip` (+0 -0) ➕ `artifacts/slurp2-0.2.29.zip` (+0 -0) ➕ `artifacts/slurp2-0.2.30.zip` (+0 -0) ➕ `artifacts/slurp2-0.2.31.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+18 -18) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+18 -18) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+18 -18) 📝 `packages/slurp2/AGENTS.md` (+0 -5) 📝 `packages/slurp2/CHANGELOG.md` (+20 -0) ➖ `packages/slurp2/PROMPT-STUDIO-PLAN.md` (+0 -144) _...and 80 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #1039 ## Why this change Slurp2 pictures ignored their posts: the image-prompt rewrite could return nothing on reasoning models, the fallback cut the scene off, card descriptions and costumes leaked into prompts, and illustrated styles could render Creators too young. Posts, DMs, and the story engine had related problems: contradicting prompt blocks, occasions and story facts that never reached a prompt, broken follow-ups, and background jobs starving player DMs of the model budget. ## What changed - Package: `slurp2` remains at 0.2.26 as requested (manifest, client/server bundles, artifacts, catalog entries rebuilt from source). - Images: self-contained appearance is resolved from a Creator override, linked Appearance, or a cached LLM extraction from card details; avatar references are sent only to supported providers. Prompt built from the post model's English scene; clothing, costume, and age-coding words removed from the look; adult anchor and adult-only negatives on every image path; rewrite uses Slurp's connection; new Image style setting; auth errors not retried. - Prompts: resolved level for locked posts, capped card fields with resolved macros, format length ceilings, language rules, separate prompt IDs. - Story engine: occurrences, facts, and arc opportunities reach generation; influences drive reply delay and audience activity; manual occasions can be started. - Messages/systems: follow-up crashes, busy detection across the Engine boundary, DM budget reserve, owned-post upsells, payment chips, "budget" reply status, audience activity feedback. - Removed outdated Slurp planning and review Markdown files and their references. ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: none (same Engine range) - New or changed permissions/entrypoints: new routes `GET /slurp/image-style-profiles` and `POST /slurp/accounts/:id/appearance`; no new package permissions - Restart, storage, update, or uninstall impact: new settings `imageStyleProfileId` and `appearanceProfileMode`, optional cached appearance on account settings, and executable client/server bundles changed. The artifact was rebuilt under the existing 0.2.26 version, so version-based update detection will not offer it as a new release. ## 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 - Appearance, Creator stage facts, image prompt boundaries, persona Creator, and Backstage regressions pass (16 tests). `npm run check`, Slurp2 architecture/typecheck, catalog lanes, locales, catalog validation, and release notes validation pass. The pre-existing `slurp2-image-context.regression.ts` VM harness still fails because it omits `slurpIsLegacyImageBrief` from its context. - Manual Engine install and picture generation were not performed. Verify first-image extraction, review actions, and provider prompts with interpretation on and off before merge. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:07:19 +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#1263
No description provided.