[PR #4543] [MERGED] Fix assigned Roleplay issues and add Mari docs lookup #6415

Closed
opened 2026-10-23 04:10:12 +07:00 by bsakaguchi · 0 comments
Owner

📋 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)

  • 07c1b6e Fix roleplay editing and sprite transitions
  • 38f3214 Add Professor Mari documentation tools
  • 1765e59 Bound Professor Mari documentation access
  • 1dc4a85 Harden 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

    • Added in-app documentation search and reading across the README and eligible documentation pages.
    • Documentation responses can include source references, excerpts, and targeted sections.
    • Added support for documentation commands across supported workspace interaction formats.
  • Bug Fixes

    • Improved chat editing with a capped, vertically scrollable text area.
    • Smoothed sprite transitions by synchronizing entering and exiting animations.
    • Made README documentation available in production deployments.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/4543 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/3/2026 **Status:** ✅ Merged **Merged:** 8/3/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/assigned-issue-sweep-august` --- ### 📝 Commits (4) - [`07c1b6e`](https://github.com/Pasta-Devs/Marinara-Engine/commit/07c1b6e18fac469755c4660c8f1df4de768560e5) Fix roleplay editing and sprite transitions - [`38f3214`](https://github.com/Pasta-Devs/Marinara-Engine/commit/38f32144388cfc76841f4707ffabbc7101032fe2) Add Professor Mari documentation tools - [`1765e59`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1765e592c94b478dbac0c2c46a90cb06a6845e1f) Bound Professor Mari documentation access - [`1dc4a85`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1dc4a85eb87fa18472b72b0104a9eb664a1f3c8f) Harden bounded documentation search ### 📊 Changes **8 files changed** (+645 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 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 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added in-app documentation search and reading across the README and eligible documentation pages. * Documentation responses can include source references, excerpts, and targeted sections. * Added support for documentation commands across supported workspace interaction formats. * **Bug Fixes** * Improved chat editing with a capped, vertically scrollable text area. * Smoothed sprite transitions by synchronizing entering and exiting animations. * Made README documentation available in production deployments. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:10:12 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#6415
No description provided.