[GH-ISSUE #515] [Feature]: Add Description Extensions to Character Cards #233

Closed
opened 2026-10-20 17:26:35 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @ZeriLeandra on GitHub (May 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/515

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Right now character cards in Marinara Engine have several sections setup for description, personality, appearance, backstory, etc. But there's no way to flexibly build upon that for different character information that might warrant its own section and handling, or one might need/want to toggle some info in or out (based on where an RP is in story or whatnot).

Proposed solution

I know this is probably a pain in the a$$ given that characters are importable/exportable and the character marker in the prompt rendering seems to run a loop under the hood to handle multiple characters for group chats so it'd be another thing to iterate over, but it would be super, SUPER awesome if the functionality of the persona card that allows for description extensions could also be added to characters as well.

Alternatives considered

Right now I just have everything dumped into the Description of the character card and setup tags/hierarchy myself. Kind of similar to how on your Professor Mari card, you've got the <assistant_capabilities> section built into the scenario. But that's not easily toggled or swapped and have to read through the whole description to see what needs changing. Versioning works in one direction only (to go back, not toggle). I think this gets outside the scope of an extension since it would impact how the engine needs to handle the character card inside any given preset.

Additional context

The persona cards already have this functionality so it would be copying what already exists. Like I just made this bad example but you know what I'm talking about. After all, you made it. 😊
Image

Here's my really bad MS Paint mockup.
Image

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 @ZeriLeandra on GitHub (May 7, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/515 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Right now character cards in Marinara Engine have several sections setup for description, personality, appearance, backstory, etc. But there's no way to flexibly build upon that for different character information that might warrant its own section and handling, or one might need/want to toggle some info in or out (based on where an RP is in story or whatnot). ## Proposed solution I know this is probably a pain in the a$$ given that characters are importable/exportable and the character marker in the prompt rendering seems to run a loop under the hood to handle multiple characters for group chats so it'd be another thing to iterate over, but it would be super, SUPER awesome if the functionality of the persona card that allows for description extensions could also be added to characters as well. ## Alternatives considered Right now I just have everything dumped into the Description of the character card and setup tags/hierarchy myself. Kind of similar to how on your Professor Mari card, you've got the <assistant_capabilities> section built into the scenario. But that's not easily toggled or swapped and have to read through the whole description to see what needs changing. Versioning works in one direction only (to go back, not toggle). I think this gets outside the scope of an extension since it would impact how the engine needs to handle the character card inside any given preset. ## Additional context The persona cards already have this functionality so it would be copying what already exists. Like I just made this bad example but you know what I'm talking about. After all, you made it. 😊 <img width="805" height="709" alt="Image" src="https://github.com/user-attachments/assets/cf0e6928-3f0d-40c0-8554-a1299485639c" /> Here's my really bad MS Paint mockup. <img width="1097" height="761" alt="Image" src="https://github.com/user-attachments/assets/ef414bda-f748-4648-b69c-bd071835bc09" /> ## 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-20 17:26:35 +07:00
Author
Owner

@cha1latte commented on GitHub (May 7, 2026):

Triage note: labeling this as scope-risk because the request fits the character-card workflow, but adding description extensions to characters affects character data shape, import/export behavior, and prompt rendering across single and group chats.

The least risky next step is to narrow the first slice to mirroring persona-style description extensions for character cards, then separately verify import/export and group-chat prompt assembly behavior.

<!-- gh-comment-id:4397944877 --> @cha1latte commented on GitHub (May 7, 2026): Triage note: labeling this as `scope-risk` because the request fits the character-card workflow, but adding description extensions to characters affects character data shape, import/export behavior, and prompt rendering across single and group chats. The least risky next step is to narrow the first slice to mirroring persona-style description extensions for character cards, then separately verify import/export and group-chat prompt assembly behavior.
Author
Owner

@SpicyMarinara commented on GitHub (May 10, 2026):

We basically apply the same Description Extensions from Personas, but for Characters.

<!-- gh-comment-id:4414975893 --> @SpicyMarinara commented on GitHub (May 10, 2026): We basically apply the same Description Extensions from Personas, but for Characters.
Author
Owner

@SpicyMarinara commented on GitHub (May 10, 2026):

Implemented for v1.5.9. Character cards now have Persona-style Description Extensions in the Description tab, stored in the card's extensions object so import/export remains compatible. Active character extensions are appended to the character description in macro context, marker expansion, dry-run/fallback prompt assembly, game setup/session character cards, and scene context. Added the CHANGELOG entry and a focused helper test.\n\nValidation:\n- pnpm --filter @marinara-engine/client lint\n- pnpm --filter @marinara-engine/server lint\n- pnpm --filter @marinara-engine/server exec tsx --import ./test/setup-env.ts --test test/character-description-extensions.test.ts

<!-- gh-comment-id:4415136136 --> @SpicyMarinara commented on GitHub (May 10, 2026): Implemented for v1.5.9. Character cards now have Persona-style Description Extensions in the Description tab, stored in the card's extensions object so import/export remains compatible. Active character extensions are appended to the character description in macro context, marker expansion, dry-run/fallback prompt assembly, game setup/session character cards, and scene context. Added the CHANGELOG entry and a focused helper test.\n\nValidation:\n- pnpm --filter @marinara-engine/client lint\n- pnpm --filter @marinara-engine/server lint\n- pnpm --filter @marinara-engine/server exec tsx --import ./test/setup-env.ts --test test/character-description-extensions.test.ts
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#233
No description provided.