mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8542] [Feature]: Split a character's description into its fields #8398
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#8398
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 @Promansis on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8542
Originally assigned to: @Promansis on GitHub.
What problem does this solve?
Many downloaded character cards put everything into the description: personality, appearance, backstory, scenario, instructions and even example dialogue. The Engine has separate fields for each of these, and some features read them separately (the editor tabs, prompt presets that place personality or the scenario elsewhere, agents that look at appearance). A card like this works, but its fields stay empty and the description is one large block that is hard to edit.
Sorting a card by hand means copying text between tabs and risking lost lines. Doing it for a whole library is not realistic.
Proposed solution
Add an optional "Split description into fields" step that sorts a description into the card's existing fields without losing text:
packages/sharedthat recognises the common card layouts: labelled sections (Personality:,[Appearance], Markdown headings), W++ and PList trait lists (with or without brackets, including one-line PLists and{{char}}'s personaprefixes), JSON-style blocks, wrapper tags,{{user}}:/{{char}}:example dialogue and<START>blocks, and interview-style profiles whose questions name a field ("Personality?", "Appearance?").Alternatives considered
Additional context
The splitter was checked against a local library of 564 cards and 182 public Pygmalion cards. It matches the existing normalizer script's output on 558 of the 564 library cards, and the remaining differences are layouts the Engine version handles better. No card lost text in either run.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: