[PR #1317] [MERGED] fix(slurp2): put the character name after the style tags in picture prompts (0.3.23) #1399

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

📋 Pull Request Information

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

Base: staging ← Head: fix/slurp-image-name-after-style


📝 Commits (2)

  • fe69c5d fix(slurp2): put the character name after the style tags in picture prompts
  • 21aaaec chore(slurp2): rebuild 0.3.23

📊 Changes

21 files changed (+565 additions, -523 deletions)

View changed files

➕ artifacts/slurp2-0.3.23.zip (+0 -0)
📝 catalog/catalog.json (+14 -14)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+14 -14)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+14 -14)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/slurp2/CHANGELOG.md (+4 -0)
📝 packages/slurp2/client.js (+62 -62)
📝 packages/slurp2/docs/IMAGE-PROMPTS.md (+5 -4)
📝 packages/slurp2/manifest.json (+11 -11)
📝 packages/slurp2/server.mjs (+363 -355)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+8 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/de.json (+1 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/en.json (+1 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json (+1 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/pl.json (+1 -1)
📝 packages/slurp2/src/engine/packages/server/src/slp/base/media/slp-image-prompt.ts (+14 -0)
📝 packages/slurp2/src/engine/packages/server/src/slp/features/media/slp-images-service.ts (+20 -25)
📝 scripts/build-feature-packages.mjs (+1 -1)

...and 1 more files

📄 Description

Important

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

Linked issue

Closes #1316

Why this change

A player reported that with "The image model knows this character" on, the name is the first thing in the picture prompt, ahead of the style profile's tags. A name in front of the style reads as style, and a picture of two people (a collab) mixes the characters' features. The look that Slurp inserts had the same position problem.

What changed

  • Affected package: slurp2 0.3.22 → 0.3.23 (patch).
  • New pure helper slurpSplitStyleLead (server/src/slp/base/media/slp-image-prompt.ts) cuts the final prompt behind its style lead. The lead is the same style profile compiled around an empty prompt.
  • slp-images-service.ts applies the look and the name to the part behind the lead, then puts the lead back. Order is now: Creator art style, style profile tags, name, look, scene.
  • A prompt that does not start with the lead (no style profile, or a style part the camera-device filter removed) keeps the old behavior: the name leads.
  • A local compileStyled helper replaces three repeated compile calls. This keeps the service under the 800-line architecture limit; no behavior change.
  • The setting's description (en/de/ko/pl), docs/IMAGE-PROMPTS.md, the changelog and the splash note describe the new position.
  • Generated outputs rebuilt by the builder: client.js, server.mjs, manifest.json, artifacts/slurp2-0.3.23.zip, catalogs.

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 order of the prompt sent to the image model changes.

Validation

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

  • tests/slurp2-image-subject.regression.ts has new assertions for the split and the wiring.

  • The split was also run once against the real Engine compileImagePrompt for tagged, natural and danbooru profiles: the compiled prompt starts with the empty-prompt compile in all three.

  • 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, git diff --check (sources): 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 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 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/1317 **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-name-after-style` --- ### 📝 Commits (2) - [`fe69c5d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/fe69c5d5becc3d6bec1ea334d84c0f192e90e629) fix(slurp2): put the character name after the style tags in picture prompts - [`21aaaec`](https://github.com/Pasta-Devs/Marinara-Agents/commit/21aaaec93d0a4b4966b38dee6e706b9778ecf3db) chore(slurp2): rebuild 0.3.23 ### 📊 Changes **21 files changed** (+565 additions, -523 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.3.23.zip` (+0 -0) 📝 `catalog/catalog.json` (+14 -14) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+14 -14) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+14 -14) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/slurp2/CHANGELOG.md` (+4 -0) 📝 `packages/slurp2/client.js` (+62 -62) 📝 `packages/slurp2/docs/IMAGE-PROMPTS.md` (+5 -4) 📝 `packages/slurp2/manifest.json` (+11 -11) 📝 `packages/slurp2/server.mjs` (+363 -355) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+8 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/de.json` (+1 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/en.json` (+1 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/ko.json` (+1 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/pl.json` (+1 -1) 📝 `packages/slurp2/src/engine/packages/server/src/slp/base/media/slp-image-prompt.ts` (+14 -0) 📝 `packages/slurp2/src/engine/packages/server/src/slp/features/media/slp-images-service.ts` (+20 -25) 📝 `scripts/build-feature-packages.mjs` (+1 -1) _...and 1 more files_ </details> ### 📄 Description > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. ## Linked issue Closes #1316 ## Why this change A player reported that with "The image model knows this character" on, the name is the first thing in the picture prompt, ahead of the style profile's tags. A name in front of the style reads as style, and a picture of two people (a collab) mixes the characters' features. The look that Slurp inserts had the same position problem. ## What changed - **Affected package:** `slurp2` 0.3.22 → 0.3.23 (patch). - New pure helper `slurpSplitStyleLead` (`server/src/slp/base/media/slp-image-prompt.ts`) cuts the final prompt behind its style lead. The lead is the same style profile compiled around an empty prompt. - `slp-images-service.ts` applies the look and the name to the part behind the lead, then puts the lead back. Order is now: Creator art style, style profile tags, name, look, scene. - A prompt that does not start with the lead (no style profile, or a style part the camera-device filter removed) keeps the old behavior: the name leads. - A local `compileStyled` helper replaces three repeated compile calls. This keeps the service under the 800-line architecture limit; no behavior change. - The setting's description (en/de/ko/pl), `docs/IMAGE-PROMPTS.md`, the changelog and the splash note describe the new position. - Generated outputs rebuilt by the builder: `client.js`, `server.mjs`, `manifest.json`, `artifacts/slurp2-0.3.23.zip`, catalogs. ## 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 order of the prompt sent to the image model changes. ## Validation Agent-run checks (boxes left for human verification): - `tests/slurp2-image-subject.regression.ts` has new assertions for the split and the wiring. - The split was also run once against the real Engine `compileImagePrompt` for tagged, natural and danbooru profiles: the compiled prompt starts with the empty-prompt compile in all three. - `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`, `git diff --check` (sources): 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 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. --- <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: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#1399
No description provided.