mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8688] [Feature]: Shared character and persona cards (one card model, one editor) #8457
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#8457
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 @ylli-selmani on GitHub (Nov 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8688
Originally assigned to: @ylli-selmani on GitHub.
What problem does this solve?
Characters and personas are two separate card models with two editors, two write schemas and two storage paths, even though most of what an author writes (name, summary, description, personality, backstory, appearance, scenario, example dialogue, colors, tags) is the same. Every shared field has to be added twice, and one library keeps falling behind the other.
Example: a character can have name aliases, so a nickname in chat gets the character's name color. Personas never got that, because adding one field to personas means touching another editor, another write schema, another serialized row and another reader.
The split also blocks a common wish: using the same card as the player in one chat and as a cast member in another, without keeping two divergent copies in sync by hand.
Proposed solution
One authored card model, one storage path and one shared editor, delivered in three reviewable PRs:
{{user}}/{{char}}resolve per chat at use time. Persona alias parity (nickname coloring) comes through the shared binding.Decisions:
Alternatives considered
Additional context
The plan follows a Pasta-Devs discussion on 2026-10-30 (a chat-role proposal, a player-avatar compatibility concern, and a preference to keep the current surface). PR A is ready now. B and C follow as separate PRs, stacked on A.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@ylli-selmani commented on GitHub (Nov 2, 2026):
PRs B and C will wait until after stable - i'll reopen this then
@Gunterlie commented on GitHub (Nov 2, 2026):
Heads-up for part B (unified storage and migration), found during a routine sweep of the Marinara-Agents packages against current
staging.Part A (#8689) is safe for packages: it is client-only, and no package imports the editors or
authored-card.Part B is different. Several Agent packages read characters and personas straight through the Engine storage/runtime, with the current shapes:
getPersona(plus flat persona fieldsaboutMe,appearance,avatarCrop,description,personality,backstory; ~22 files readcharacters.getById+character.dataJSON incl.extensions.appearance/extensions.backstorygetPersona(,listPersonas(,persona.aboutMe,persona.avatarCrop,persona.description; 8 files read character datalistPersonas(,persona.appearance,persona.backstory,persona.description(setup prompts, art)getPersona(+appearance,backstory,description,personalitylistPersonas((subject catalog, notes, runtime)listPersonas((prompt context)What would break them in part B:
aboutMe→description, flat fields → adatablob),getPersona/listPersonasremoved or returning a different shape,extensions.appearance/extensions.backstorymoving.Ask: please keep
getPersona/listPersonasand the flat persona fields as a compatibility shape (or list the new shape in the PR), keep IDs stable, and ping the Agents side before B merges so we can run the package regressions against the branch.@ylli-selmani commented on GitHub (Nov 2, 2026):
thanks gunterlie, that's very valuable feedback!!!! i'll keep it in mind, though: i probably won't touch anything else today, i wanna play minecraft. however, if you want (and you don't have to), you can have your agent look at my feature doc and amend it as you wish.
SHARED-CARDS.md
and my current branch is right here: PR-B Branch