mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4785] [MERGED] Fix connections, Professor Mari, Tracker, and lorebooks #6496
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#6496
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/4785
Author: @SpicyMarinara
Created: 8/9/2026
Status: ✅ Merged
Merged: 8/9/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/spicymarinara-issues-4765-4777📝 Commits (5)
104d92cfix assigned issue sweep78456bafix CodeRabbit review findings9844223fix follow-up review findingsddca169fix workspace protocol and prompt logging0a300b2fix portable workspace moves📊 Changes
21 files changed (+741 additions, -117 deletions)
View changed files
📝
CHANGELOG.md(+8 -0)📝
e2e/core-flows.e2e.ts(+6 -4)📝
packages/client/src/components/chat/HomeProfessorMariChat.tsx(+48 -20)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+15 -8)📝
packages/client/src/components/layout/AppShell.tsx(+21 -4)📝
packages/client/src/features/tracker-panel/components/TrackerPanelDetachedWindow.tsx(+2 -2)📝
packages/client/src/lib/professor-mari-transcript-scroll.ts(+6 -0)📝
packages/client/src/lib/tracker-panel-layout.ts(+2 -6)📝
packages/server/src/routes/generate.routes.ts(+51 -10)📝
packages/server/src/routes/generate/lorebook-keeper-utils.ts(+4 -15)📝
packages/server/src/routes/professor-mari-workspace.routes.ts(+2 -0)📝
packages/server/src/services/generation/connection-admission.ts(+37 -8)📝
packages/server/src/services/noodle/noodle-fan-activity.operation.ts(+4 -1)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+170 -19)📝
packages/server/src/services/professor-mari/workspace-shell-sandbox.ts(+1 -1)📝
packages/server/src/services/storage/characters.storage.ts(+31 -0)📝
packages/server/src/services/storage/lorebooks.storage.ts(+50 -12)📝
packages/shared/src/types/professor-mari-workspace.ts(+3 -0)📝
scripts/regressions/noodle-autopost.regression.ts(+64 -0)📝
scripts/regressions/open-issues.regression.ts(+144 -6)...and 1 more files
📄 Description
Why
Eight assigned reports outside the Home rebuild were still affecting connection reliability, Professor Mari workflows, lorebook integrity, and Tracker usability. This sweep resolves them together while keeping the changes focused and keeping the Home rebuild PR entirely untouched.
Summary
Security boundary
Android/Termux raw shell remains fail-closed. It does not have a supported Seatbelt/Bubblewrap equivalent. Professor Mari now receives safe structured file operations instead; they are workspace-confined, deny storage/protected paths (including symlink routes), refuse overwrite, and only remove one file or an empty directory.
Automated validation
pnpm checkpnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/open-issues.regression.tspnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/noodle-autopost.regression.tspnpm regression:professor-mari-shell-sandboxpnpm regression:providersThe full local UI smoke run reached 203 passed and 100 skipped. The affected Tracker check was updated and passes in isolation; Secret Plot also passes in isolation. The unrelated existing mobile composer history-position check still hangs in isolation and is outside the files changed here.
Manual test plan
Closes #4777
Closes #4775
Closes #4774
Closes #4773
Closes #4772
Closes #4770
Closes #4769
Closes #4765
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.