mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1276] [Feature]: Import an updated character card in-place onto an existing character (with version history), not only new copies #623
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#623
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 @GetBeholder on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1276
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Marinara Engine has a versioning system for characters, but importing a
character card only ever creates a new copy. There is no way to import an
updated version of a card onto the existing (outdated) character. To update a
character you already use, you import a new copy and then have to reattach it to
every existing chat that involves the original. The reporter wants an
"update in place" import so existing chats automatically pick up the updated
character.
Proposed behavior
in place), instead of only creating a new copy.
so the previous version can be reverted to.
without needing to reattach a new copy.
history yet, but an analogous in-place update could still be convenient there
(lower priority).
Expected owner or impact area
Refactor branch considerations
From a quick scan (triage pointer, not from the reporter): character version
history and in-place updates already exist in the catalog. The Card Evolution
Auditor agent applies field edits to an existing character via
useUpdateCharacter(
src/features/catalog/characters/hooks/use-characters.ts) withversionSource/
versionReasonand acharacter_versionbump (seeCharacterCardUpdateModal.tsxand
bumpCharacterVersion). So this request is largely about wiring thecharacter-card import flow into that existing update-in-place + versioning path
(e.g. a
versionSource: "import"entry on the target character) rather thanalways creating a new copy, plus a UI affordance to choose "update existing
character" vs "import as new." Keep import/versioning logic in the
catalog/engine layers rather than mode components.
Alternatives considered
Not explicitly stated by the reporter. The current behavior — import a new copy
and then reattach it to all existing chats — is the pain point being avoided.
Additional context
Source: forum request by The Lord of the Backdoor [MANA] (3-Star), ~5:29-5:31 PM
yesterday. A maintainer (Sunny | Beyond, Manager) responded: "Will consider this
for, or shortly after the rework and see what is possible. I do agree it would be
useful." This request already has positive maintainer acknowledgment and is
tentatively associated with the ongoing rework.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 26, 2026):
Triage note: labeling this as
scope-riskbecause in-place card imports are aligned with the existing character version-history system, but the issue touches import flow, target selection, version history, existing chat references, and potentially lorebook follow-up behavior.The least risky next step is to scope the first slice to character-card imports onto an explicitly selected existing character, with lorebook in-place updates tracked separately.
@SpicyMarinara commented on GitHub (May 27, 2026):
Okay, we'll allow such imports.
@SpicyMarinara commented on GitHub (May 27, 2026):
Implemented on refactor in
981971c1: character import now supports updating one selected existing character in place, snapshots the previous card into version history, and keeps existing chat references intact. Validation: pnpm check and pnpm lint.