mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5757] [CLOSED] fix(server): distinguish staged workspace changes #6918
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#6918
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/5757
Author: @mikemikimike
Created: 9/2/2026
Status: ❌ Closed
Base:
staging← Head:fix/5756-staged-mutation-verification📝 Commits (8)
db43149release: promote Marinara Engine v2.4.4 to main (#5535)6c6e395chore(release): align staging with main history0f2da8achore(release): refresh promotion validation039cb2fMerge pull request #5549 from Pasta-Devs/hotfix/v2.4.4-lineage723102bchore(release): refresh v2.4.4 credits1a29936Merge pull request #5550 from Pasta-Devs/hotfix/v2.4.4-credits4cd32fbfix(server): distinguish staged workspace changes06501a1Merge branch 'staging' into fix/5756-staged-mutation-verification📊 Changes
3 files changed (+45 additions, -9 deletions)
View changed files
📝
packages/client/src/components/chat/HomeCreditsModal.tsx(+12 -9)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+6 -0)📝
scripts/regressions/prompt.regression.ts(+27 -0)📄 Description
Fixes #5756
Why this change
Sensitive
writeandeditoperations can return success while only staging a change for user approval. The workspace verification guard treated those results as applied mutations, so a later read of the unchanged file could incorrectly satisfy the guard and let the agent claim the change was applied.What changed
writeandeditas unappliedwriteandeditresults, while preserving ordinary applied-write behaviorValidation
node ./scripts/run-regressions.mjs --filter scripts/regressions/prompt.regression.ts(1/1 passed)pnpm --filter @marinara-engine/server lint(passed)pnpm build(passed; existing bundle-size/circular-chunk warnings only)git diff --check(passed)pnpm regression:node(153/158 passed; 5 existing Windows/baseline regressions)Summary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.