mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1781] [Issue]: Persona parity regressions in prompt context and native sprite round trips #864
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#864
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 @Xelvanis on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1781
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Persona parity scan found three refactor regressions:
personaStats.rpgStats, but prompt assembly reads top-levelrpgStats.sprites/personas/<id>, but native persona export/import still reads/writessprites/<id>.Expected behavior
Persona data saved in the catalog should be consumed by generation and should round-trip through native persona import/export.
Active alt descriptions should be included in prompt persona text. RPG stats configured in the persona editor should reach game/persona generation context. Persona sprites uploaded through the persona sprite UI should export and import with the persona.
Actual behavior
Current refactor prompt assembly does not reference persona
altDescriptions.Current refactor stores RPG stats nested under
personaStats.rpgStats, but prompt assembly readsdata.rpgStats.Current refactor persona sprite UI uses the persona owner namespace, while native persona export/import still uses the legacy un-namespaced sprite folder.
Steps to reproduce
Impact area
Environment
refactoratcc81eb440345Logs, screenshots, or video
No runtime logs or screenshots. Static evidence:
Current refactor:
src/engine/generation/prompt-assembly.ts:274src/engine/generation/prompt-assembly.ts:285src/engine/generation/prompt-assembly.ts:289src/engine/generation/prompt-assembly.ts:1073src/features/catalog/personas/components/sprites/PersonaSpritesTab.tsx:117src-tauri/src/commands/storage/sprites.rs:1658src-tauri/src/commands/storage/exports.rs:686src-tauri/src/commands/storage/imports/marinara_assets.rs:33Legacy comparison:
packages/server/src/routes/generate.routes.ts:2125packages/server/src/routes/generate/retry-agents-route.ts:178packages/server/src/routes/generate.routes.ts:5239packages/server/src/routes/characters.routes.ts:138packages/client/src/components/personas/PersonaEditor.tsx:705Regression notes
These behaviors existed in the legacy implementation checked at
hotfix/1.6.1-tracker-alias-avatar-hud-tempcommit7c6190aabdc1.Additional context
Likely repair queue:
altDescriptionsinto the loaded prompt persona description.personaStats.rpgStatsinto generation persona RPG stats.sprites/<id>data.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jun 1, 2026):
More regression fixes.
@SpicyMarinara commented on GitHub (Jun 1, 2026):
Fixed on refactor in
df14eb88, with the native persona sprite round-trip portion already covered byd7770ac9.What changed:
Verification: