mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1429] [Issue]: D1 — Slurp2 companions are found by display name only, not by card/tag name #724
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#724
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Gunterlie on GitHub (Oct 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1429
Originally assigned to: @Gunterlie on GitHub.
Summary
D1 from the identity-tag report (D2 is #1428 — please do D2 first).
When the scene names another person (a companion) only by their card/tag name, Slurp does not see them. Slurp looks only for the companion's display name ("Umi Ryuuzaki"), while tag prompts write the card name ("ryuuzaki umi", "ryuuzaki_umi"). So in
insert/bothmode the companion gets no look and no name tag, the one-person negative prompt stays, and their reference picture is not added.Affected package
slurp2(0.3.46)Expected behavior
A companion is "in the picture" when the final prompt contains their display name or their card name (
known), in any tag spelling (_for spaces,\(series\), upper case). Then all three things happen together: their look/tag block, the lifted one-person rule, and their reference picture.Actual behavior
All three checks use only
companion.name(the display name):slurpImageCompanionBlocks—packages/slurp2/src/engine/packages/server/src/slp/base/media/slp-image-prompt.ts(around line 360):.filter((companion) => companion.name.trim() && scene.includes(companion.name.toLocaleLowerCase()))companionNamed—packages/slurp2/src/engine/packages/server/src/slp/features/media/slp-images-service.ts(around line 640):finalPrompt.toLocaleLowerCase().includes(companion.name.toLocaleLowerCase())resolveIllustratorCharacterReferenceswithname: companion.nameandpromptText: finalPrompt).Suggested fix
slp-image-prompt.ts, for exampleslurpCompanionInPrompt(prompt, companion), that returns true when the prompt hasnameorknown. Reuse the sameplain()normalisation thatslurpApplyImageSubjectalready uses (lower case,\(→(,_/spaces → one space). Do not write a second copy of it.Test
Add cases to
tests/slurp2-image-subject.regression.ts(it already importsslurpImageCompanionBlocks):ryuuzaki_umi, companion{ name: "Umi Ryuuzaki", known: "Ryuuzaki Umi", look: "blue hair" }, modeinsert→ block is produced.Run:
npx tsx --tsconfig tests/tsconfig.regressions.json tests/slurp2-image-subject.regression.ts, thennpm run test:noodle:regressions.Release checklist (for the PR)
staging, PR targetsstaging, link this issue.scripts/build-feature-packages.mjs(theslurp2entry) andSLURP2_VERSIONinpackages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts.MARINARA_ENGINE_ROOTset to a Marinara-Engine checkout). Do not hand-editclient.js,server.mjs, the zip, catalogs or hashes.npm run checkand the baseline commands inAGENTS.md.