[GH-ISSUE #4949] [Issue]: Professor Mari repeatedly triggers system guard after failed mobile shell commands #2747

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

On Termux for Android, Professor Mari appears to retain and repeatedly comment on an earlier workspace or shell-command issue throughout the conversation. The system guard disrupts subsequent reasoning and responses and reportedly clears only after starting a new conversation.

Expected behavior

After a failed or unavailable shell-command attempt, the issue should be cleared or handled once, and subsequent responses should proceed without repeatedly asserting that the system guard was triggered.

Actual behavior

Professor Mari repeatedly references the earlier system-guard failure in both reasoning and responses, including claims that previous replies falsely claimed mutations or completion. This persists across later messages and disrupts the workflow.

Steps to reproduce

  1. Run Marinara Engine 2.4.2 staging in Professor Mari chat mode on a mobile device through Termux.
  2. During a conversation, allow Professor Mari to attempt shell commands or encounter a workspace issue that cannot be completed on the mobile device.
  3. Continue sending messages in the same conversation.
  4. Observe that the assistant repeatedly discusses the system guard and the earlier failed or allegedly mutating command instead of proceeding normally.
  5. Start a new conversation and compare whether the repeated guard commentary is cleared.

Environment

  • Marinara Engine version: 2.4.2 staging (c52695c)
  • Install type: termux
  • OS + version: Android 16
  • Browser or app shell: Not provided

Logs, screenshots, or video

Relevant response excerpts: "The system guard keeps firing because my "commands":[] replies claim mutations happened."; "The system guard says a previous reply claimed completion without mutating commands."; "The guard is right on the letter but wrong on this turn — my last reply made no mutating claim at all."; "Guard, you're misfiring — but I'll satisfy the letter of it with a real read instead of arguing." No screenshots or video provided.

Additional context

The reporter suspects this may occur when Professor Mari attempts shell commands that fail because the user is on a mobile device. A possible mitigation discussed was detecting mobile environments, disabling unsupported command capabilities, and removing instructions that prompt CLI actions. The persistence and exact trigger were not confirmed.

Discord thread: Bug report - Professor Mari and the system guard
Discord thread link: https://discord.com/channels/1417099416812392641/1537075242751631370
Requested by: kolache (k0lache, Discord ID 220320261780668416)

Discord thread transcript (2 messages)
[2026-08-12T12:28:15.349Z] Fussel: ME version: 2.4.2 staging (c52695c)
Chat mode: Professor Mari (assistant)
Installation method: Termux (Android 16)

I found another bug when working with Professor Mari on Mobile.
I don't exactly know what is causing it. But I believe when earlier in the conversation a workspace issue fires, the issue is persistently commented on by the assistant and never truly cleared unless starting a new conversation.

Maybe what happens is that for example, if Professor Mari decides to try and use shell commands, they fail because I am on a mobile device.
She will in following messages keep on being reminded of it in her reasoning and in the result itself.

Examples taken from its reasoning/responses:

> "The system guard keeps firing because my "commands":[] replies claim mutations happened."
> "The system guard says a previous reply claimed completion without mutating commands."

> "The guard is right on the letter but wrong on this turn — my last reply made no mutating claim at all."
> "Guard, you're misfiring — but I'll satisfy the letter of it with a real read instead of arguing."

This is, aside from annoying, also actively disrupting the workflow, reasoning and results produced. I stand ready for answering questions the best I can.
[Discord message: https://discord.com/channels/1417099416812392641/1537075242751631370/1537075242751631370]

[2026-08-12T12:33:11.535Z] kolache: yeah unfortunately for security reasons Mari is pretty nerfed on mobile devices :pepehmm: ig the thing to do for us is investigate conditional if user is on mobile device, remove the ability to do these things and also remove the instruction for her to do CLI things
[Discord message: https://discord.com/channels/1417099416812392641/1537075242751631370/1537076485045616763]

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 12, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4949 Originally assigned to: @SpicyMarinara on GitHub. ## Summary On Termux for Android, Professor Mari appears to retain and repeatedly comment on an earlier workspace or shell-command issue throughout the conversation. The system guard disrupts subsequent reasoning and responses and reportedly clears only after starting a new conversation. ## Expected behavior After a failed or unavailable shell-command attempt, the issue should be cleared or handled once, and subsequent responses should proceed without repeatedly asserting that the system guard was triggered. ## Actual behavior Professor Mari repeatedly references the earlier system-guard failure in both reasoning and responses, including claims that previous replies falsely claimed mutations or completion. This persists across later messages and disrupts the workflow. ## Steps to reproduce 1. Run Marinara Engine 2.4.2 staging in Professor Mari chat mode on a mobile device through Termux. 2. During a conversation, allow Professor Mari to attempt shell commands or encounter a workspace issue that cannot be completed on the mobile device. 3. Continue sending messages in the same conversation. 4. Observe that the assistant repeatedly discusses the system guard and the earlier failed or allegedly mutating command instead of proceeding normally. 5. Start a new conversation and compare whether the repeated guard commentary is cleared. ## Environment - Marinara Engine version: 2.4.2 staging (c52695c) - Install type: termux - OS + version: Android 16 - Browser or app shell: Not provided ## Logs, screenshots, or video Relevant response excerpts: "The system guard keeps firing because my \"commands\":[] replies claim mutations happened."; "The system guard says a previous reply claimed completion without mutating commands."; "The guard is right on the letter but wrong on this turn — my last reply made no mutating claim at all."; "Guard, you're misfiring — but I'll satisfy the letter of it with a real read instead of arguing." No screenshots or video provided. ## Additional context The reporter suspects this may occur when Professor Mari attempts shell commands that fail because the user is on a mobile device. A possible mitigation discussed was detecting mobile environments, disabling unsupported command capabilities, and removing instructions that prompt CLI actions. The persistence and exact trigger were not confirmed. Discord thread: Bug report - Professor Mari and the system guard Discord thread link: https://discord.com/channels/1417099416812392641/1537075242751631370 Requested by: kolache (k0lache, Discord ID 220320261780668416) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-08-12T12:28:15.349Z] Fussel: ME version: 2.4.2 staging (c52695c) Chat mode: Professor Mari (assistant) Installation method: Termux (Android 16) I found another bug when working with Professor Mari on Mobile. I don't exactly know what is causing it. But I believe when earlier in the conversation a workspace issue fires, the issue is persistently commented on by the assistant and never truly cleared unless starting a new conversation. Maybe what happens is that for example, if Professor Mari decides to try and use shell commands, they fail because I am on a mobile device. She will in following messages keep on being reminded of it in her reasoning and in the result itself. Examples taken from its reasoning/responses: > "The system guard keeps firing because my "commands":[] replies claim mutations happened." > "The system guard says a previous reply claimed completion without mutating commands." > "The guard is right on the letter but wrong on this turn — my last reply made no mutating claim at all." > "Guard, you're misfiring — but I'll satisfy the letter of it with a real read instead of arguing." This is, aside from annoying, also actively disrupting the workflow, reasoning and results produced. I stand ready for answering questions the best I can. [Discord message: https://discord.com/channels/1417099416812392641/1537075242751631370/1537075242751631370] [2026-08-12T12:33:11.535Z] kolache: yeah unfortunately for security reasons Mari is pretty nerfed on mobile devices :pepehmm: ig the thing to do for us is investigate conditional if user is on mobile device, remove the ability to do these things and also remove the instruction for her to do CLI things [Discord message: https://discord.com/channels/1417099416812392641/1537075242751631370/1537076485045616763] ``` </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:54:20 +07:00
Author
Owner

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

SpicyMarinara is taking this in the current assigned-issue sweep. I’m preparing a draft PR against staging and will link it here before implementation continues.

<!-- gh-comment-id:5267046722 --> @SpicyMarinara commented on GitHub (Aug 12, 2026): SpicyMarinara is taking this in the current assigned-issue sweep. I’m preparing a draft PR against `staging` and will link it here before implementation continues.
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#2747
No description provided.