[PR #1319] [MERGED] fix(slurp2): give each other person in a picture their own name and look (0.3.24) #1403

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

📋 Pull Request Information

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

Base: staging ← Head: fix/slurp-image-two-people


📝 Commits (4)

  • a81935a fix(slurp2): give each other person in a picture their own name and look
  • c557c86 chore(slurp2): rebuild 0.3.24
  • 50a691a fix(slurp2): do not tag a companion page of the Creator's own character twice
  • 753cc15 chore(slurp2): rebuild 0.3.24

📊 Changes

18 files changed (+504 additions, -372 deletions)

View changed files

➕ artifacts/slurp2-0.3.24.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/slurp2/CHANGELOG.md (+5 -0)
📝 packages/slurp2/client.js (+1 -1)
📝 packages/slurp2/docs/IMAGE-PROMPTS.md (+14 -0)
📝 packages/slurp2/manifest.json (+5 -5)
📝 packages/slurp2/server.mjs (+308 -305)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+8 -1)
📝 packages/slurp2/src/engine/packages/server/src/slp/base/media/slp-image-prompt.ts (+40 -0)
➕ packages/slurp2/src/engine/packages/server/src/slp/features/media/slp-image-companions.ts (+22 -0)
📝 packages/slurp2/src/engine/packages/server/src/slp/features/media/slp-images-service.ts (+14 -16)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/slurp2-image-subject.regression.ts (+44 -1)

📄 Description

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.

Linked issue

Closes #1318

Why this change

Follow-up to #1317. A player reported that a picture with two people mixes the characters' features. The second Creator's look reached only the enhancer, so with "Enhance image prompts" off the final prompt had no look for them at all. Their "The image model knows this character" switch was also ignored on somebody else's page.

What changed

  • Affected package: slurp2 0.3.23 → 0.3.24 (patch).
  • New pure helper slurpImageCompanionBlocks (server/src/slp/base/media/slp-image-prompt.ts): one block per other person the scene names. A natural-language model gets Name: look; a tag model gets the known name as a tag, then the look.
  • slp-images-service.ts puts these blocks between the posting Creator's block and the scene. Order is now: style, Creator name and look, one block per other person, scene.
  • The look follows the Creator's rule: nothing after a used rewrite in "The enhancer writes it in" mode, only the missing traits after any other used rewrite, all of it when no rewrite was used.
  • The second person's card name goes along only when their own switch is on and their own identity is open. The block text passes through the same identity redaction as the rest of the prompt.
  • A person the scene does not name gets no block. A prompt a human approved stays as written.
  • resolveSlurpImageCompanions and its type move unchanged to the new features/media/slp-image-companions.ts. This keeps the image service under the 800-line architecture limit.
  • docs/IMAGE-PROMPTS.md has a new section "Two people in one picture". Changelog and splash note updated.
  • Generated outputs rebuilt by the builder: client.js, server.mjs, manifest.json, artifacts/slurp2-0.3.24.zip, catalogs.

Known ceiling (marked with a ponytail: comment): after a rewrite, a trait both people share counts as present for the second person too. Text order lowers feature mixing; it cannot rule it out without regional prompting.

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: none (engine.min unchanged)
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none. Only the text of the prompt sent to the image model changes. A hidden-identity companion's card name is never added.

Validation

Agent-run checks (boxes left for human verification):

  • tests/slurp2-image-subject.regression.ts has new assertions: block per named person, nobody named, each look rule, the differing known name, the tag form, and the wiring.

  • npm run test:slurp:regressions: 283 of 283 files pass (includes the architecture regression).

  • node scripts/typecheck-packages.mjs slurp2, npm run check, 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: pass.

  • Build: node scripts/build-feature-packages.mjs slurp2. The Engine checkout used for dependencies was on fix/capability-agent-registry-uninstall (079c0ab00) with two unrelated dirty client files, not a clean staging.

  • Not done: no install on an Engine, no real collab picture generated, no independent review.

  • 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

Documentation impact

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

packages/slurp2/docs/IMAGE-PROMPTS.md is updated.

Summary by CodeRabbit

  • New Features
    • Picture prompts now include a second Creator’s appearance after the posting Creator’s, with character names and known-character settings applied when available and permitted.
    • The second Creator’s known-character setting also applies when posting on another Creator’s page.
  • Documentation
    • Updated Slurp 0.3.24 release notes and image-prompt guidance.

🔄 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/1319 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/11/2026 **Status:** ✅ Merged **Merged:** 10/11/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/slurp-image-two-people` --- ### 📝 Commits (4) - [`a81935a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a81935a1b16194a8f7191ca94634999516c8f645) fix(slurp2): give each other person in a picture their own name and look - [`c557c86`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c557c86120a6afc40aa33f318003f66fcb3965b4) chore(slurp2): rebuild 0.3.24 - [`50a691a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/50a691a948d38ce9edad671902d232d83d9cc83a) fix(slurp2): do not tag a companion page of the Creator's own character twice - [`753cc15`](https://github.com/Pasta-Devs/Marinara-Agents/commit/753cc15d84b3f7f9e758338c609f73579985db74) chore(slurp2): rebuild 0.3.24 ### 📊 Changes **18 files changed** (+504 additions, -372 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.3.24.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/slurp2/CHANGELOG.md` (+5 -0) 📝 `packages/slurp2/client.js` (+1 -1) 📝 `packages/slurp2/docs/IMAGE-PROMPTS.md` (+14 -0) 📝 `packages/slurp2/manifest.json` (+5 -5) 📝 `packages/slurp2/server.mjs` (+308 -305) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+8 -1) 📝 `packages/slurp2/src/engine/packages/server/src/slp/base/media/slp-image-prompt.ts` (+40 -0) ➕ `packages/slurp2/src/engine/packages/server/src/slp/features/media/slp-image-companions.ts` (+22 -0) 📝 `packages/slurp2/src/engine/packages/server/src/slp/features/media/slp-images-service.ts` (+14 -16) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/slurp2-image-subject.regression.ts` (+44 -1) </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. ## Linked issue Closes #1318 ## Why this change Follow-up to #1317. A player reported that a picture with two people mixes the characters' features. The second Creator's look reached only the enhancer, so with "Enhance image prompts" off the final prompt had no look for them at all. Their "The image model knows this character" switch was also ignored on somebody else's page. ## What changed - **Affected package:** `slurp2` 0.3.23 → 0.3.24 (patch). - New pure helper `slurpImageCompanionBlocks` (`server/src/slp/base/media/slp-image-prompt.ts`): one block per other person the scene names. A natural-language model gets `Name: look`; a tag model gets the known name as a tag, then the look. - `slp-images-service.ts` puts these blocks between the posting Creator's block and the scene. Order is now: style, Creator name and look, one block per other person, scene. - The look follows the Creator's rule: nothing after a used rewrite in "The enhancer writes it in" mode, only the missing traits after any other used rewrite, all of it when no rewrite was used. - The second person's card name goes along only when their own switch is on and their own identity is open. The block text passes through the same identity redaction as the rest of the prompt. - A person the scene does not name gets no block. A prompt a human approved stays as written. - `resolveSlurpImageCompanions` and its type move unchanged to the new `features/media/slp-image-companions.ts`. This keeps the image service under the 800-line architecture limit. - `docs/IMAGE-PROMPTS.md` has a new section "Two people in one picture". Changelog and splash note updated. - Generated outputs rebuilt by the builder: `client.js`, `server.mjs`, `manifest.json`, `artifacts/slurp2-0.3.24.zip`, catalogs. Known ceiling (marked with a `ponytail:` comment): after a rewrite, a trait both people share counts as present for the second person too. Text order lowers feature mixing; it cannot rule it out without regional prompting. ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: none (`engine.min` unchanged) - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none. Only the text of the prompt sent to the image model changes. A hidden-identity companion's card name is never added. ## Validation Agent-run checks (boxes left for human verification): - `tests/slurp2-image-subject.regression.ts` has new assertions: block per named person, nobody named, each look rule, the differing known name, the tag form, and the wiring. - `npm run test:slurp:regressions`: 283 of 283 files pass (includes the architecture regression). - `node scripts/typecheck-packages.mjs slurp2`, `npm run check`, `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`: pass. - Build: `node scripts/build-feature-packages.mjs slurp2`. The Engine checkout used for dependencies was on `fix/capability-agent-registry-uninstall` (079c0ab00) with two unrelated dirty client files, not a clean `staging`. - Not done: no install on an Engine, no real collab picture generated, no independent review. - [ ] `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` ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation `packages/slurp2/docs/IMAGE-PROMPTS.md` is updated. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Picture prompts now include a second Creator’s appearance after the posting Creator’s, with character names and known-character settings applied when available and permitted. - The second Creator’s known-character setting also applies when posting on another Creator’s page. - **Documentation** - Updated Slurp 0.3.24 release notes and image-prompt guidance. <!-- 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:10:51 +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#1403
No description provided.