mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1572] [Feature]: Add a profile export/import format that scales beyond monolithic JSON #810
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#810
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 @cha1latte on GitHub (May 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1572
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Heavy profile import/export still has a scaling and data-contract risk after the immediate #1511 fix. Marinara profiles are still conceptually treated as one monolithic
marinara-profile.jsonenvelope, which puts large tables and inline data such as chat memories, notes, messages, gallery metadata, and other future bulky records under one JSON-size/memory assumption.That makes future heavy-user profiles fragile: a single large table can make the whole profile hard to read, validate, preview, back up, import safely, or partially recover.
Proposed behavior
Add a next-generation profile export/import format that can scale beyond one huge inline JSON document while preserving backward compatibility with current exports.
The format should define a clear manifest and per-table or chunked record contract, for example:
marinara-profile.jsonexports.Expected owner or impact area
Refactor branch considerations
Alternatives considered
chats.memories: potentially a good first slice, but the format should be designed so other large record groups can use the same contract later.Additional context
Related issues:
This follow-up comes from the focused system-boundary/data-contract audit and should track the longer-term profile contract rather than reopen the already-fixed emergency import issues.
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 29, 2026):
Triage note: labeling this as
scope-riskbecause it changes the profile import/export storage contract, touches destructive import behavior, and needs a narrowed v2/archive plan before implementation.A good first slice is to define the manifest/chunk contract and preserve v1 import compatibility before changing the write/import behavior.
@SpicyMarinara commented on GitHub (Jun 1, 2026):
Perhaps a folder the user could point to for imports?
@SpicyMarinara commented on GitHub (Jun 1, 2026):
Resolved first contract slice on refactor in
eaf49303.What changed:
Verification: