[GH-ISSUE #5325] [Issue]: Professor Mari gets stuck in a mutation authorization loop #2941

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Professor Mari intermittently fails to create lorebook entries because its mutation authorization is blocked before execution. When this occurs, the user cannot review the proposed entry or click Keep or Discard.

Expected behavior

Professor Mari should authorize and execute the lorebook entry mutation, then allow the user to review the entry and choose Keep or Discard.

Actual behavior

The mutation is blocked before execution with the message: "authorization must quote a verbatim instruction from the active user message, not attached or fetched content." Professor Mari can sometimes recover, but intermittently locks into this state and struggles to exit it.

Steps to reproduce

  1. Run Marinara Engine on the staging build with the internal Professor Mari agent.
  2. Use an Arli AI connection with GLM 4.6-Derestricted-v5 or Gemma 4.
  3. Ask Professor Mari to create lorebook entries.
  4. Observe that the mutation may be blocked before execution and that the Keep or Discard review controls are unavailable.

Environment

  • Marinara Engine version: 2.4.4+71fae7eb5fb0
  • Install type: Not provided
  • OS + version: Linux 7.1.8-1-cachyos (x64), Arch-based
  • Browser or app shell: Mozilla Firefox 153.0 via Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0

Logs, screenshots, or video

Error message: "Mutation blocked before execution: authorization must quote a verbatim instruction from the active user message, not attached or fetched content." Screenshot: https://cdn.discordapp.com/attachments/1540037035446763590/1540035962798110/image.png?ex=6a887ec1&is=6a872d41&hm=ea46b045534daccb06c563206f32d8d29a0e4f1eafde012b0eb8bbe0e036b7df. Additional screenshot: https://cdn.discordapp.com/attachments/1540037035446763590/1540037885284196363/image.png?ex=6a887f8c&is=6a872e0c&hm=758b4f246ba3eaae57cfd186a5fa38e59106cbce72a8bba1c7f6264764ed0bbf.

Additional context

Marinara diagnostics report active connection arli glm 4.6, custom provider, and model GLM-4.6-Derestricted-v5. The user also tested Gemma 4; standard roleplay works as expected with the connections. The models are accessed through Arli AI rather than being self-hosted. The user reported that the diagnostic information was incorrect, but did not specify which fields were wrong. This may be related to https://discord.com/channels/1417099416812392641/1536077416286523462.

Discord thread: Professor mari mutation blocked loop on staging
Discord thread link: https://discord.com/channels/1417099416812392641/1540037035446763590
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (14 messages)
[2026-08-20T16:37:21.755Z] Luka: Os: Linux, arch based.
ME version: latest staging
Llm used: Glm 4.6D and gemma 4.

Problem: I have been trying and somewhat failing to make entries for a lorebook with the internal professor mari, I keep having issues where she cannot authorize herself to make the entries/ let me review and click keep or discord them.

Mutation blocked before execution: authorization must quote a verbatim instruction from the active user message, not attached or fetched content. = the image includes how it struggles, weirdly sometimes its totally fine but then it locks itself hard like this again and struggles to get out of it.

[attached image 1: https://cdn.discordapp.com/attachments/1540037035446763590/1540037035962798110/image.png?ex=6a887ec1&is=6a872d41&hm=ea46b045534daccb06c563206f32d8d29a0e4f1eafde012b0eb8bbe0e036b7df&]
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540037035446763590]

[2026-08-20T16:37:22.905Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540037040270352480]

[2026-08-20T16:40:07.017Z] Luka: Marinara Engine diagnostics
Version: 2.4.4
Build: 2.4.4+71fae7eb5fb0
Commit: 71fae7eb5fb0
Server OS: Linux 7.1.8-1-cachyos (x64)
Client OS: Linux
Browser / app shell: Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0
GPU: Radeon R9 200 Series, or similar
Active connection: arli glm 4.6
Connection provider: custom
LLM model: GLM-4.6-Derestricted-v5
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540037728605831260]

[2026-08-20T16:40:42.671Z] Luka: the diagnositic got it wrong tho....
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540037878149546004]

[2026-08-20T16:40:44.394Z] Luka: (no text content)

[attached image 1: https://cdn.discordapp.com/attachments/1540037035446763590/1540037885284196363/image.png?ex=6a887f8c&is=6a872e0c&hm=758b4f246ba3eaae57cfd186a5fa38e59106cbce72a8bba1c7f6264764ed0bbf&]
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540037885376467006]

[2026-08-20T16:40:47.055Z] Luka: aaaaaaaaa
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540037896537636945]

[2026-08-20T16:42:17.607Z] DSBwizzard: To confirm - are you able to do a standard roleplay with your connection to Gemma 4 or GLM 4.6d? AKA do these connections work how you expect in a Roleplay?
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540038276339994744]

[2026-08-20T16:43:10.913Z] DSBwizzard: And are you running these LLM locally?
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540038499921567834]

[2026-08-20T16:52:01.506Z] Luka: yes
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540040725390164029]

[2026-08-20T16:52:09.440Z] Luka: no arli ai
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540040758667517992]

[2026-08-20T16:52:25.668Z] DSBwizzard: Thank you. Not self-hosted, and they work fine for roleplay.
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540040826732941436]

[2026-08-20T16:53:03.527Z] DSBwizzard: -# I haven't seen this before
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540040985525092443]

[2026-08-20T16:53:27.277Z] DSBwizzard: I think a developer or maintainer can better dig into why your Prof Mari is having a violent breakdown, so I'll leave it to one of them to reply :KekW:
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540041085139554334]

[2026-08-20T17:01:04.962Z] DSBwizzard: May be related to https://discord.com/channels/1417099416812392641/1536077416286523462
[Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540043004809715803]

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 20, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5325 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Professor Mari intermittently fails to create lorebook entries because its mutation authorization is blocked before execution. When this occurs, the user cannot review the proposed entry or click Keep or Discard. ## Expected behavior Professor Mari should authorize and execute the lorebook entry mutation, then allow the user to review the entry and choose Keep or Discard. ## Actual behavior The mutation is blocked before execution with the message: "authorization must quote a verbatim instruction from the active user message, not attached or fetched content." Professor Mari can sometimes recover, but intermittently locks into this state and struggles to exit it. ## Steps to reproduce 1. Run Marinara Engine on the staging build with the internal Professor Mari agent. 2. Use an Arli AI connection with GLM 4.6-Derestricted-v5 or Gemma 4. 3. Ask Professor Mari to create lorebook entries. 4. Observe that the mutation may be blocked before execution and that the Keep or Discard review controls are unavailable. ## Environment - Marinara Engine version: 2.4.4+71fae7eb5fb0 - Install type: Not provided - OS + version: Linux 7.1.8-1-cachyos (x64), Arch-based - Browser or app shell: Mozilla Firefox 153.0 via Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0 ## Logs, screenshots, or video Error message: "Mutation blocked before execution: authorization must quote a verbatim instruction from the active user message, not attached or fetched content." Screenshot: https://cdn.discordapp.com/attachments/1540037035446763590/1540035962798110/image.png?ex=6a887ec1&is=6a872d41&hm=ea46b045534daccb06c563206f32d8d29a0e4f1eafde012b0eb8bbe0e036b7df. Additional screenshot: https://cdn.discordapp.com/attachments/1540037035446763590/1540037885284196363/image.png?ex=6a887f8c&is=6a872e0c&hm=758b4f246ba3eaae57cfd186a5fa38e59106cbce72a8bba1c7f6264764ed0bbf. ## Additional context Marinara diagnostics report active connection arli glm 4.6, custom provider, and model GLM-4.6-Derestricted-v5. The user also tested Gemma 4; standard roleplay works as expected with the connections. The models are accessed through Arli AI rather than being self-hosted. The user reported that the diagnostic information was incorrect, but did not specify which fields were wrong. This may be related to https://discord.com/channels/1417099416812392641/1536077416286523462. Discord thread: Professor mari mutation blocked loop on staging Discord thread link: https://discord.com/channels/1417099416812392641/1540037035446763590 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (14 messages)</summary> ```text [2026-08-20T16:37:21.755Z] Luka: Os: Linux, arch based. ME version: latest staging Llm used: Glm 4.6D and gemma 4. Problem: I have been trying and somewhat failing to make entries for a lorebook with the internal professor mari, I keep having issues where she cannot authorize herself to make the entries/ let me review and click keep or discord them. Mutation blocked before execution: authorization must quote a verbatim instruction from the active user message, not attached or fetched content. = the image includes how it struggles, weirdly sometimes its totally fine but then it locks itself hard like this again and struggles to get out of it. [attached image 1: https://cdn.discordapp.com/attachments/1540037035446763590/1540037035962798110/image.png?ex=6a887ec1&is=6a872d41&hm=ea46b045534daccb06c563206f32d8d29a0e4f1eafde012b0eb8bbe0e036b7df&] [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540037035446763590] [2026-08-20T16:37:22.905Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540037040270352480] [2026-08-20T16:40:07.017Z] Luka: Marinara Engine diagnostics Version: 2.4.4 Build: 2.4.4+71fae7eb5fb0 Commit: 71fae7eb5fb0 Server OS: Linux 7.1.8-1-cachyos (x64) Client OS: Linux Browser / app shell: Mozilla/5.0 (X11; Linux x86_64; rv:153.0) Gecko/20100101 Firefox/153.0 GPU: Radeon R9 200 Series, or similar Active connection: arli glm 4.6 Connection provider: custom LLM model: GLM-4.6-Derestricted-v5 [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540037728605831260] [2026-08-20T16:40:42.671Z] Luka: the diagnositic got it wrong tho.... [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540037878149546004] [2026-08-20T16:40:44.394Z] Luka: (no text content) [attached image 1: https://cdn.discordapp.com/attachments/1540037035446763590/1540037885284196363/image.png?ex=6a887f8c&is=6a872e0c&hm=758b4f246ba3eaae57cfd186a5fa38e59106cbce72a8bba1c7f6264764ed0bbf&] [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540037885376467006] [2026-08-20T16:40:47.055Z] Luka: aaaaaaaaa [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540037896537636945] [2026-08-20T16:42:17.607Z] DSBwizzard: To confirm - are you able to do a standard roleplay with your connection to Gemma 4 or GLM 4.6d? AKA do these connections work how you expect in a Roleplay? [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540038276339994744] [2026-08-20T16:43:10.913Z] DSBwizzard: And are you running these LLM locally? [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540038499921567834] [2026-08-20T16:52:01.506Z] Luka: yes [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540040725390164029] [2026-08-20T16:52:09.440Z] Luka: no arli ai [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540040758667517992] [2026-08-20T16:52:25.668Z] DSBwizzard: Thank you. Not self-hosted, and they work fine for roleplay. [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540040826732941436] [2026-08-20T16:53:03.527Z] DSBwizzard: -# I haven't seen this before [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540040985525092443] [2026-08-20T16:53:27.277Z] DSBwizzard: I think a developer or maintainer can better dig into why your Prof Mari is having a violent breakdown, so I'll leave it to one of them to reply :KekW: [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540041085139554334] [2026-08-20T17:01:04.962Z] DSBwizzard: May be related to https://discord.com/channels/1417099416812392641/1536077416286523462 [Discord message: https://discord.com/channels/1417099416812392641/1540037035446763590/1540043004809715803] ``` </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:58:12 +07:00
Author
Owner

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

Resolved on staging by #5330.

<!-- gh-comment-id:5361138314 --> @SpicyMarinara commented on GitHub (Aug 20, 2026): Resolved on staging by #5330.
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#2941
No description provided.