mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4986] Preset import: standalone ST transformer emitting the native marinara_preset envelope #2765
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#2765
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 @ktello on GitHub (Aug 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4986
Problem
The SillyTavern preset importer (
packages/server/src/services/import/st-prompt.importer.ts) writes directly to storage and discards structure the Marinara data model already supports:charDescriptionandcharPersonalityat different positions collapse into onecharactermarker)world_info_before/world_info_aftermarkers and per-marker enabled state are not preserved/api/import/marinarawrites clienttimestampOverridestodata.metadata.timestampswhileimportPresetreads them fromdata.preset— the override is silently deadNumber()casts,role as any)Proposal
Add a standalone, pure transformer library (
st-preset-import/at the project root,@marinara-engine/st-preset-import) that maps ST preset JSON to the nativemarinara_presetv1 envelope, and converge every preset import path (ST single-file, ST bulk, native) on the schema-validatedimportPresetpipeline. The legacy direct-to-storage importer is removed behind a fixture parity gate.Full design: OpenSpec change
add-st-preset-transformer(proposal, design decisions, spec deltas, task plan).Ownership
Implementation by Claude (agent) coordinated by @ktello, on branch
agent/st-preset-transformertargetingstaging. Draft PR to follow immediately per repo coordination rules.@SpicyMarinara commented on GitHub (Aug 13, 2026):
The imports drop these because ME doesn't make use of those.