[GH-ISSUE #7324] [Issue]: NPC party promotion imports unrelated similarly named character cards #4084

Closed
opened 2026-10-21 06:10:16 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7324

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Promoting an NPC to a party member in Game Mode can also import an unrelated character card with the same or a similar name, causing conflicting character information to be sent.

Expected behavior

Promoting an NPC should use only the intended NPC profile. If multiple character matches exist, Marinara should prompt the user to select one using identifying details such as name, title, and avatar.

Actual behavior

Marinara automatically adds a similarly named character card to the party. An NPC named Emma caused an unrelated Emma card to be added, while a male NPC named Sam caused a female Samantha card to be added, resulting in incorrect or conflicting backstory and descriptions.

Steps to reproduce

  1. Create or enter a Game Mode session containing an NPC whose name matches or resembles an existing character card, such as Emma/Emma or Sam/Samantha.
  2. Ask the DM to promote the NPC to a party member.
  3. Observe that the unrelated similarly named character card is also added and its character information is sent.

Environment

  • Marinara Engine version: 2.5.0
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

No logs, screenshots, video, or Support Diagnostic were provided.

Additional context

The user also requested an option to remove a character card from the party without removing the character profile. A maintainer proposed showing a selection prompt with names, titles, and avatars when multiple character matches are found.

Discord thread: Game Mode: NPCs added to party force import unrelated character cards
Discord thread link: https://discord.com/channels/1417099416812392641/1557944500091887737
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-10-09T02:35:14.031Z] AnObfuscator: Version: 2.5.0

If I ask the DM to promote an NPC to a party member, it works as expected unless there is a similarly named character card.

Example 1: In a game with an NPC named Emma, an unrelated Emma character card was added as well, resulting in very conflicting backstory and descriptions being sent for the same character.

Example 2: In a game with a male NPC named Sam, the female character card named Samantha was added, leading to extremely wrong backstory and description being sent for the character.

It would also be nice if I could optionally remove a character card from the party without removing the character profile.
[Discord message: https://discord.com/channels/1417099416812392641/1557944500091887737/1557944500091887737]

[2026-10-09T02:35:14.849Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1557944500091887737/1557944503523090454]

[2026-10-09T07:16:32.635Z] Marinara: I’ll add it so that if the GM is about to add a character to a party and you have multiple characters with the same name, it will ask you which one to choose, showing a list of names, titles, and avatars in a prompt window.
[Discord message: https://discord.com/channels/1417099416812392641/1557944500091887737/1558015294088413255]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Oct 9, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7324 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Promoting an NPC to a party member in Game Mode can also import an unrelated character card with the same or a similar name, causing conflicting character information to be sent. ## Expected behavior Promoting an NPC should use only the intended NPC profile. If multiple character matches exist, Marinara should prompt the user to select one using identifying details such as name, title, and avatar. ## Actual behavior Marinara automatically adds a similarly named character card to the party. An NPC named Emma caused an unrelated Emma card to be added, while a male NPC named Sam caused a female Samantha card to be added, resulting in incorrect or conflicting backstory and descriptions. ## Steps to reproduce 1. Create or enter a Game Mode session containing an NPC whose name matches or resembles an existing character card, such as Emma/Emma or Sam/Samantha. 2. Ask the DM to promote the NPC to a party member. 3. Observe that the unrelated similarly named character card is also added and its character information is sent. ## Environment - Marinara Engine version: 2.5.0 - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video No logs, screenshots, video, or Support Diagnostic were provided. ## Additional context The user also requested an option to remove a character card from the party without removing the character profile. A maintainer proposed showing a selection prompt with names, titles, and avatars when multiple character matches are found. Discord thread: Game Mode: NPCs added to party force import unrelated character cards Discord thread link: https://discord.com/channels/1417099416812392641/1557944500091887737 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-10-09T02:35:14.031Z] AnObfuscator: Version: 2.5.0 If I ask the DM to promote an NPC to a party member, it works as expected unless there is a similarly named character card. Example 1: In a game with an NPC named Emma, an unrelated Emma character card was added as well, resulting in very conflicting backstory and descriptions being sent for the same character. Example 2: In a game with a male NPC named Sam, the female character card named Samantha was added, leading to extremely wrong backstory and description being sent for the character. It would also be nice if I could optionally remove a character card from the party without removing the character profile. [Discord message: https://discord.com/channels/1417099416812392641/1557944500091887737/1557944500091887737] [2026-10-09T02:35:14.849Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1557944500091887737/1557944503523090454] [2026-10-09T07:16:32.635Z] Marinara: I’ll add it so that if the GM is about to add a character to a party and you have multiple characters with the same name, it will ask you which one to choose, showing a list of names, titles, and avatars in a prompt window. [Discord message: https://discord.com/channels/1417099416812392641/1557944500091887737/1558015294088413255] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:10:16 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

@SpicyMarinara commented on GitHub (Oct 9, 2026):

"None" should also be an option.

<!-- gh-comment-id:6077964612 --> @SpicyMarinara commented on GitHub (Oct 9, 2026): "None" should also be an option.
Author
Owner

@SpicyMarinara commented on GitHub (Oct 9, 2026):

Fixed on staging by #7335.

<!-- gh-comment-id:6079266730 --> @SpicyMarinara commented on GitHub (Oct 9, 2026): Fixed on staging by #7335.
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-Engine#4084
No description provided.