mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
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#6511
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4838
Author: @kolacheee
Created: 8/10/2026
Status: ✅ Merged
Merged: 8/10/2026
Merged by: @kolacheee
Base:
staging← Head:fix/4813-mari-howto-guardrail📝 Commits (1)
64a7d0afix(server): keep Professor Mari from acting on "how do I" questions (#4813)📊 Changes
2 files changed (+7 additions, -2 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+6 -2)📄 Description
Linked issue
Follow-up to #4816 (the read-only guardrail that resolved #4813) after a user report that Mari still performed a change when asked only how to make it — see #4813 for the original report and reproduction. #4813 is closed; maintainers may prefer to reopen it or open a fresh tracking issue for this residual behavior — happy to do either.
Why this change
When a user asked "How do I make my character Gundorfson have the appearance of 'willy funny little guy'?", Professor Mari set the appearance instead of answering. That is the exact class of over-eager mutation #4816 set out to stop: a "how do I…" question asks for the method, not for Mari to perform the change — even when the question names the desired end state.
The #4816 guardrail was live but too weak against that "how do I make X have Y" phrasing, where the imperative verb ("make"/"set") is the goal the user is asking how to reach, not an instruction to act now.
A prior review of the first cut of this fix flagged the opposite risk: wording that ended "an explicit instruction … not a question" would make Mari under-act on genuinely polite requests phrased as questions ("Can you set X to Y?"). This PR keys the distinction on intent, not grammar, so both directions are correct.
What changed
character.updatewithapply:true, which Marinara saves behind its in-chat Keep/Restore review).Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
This change is prompt-only (Professor Mari's system prompt) and cannot be exercised by an automated regression — it is a model-behavior change.
pnpm checkand theprofessor-mari-prompt-contextregression pass locally, but the behavior needs a manual pass against a live model:Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)CHANGELOG updated; no other docs affected (prompt-only, no user-facing doc surface changes).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.