[GH-ISSUE #5033] [Issue]: Persona creation through Professor Mari fails in 2.4.2 #2784

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Professor Mari cannot create a new persona through persona.create in Marinara Engine 2.4.2. The operation reports failure even though the database insert appears to occur, and the persona is not persisted.

Expected behavior

A valid persona.create request should succeed and persist the new persona so it can be found afterward.

Actual behavior

Professor Mari reports ok: false and saved: false, despite insertedRows: 1. The persona is apparently rolled back and does not appear in search.

Steps to reproduce

  1. Run Marinara Engine 2.4.2 from a local git installation on macOS.
  2. Open a chat with Professor Mari.
  3. Ask Professor Mari to create a new persona, such as "Testo Testerson".
  4. Observe that persona.create fails and the created persona cannot be found.

Environment

  • Marinara Engine version: 2.4.2
  • Install type: source
  • OS + version: macOS 26.4.1
  • Browser or app shell: Not provided

Logs, screenshots, or video

Attached fresh Professor Mari chat: 4775mmv54tvn85358x5Ak7xq414.json. Reported tool result: persona.create with name, description, personality, and apply: true returned ok: false, saved: false, and insertedRows: 1. Attachment URL: https://cdn.discordapp.com/attachments/1537922139615658035/1537922139913723934/4775mmv54tvn85358x5Ak7xq414.json?ex=6a80cd1b&is=6a7f7b9b&hm=4d4b4b7fd9a8d064c01e8ab7344b7ceb0ab1807292541cf91ed563abafab9b9b9

Additional context

The reported payload passed personaCreateInputSchema validation because only name is required and description and personality are optional. The route handler parses the request and calls storage.createPersona. The failure appears to occur after insertion, possibly during workspace-agent post-processing or storage commit/rollback handling; the exact cause was not determined. The reporter has local-network access and reproduced the issue from another client.

Discord thread: Persona creation through Professor Mari is broken in 2.4.2
Discord thread link: https://discord.com/channels/1417099416812392641/1537922139615658035
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (1 message)
[2026-08-14T20:33:31.296Z] badingots: OS: macOS 26.4.1
Install: local, git
Access: local network, another client
ME: 2.4.2
Chat: Professor Mari

## Steps:

Simply ask Professor Mari to generate a new persona for you and she will run into issues. She will identity the issue as a bug.

## Notes

Across multiple attempts she will say something like this:

` ` `
What I tried: persona.create with { name: "Testo Testerson", description: "...", personality: "..." } and apply: true.

What happened: The command returned ok: false, saved: false — but the summary showed insertedRows: 1. So the row was inserted into the DB but then rolled back. A search confirmed the persona doesn't exist.

What I investigated: I traced the full validation chain:

    personaCreateInputSchema (in packages/shared/src/schemas/persona.schema.ts:290) only requires name — every other field including description and personality is optional.
    My original payload was schema-valid.
    The route handler at characters.routes.ts:2086 parses with that schema and calls storage.createPersona.


What's blocked: The failure is happening after the insert succeeds — somewhere in the workspace-agent service's post-processing or the storage layer's commit/rollback logic. I didn't get to inspect that code before hitting the command limit. It could also be a transient runtime issue.

Next step: I should just retry the persona.create — the payload was valid and the failure may have been transient. Want me to try again?
` ` `

I've attached the file for a fresh Prof Mari chat where I simply ask her to create the persona "Testo Testerson" and she cannot. (The file is modified slightly to replace my home path with `~`)
[attached file: 4775mmv54tvn85358x5Ak7xq414.json — https://cdn.discordapp.com/attachments/1537922139615658035/1537922139913723934/4775mmv54tvn85358x5Ak7xq414.json?ex=6a80cd1b&is=6a7f7b9b&hm=4d4b4b7fd9a8d064c01e8ab7344b7ceb0ab1807292541cf91ed563abafab9b9b&]
[Discord message: https://discord.com/channels/1417099416812392641/1537922139615658035/1537922139615658035]

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 (Aug 14, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5033 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Professor Mari cannot create a new persona through persona.create in Marinara Engine 2.4.2. The operation reports failure even though the database insert appears to occur, and the persona is not persisted. ## Expected behavior A valid persona.create request should succeed and persist the new persona so it can be found afterward. ## Actual behavior Professor Mari reports ok: false and saved: false, despite insertedRows: 1. The persona is apparently rolled back and does not appear in search. ## Steps to reproduce 1. Run Marinara Engine 2.4.2 from a local git installation on macOS. 2. Open a chat with Professor Mari. 3. Ask Professor Mari to create a new persona, such as "Testo Testerson". 4. Observe that persona.create fails and the created persona cannot be found. ## Environment - Marinara Engine version: 2.4.2 - Install type: source - OS + version: macOS 26.4.1 - Browser or app shell: Not provided ## Logs, screenshots, or video Attached fresh Professor Mari chat: 4775mmv54tvn85358x5Ak7xq414.json. Reported tool result: persona.create with name, description, personality, and apply: true returned ok: false, saved: false, and insertedRows: 1. Attachment URL: https://cdn.discordapp.com/attachments/1537922139615658035/1537922139913723934/4775mmv54tvn85358x5Ak7xq414.json?ex=6a80cd1b&is=6a7f7b9b&hm=4d4b4b7fd9a8d064c01e8ab7344b7ceb0ab1807292541cf91ed563abafab9b9b9 ## Additional context The reported payload passed personaCreateInputSchema validation because only name is required and description and personality are optional. The route handler parses the request and calls storage.createPersona. The failure appears to occur after insertion, possibly during workspace-agent post-processing or storage commit/rollback handling; the exact cause was not determined. The reporter has local-network access and reproduced the issue from another client. Discord thread: Persona creation through Professor Mari is broken in 2.4.2 Discord thread link: https://discord.com/channels/1417099416812392641/1537922139615658035 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (1 message)</summary> ```text [2026-08-14T20:33:31.296Z] badingots: OS: macOS 26.4.1 Install: local, git Access: local network, another client ME: 2.4.2 Chat: Professor Mari ## Steps: Simply ask Professor Mari to generate a new persona for you and she will run into issues. She will identity the issue as a bug. ## Notes Across multiple attempts she will say something like this: ` ` ` What I tried: persona.create with { name: "Testo Testerson", description: "...", personality: "..." } and apply: true. What happened: The command returned ok: false, saved: false — but the summary showed insertedRows: 1. So the row was inserted into the DB but then rolled back. A search confirmed the persona doesn't exist. What I investigated: I traced the full validation chain: personaCreateInputSchema (in packages/shared/src/schemas/persona.schema.ts:290) only requires name — every other field including description and personality is optional. My original payload was schema-valid. The route handler at characters.routes.ts:2086 parses with that schema and calls storage.createPersona. What's blocked: The failure is happening after the insert succeeds — somewhere in the workspace-agent service's post-processing or the storage layer's commit/rollback logic. I didn't get to inspect that code before hitting the command limit. It could also be a transient runtime issue. Next step: I should just retry the persona.create — the payload was valid and the failure may have been transient. Want me to try again? ` ` ` I've attached the file for a fresh Prof Mari chat where I simply ask her to create the persona "Testo Testerson" and she cannot. (The file is modified slightly to replace my home path with `~`) [attached file: 4775mmv54tvn85358x5Ak7xq414.json — https://cdn.discordapp.com/attachments/1537922139615658035/1537922139913723934/4775mmv54tvn85358x5Ak7xq414.json?ex=6a80cd1b&is=6a7f7b9b&hm=4d4b4b7fd9a8d064c01e8ab7344b7ceb0ab1807292541cf91ed563abafab9b9b&] [Discord message: https://discord.com/channels/1417099416812392641/1537922139615658035/1537922139615658035] ``` </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:55:27 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 14, 2026):

Fixed on staging by #5037 (merge commit 9c658d663). Professor Mari persona creation now supplies the required useCharacterSheetAsReference default, with real file-backed persistence and pending-review sidecar coverage.

<!-- gh-comment-id:5298634316 --> @SpicyMarinara commented on GitHub (Aug 14, 2026): Fixed on `staging` by #5037 (merge commit `9c658d663`). Professor Mari persona creation now supplies the required `useCharacterSheetAsReference` default, with real file-backed persistence and pending-review sidecar coverage.
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#2784
No description provided.