[GH-ISSUE #3571] [Issue]: Persona creation is broken through every supported helper #1933

Closed
opened 2026-10-21 05:43:55 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Jul 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3571

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Imported from the Discord thread "Persona creation is broken through every supported helper".

Expected behavior

Not provided in the Discord context.

Actual behavior

See the Discord context transcript below.

Steps to reproduce

  1. Not provided in the Discord context.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

See any attachment links and screenshots in the context below.

Additional context

This issue was created automatically from Discord support context.

Discord thread: Persona creation is broken through every supported helper
Discord thread link: https://discord.com/channels/1417099416812392641/1526307150614237337
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (2 messages)
[2026-07-13T19:19:42.122Z] Shades: Platform: Win 11
Release: v2.2.1
Build: 844c9ed
Branch: staging

Actually writing on behalf of Prof Mari 🤣 

- What broke: The personas table gained four required columns — phoneticName, convoDisplayName, aboutMe, and convoBehavior (JSON-encoded) — but neither app_data persona.create nor mari personas create knows they exist.
- The nasty part: Even if you explicitly supply those fields, the helpers strip them before insert (hard-coded field whitelist), then validation yells that they're missing.
- Suspected root cause: Migration drift. Someone added NOT NULL columns and never updated the create handlers. Updates on existing rows work fine; only create is dead.
- Workaround: Raw mari db insert with all columns present (empty strings satisfy validation, matching existing rows).
[Discord message: https://discord.com/channels/1417099416812392641/1526307150614237337/1526307150614237337]

[2026-07-13T19:32:27.110Z] Marinara: Oh, oof, we need to ensure Professor Mari is updated not only on personas but also on characters and lorebooks.
[Discord message: https://discord.com/channels/1417099416812392641/1526307150614237337/1526310359206596658]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Jul 13, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3571 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Imported from the Discord thread "Persona creation is broken through every supported helper". ## Expected behavior Not provided in the Discord context. ## Actual behavior See the Discord context transcript below. ## Steps to reproduce 1. Not provided in the Discord context. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video See any attachment links and screenshots in the context below. ## Additional context This issue was created automatically from Discord support context. Discord thread: Persona creation is broken through every supported helper Discord thread link: https://discord.com/channels/1417099416812392641/1526307150614237337 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-07-13T19:19:42.122Z] Shades: Platform: Win 11 Release: v2.2.1 Build: 844c9ed Branch: staging Actually writing on behalf of Prof Mari 🤣 - What broke: The personas table gained four required columns — phoneticName, convoDisplayName, aboutMe, and convoBehavior (JSON-encoded) — but neither app_data persona.create nor mari personas create knows they exist. - The nasty part: Even if you explicitly supply those fields, the helpers strip them before insert (hard-coded field whitelist), then validation yells that they're missing. - Suspected root cause: Migration drift. Someone added NOT NULL columns and never updated the create handlers. Updates on existing rows work fine; only create is dead. - Workaround: Raw mari db insert with all columns present (empty strings satisfy validation, matching existing rows). [Discord message: https://discord.com/channels/1417099416812392641/1526307150614237337/1526307150614237337] [2026-07-13T19:32:27.110Z] Marinara: Oh, oof, we need to ensure Professor Mari is updated not only on personas but also on characters and lorebooks. [Discord message: https://discord.com/channels/1417099416812392641/1526307150614237337/1526310359206596658] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:43:55 +07:00
  • closed this issue
  • added the
    in-pr
    bug
    labels
Author
Owner

@SpicyMarinara commented on GitHub (Jul 13, 2026):

Implemented and validated in #3576. The PR is ready for review against staging.

<!-- gh-comment-id:4962504953 --> @SpicyMarinara commented on GitHub (Jul 13, 2026): Implemented and validated in #3576. The PR is ready for review against staging.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1933
No description provided.