mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #515] [Feature]: Add Description Extensions to Character Cards #233
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#233
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 @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. 😊

Here's my really bad MS Paint mockup.

Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 7, 2026):
Triage note: labeling this as
scope-riskbecause 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.
@SpicyMarinara commented on GitHub (May 10, 2026):
We basically apply the same Description Extensions from Personas, but for Characters.
@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