mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5740] [Feature]: Show the phrase Professor Mari understood as permission to act (triage tool for behavior reports) #3170
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#3170
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?
Originally created by @kolacheee on GitHub (Sep 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5740
Originally assigned to: @kolacheee on GitHub.
Summary
A troubleshooting surface that shows the phrase Professor Mari understood as the permission or request to do a task or make edits — so when a user reports "Mari edited something I never asked for" (or "Mari refused something I clearly asked for"), a developer reading the report can immediately gauge whether it is user error or a real Mari issue.
The problem
Mari's permission behavior has been the subject of a long arc of conflicting user reports (#4813 → #4838 → #5721 → #5725). Investigating the earlier complaints showed that many reporters did not realize their own wording implied a change request ("there is a problem with this character, present your proposal"). But today nothing records what Mari took as the authorizing instruction, so every report starts as archaeology: reading the transcript, guessing which sentence she keyed on, and arguing about intent after the fact. With Permissions Mode shipping (#5725), tuning complaints will reference modes too, and triage gets harder without this signal.
Proposed feature
When Mari executes (or stages/defers) mutating commands, she also reports the verbatim user phrase she is acting on, and that phrase is persisted and surfaced:
understoodRequest: a verbatim excerpt of the user's words she believes authorize the mutating commands in this frame). Emitted only when the frame carries mutating commands.Hard constraint: diagnostic only, never enforcement
This deliberately resurrects the shape of the removed
authorizationfield from the pre-#5721 gate — a model-quoted excerpt — but must never resurrect its function. The server must not validate, match, or gate anything on this field; a missing or wrongunderstoodRequestnever blocks a command. #5721 established that parsing user intent server-side misfires; this feature exists to let humans judge intent from the record instead. (Feasibility is already proven: the old gate showed models reliably produce such excerpts, and the current parser is already tolerant of legacy fields of this kind.)Open questions
Filed from maintainer discussion. Related: #4813, #4838, #5721, #5725, #5727, #5730.