mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4543] [MERGED] Fix assigned Roleplay issues and add Mari docs lookup #6415
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#6415
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/4543
Author: @SpicyMarinara
Created: 8/3/2026
Status: ✅ Merged
Merged: 8/3/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/assigned-issue-sweep-august📝 Commits (4)
07c1b6eFix roleplay editing and sprite transitions38f3214Add Professor Mari documentation tools1765e59Bound Professor Mari documentation access1dc4a85Harden bounded documentation search📊 Changes
8 files changed (+645 additions, -13 deletions)
View changed files
📝
Dockerfile(+1 -0)📝
Dockerfile.lite(+1 -0)📝
packages/client/src/components/chat/ChatMessage.tsx(+2 -2)📝
packages/client/src/components/chat/SpriteOverlay.tsx(+3 -3)➕
packages/server/src/services/professor-mari/documentation-tools.ts(+427 -0)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+70 -8)📝
packages/shared/src/types/professor-mari-workspace.ts(+2 -0)➕
scripts/regressions/professor-mari-documentation.regression.ts(+139 -0)📄 Description
Why\n\nThree assigned issues had contained, provable fixes that improve Roleplay behavior and give Professor Mari a first-class path to canonical documentation. The remaining assigned issues need broader or security-sensitive investigation and are intentionally outside this sweep.\n\nCloses #4539\nCloses #4541\nCloses #4542\n\n## What changed\n\n- bounds long message edit fields and allows trackpad/touch scrolling in compressed chat layouts\n- overlaps outgoing and incoming sprite images during expression transitions so a crossfade never leaves the stage blank\n- adds bounded, read-only local documentation search/read tools for Home-screen Professor Mari\n- teaches Mari to consult canonical docs first, cite path and heading, and disclose source-code fallback\n- includes README alongside docs in both Docker runtime images\n\n## Root causes\n\n- the message editor expanded to its full content height while explicitly hiding vertical overflow\n- sprite transitions used wait mode, so the incoming keyed image did not mount until the outgoing image had fully disappeared\n- Professor Mari could only discover documentation through generic workspace file tools and had no docs-first source policy\n\n## Automated verification run\n\n- pnpm --filter @marinara-engine/client exec eslint src/components/chat/ChatMessage.tsx src/components/chat/SpriteOverlay.tsx\n- pnpm build:client\n- pnpm --filter @marinara-engine/server lint\n- pnpm --filter @marinara-engine/server exec tsx ../../scripts/regressions/professor-mari-documentation.regression.ts\n- real-corpus docs_search probe for OpenRouter provider routing\n- git diff --check\n\n## Manual verification\n\n- [ ] Manually verify a long Roleplay message editor scrolls with both sidebars open\n- [ ] Manually verify fullbody sprite changes continuously overlap\n- [ ] Manually verify Professor Mari cites a documentation path and heading before implementation fallback\n
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.