mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2895] [Issue]: Lorebook “Compatible JSON” export does not conform to CharacterBook spec #1476
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#1476
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 @SpicyMarinara on GitHub (Jun 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2895
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Exporting a lorebook as “Compatible JSON” produces a mangled Character Book/Tavern Card V2-style output. The
entriesfield is exported as a mapping instead of an array, so the result does not match the CharacterBook spec.Expected behavior
Exporting a lorebook as Compatible JSON should produce valid CharacterBook-spec JSON, including
entriesas an array. If compatibility requires a different structure for ST lorebook handling, there should be a separate clean export option that conforms to the spec.Actual behavior
The Compatible JSON export returns a mangled version of Character Book/Tavern Card V2 data, with
entriesexported as a mapping rather than an array.Steps to reproduce
entriesis not an array.Environment
Logs, screenshots, or video
Not provided in the Discord thread.
Additional context
Reporter asked that if the current format is intentional for SillyTavern lorebook handling, Marinara should add another clean export option for lorebooks.
Discord thread: Lorebook export as "Compatible JSON" doesn't actually conform to CharacterBook spec
Thread link: https://discord.com/channels/1417099416812392641/1519434693462851656
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (2 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jun 28, 2026):
Addressed in draft PR #2916 (commit 51dcf81e) as part of the June 28 issue sweep. Validation passed locally with
pnpm check. Closing per maintainer request; please reopen or comment on the PR if anything still reproduces.