[PR #4697] [MERGED] fix: address assigned issues #4691–#4696 #6472

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/4697
Author: @SpicyMarinara
Created: 8/6/2026
Status: ✅ Merged
Merged: 8/6/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/assigned-issue-sweep-4691-4696


📝 Commits (4)

  • 4c6de10 chore: start assigned issue sweep
  • a269c70 fix: address assigned issue sweep
  • 695019d fix: apply CodeRabbit review feedback
  • 6e704db chore: retrigger PR validation

📊 Changes

25 files changed (+418 additions, -93 deletions)

View changed files

📝 CHANGELOG.md (+6 -0)
📝 e2e/core-flows.e2e.ts (+1 -1)
📝 package.json (+2 -1)
📝 packages/client/src/App.tsx (+9 -14)
📝 packages/client/src/components/characters/CharacterEditor.tsx (+27 -8)
📝 packages/client/src/components/chat/ChatGallery.tsx (+4 -4)
📝 packages/client/src/components/chat/EchoChamberPanel.tsx (+5 -2)
📝 packages/client/src/components/personas/PersonaEditor.tsx (+17 -6)
📝 packages/client/src/lib/generation-stream-policy.ts (+7 -2)
📝 packages/client/src/localization/locales/en.json (+1 -0)
📝 packages/client/src/styles/globals.css (+9 -5)
📝 packages/server/src/routes/generate.routes.ts (+38 -6)
📝 packages/server/src/routes/generate/retry-agents-route.ts (+45 -5)
📝 packages/server/src/services/generation/media-connection-fallback.ts (+5 -1)
📝 packages/server/src/services/image/illustrator-references.ts (+15 -0)
📝 packages/server/src/services/image/image-generation.ts (+23 -1)
📝 packages/server/src/services/mari-db/mari-db.service.ts (+1 -1)
📝 packages/server/src/services/professor-mari/fandom-mediawiki/fandom-url.ts (+28 -14)
📝 packages/server/src/services/professor-mari/fandom-mediawiki/wiki-cli.ts (+4 -3)
📝 packages/server/src/services/professor-mari/workspace-agent.service.ts (+1 -1)

...and 5 more files

📄 Description

Why

This sweep fixes every open Marinara Engine issue currently assigned to @SpicyMarinara. Each change stays close to the failing path so provider behavior, Android sandboxing, Roleplay presentation, and Gallery UX improve without broad new abstractions.

Closes #4691
Closes #4692
Closes #4693
Closes #4694
Closes #4695
Closes #4696

What changed

  • Let Professor Mari read trusted *.wikipedia.org URLs through the structured MediaWiki client on Android while raw shell networking remains denied.
  • Preserve NovelAI's compiled explicit negative prompt without appending Illustrator's generic anti-text list.
  • Convert NovelAI style-reference fidelity to the provider's inverse secondary-strength value.
  • Cap delayed-frame typewriter catch-up and avoid competing Echo Chamber smooth scrolling during the main Roleplay stream.
  • Fit Character and Persona Gallery actions at mobile widths, expose delete in expanded views, and use the configured accent for Chat Gallery delete actions.
  • Stop animated accent ticks from launching app-wide color transitions or periodically forcing custom-cursor style resolution; defer offscreen Gallery card rendering and image decoding.
  • Refresh stale regression assertions that no longer matched staging's current Summary Prompt, sidebar action, and Roleplay layout contracts.

Validation

  • pnpm check
  • pnpm version:check
  • pnpm regression:issues
  • pnpm regression:prompt
  • pnpm regression:providers
  • pnpm regression:roleplay
  • pnpm regression:professor-mari-wiki
  • Live structured read of https://en.wikipedia.org/wiki/Artificial_intelligence
  • Full Playwright smoke matrix completed with 199 passes and 99 expected project skips; two unrelated one-off failures passed immediately in isolation, and the subpixel-height assertion was hardened before its final isolated pass.

Manual verification

  • Manually verify trusted Wikipedia access through an Android/Termux installation.
  • Manually compare NovelAI negative-prompt and style-reference payloads with expected provider semantics.
  • Manually compare Roleplay typewriter cadence with and without a parallel agent.
  • Manually verify Character/Persona and Chat Gallery deletion on small mobile and desktop viewports.
  • Manually profile a long Firefox session with animated accents and a large Gallery.

Summary by CodeRabbit

  • New Features

    • Added Wikipedia support to Professor Mari wiki searches, page retrieval, and site information.
    • Added image deletion from character and persona gallery lightboxes.
  • Bug Fixes

    • Improved NovelAI negative-prompt handling and style-reference conversion.
    • Smoothed streaming text rendering and Echo Chamber auto-scrolling.
    • Improved mobile gallery layouts, image loading, and deletion error handling.
  • Performance

    • Reduced cursor and animation overhead.
    • Improved offscreen gallery rendering performance.
  • Documentation

    • Updated wiki command help to include Wikipedia support.

🔄 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/4697 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/6/2026 **Status:** ✅ Merged **Merged:** 8/6/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/assigned-issue-sweep-4691-4696` --- ### 📝 Commits (4) - [`4c6de10`](https://github.com/Pasta-Devs/Marinara-Engine/commit/4c6de10fe47ecb55a74b7acc0153c1e9eb79ed8d) chore: start assigned issue sweep - [`a269c70`](https://github.com/Pasta-Devs/Marinara-Engine/commit/a269c7011fdb3486c645767ea4e8030dde6705cc) fix: address assigned issue sweep - [`695019d`](https://github.com/Pasta-Devs/Marinara-Engine/commit/695019d4cb40a46d8cd91ed9030b11bb5ba0e973) fix: apply CodeRabbit review feedback - [`6e704db`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6e704dbf477c77dbe0f960968ad2eaec6843be23) chore: retrigger PR validation ### 📊 Changes **25 files changed** (+418 additions, -93 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+6 -0) 📝 `e2e/core-flows.e2e.ts` (+1 -1) 📝 `package.json` (+2 -1) 📝 `packages/client/src/App.tsx` (+9 -14) 📝 `packages/client/src/components/characters/CharacterEditor.tsx` (+27 -8) 📝 `packages/client/src/components/chat/ChatGallery.tsx` (+4 -4) 📝 `packages/client/src/components/chat/EchoChamberPanel.tsx` (+5 -2) 📝 `packages/client/src/components/personas/PersonaEditor.tsx` (+17 -6) 📝 `packages/client/src/lib/generation-stream-policy.ts` (+7 -2) 📝 `packages/client/src/localization/locales/en.json` (+1 -0) 📝 `packages/client/src/styles/globals.css` (+9 -5) 📝 `packages/server/src/routes/generate.routes.ts` (+38 -6) 📝 `packages/server/src/routes/generate/retry-agents-route.ts` (+45 -5) 📝 `packages/server/src/services/generation/media-connection-fallback.ts` (+5 -1) 📝 `packages/server/src/services/image/illustrator-references.ts` (+15 -0) 📝 `packages/server/src/services/image/image-generation.ts` (+23 -1) 📝 `packages/server/src/services/mari-db/mari-db.service.ts` (+1 -1) 📝 `packages/server/src/services/professor-mari/fandom-mediawiki/fandom-url.ts` (+28 -14) 📝 `packages/server/src/services/professor-mari/fandom-mediawiki/wiki-cli.ts` (+4 -3) 📝 `packages/server/src/services/professor-mari/workspace-agent.service.ts` (+1 -1) _...and 5 more files_ </details> ### 📄 Description ## Why This sweep fixes every open Marinara Engine issue currently assigned to @SpicyMarinara. Each change stays close to the failing path so provider behavior, Android sandboxing, Roleplay presentation, and Gallery UX improve without broad new abstractions. Closes #4691 Closes #4692 Closes #4693 Closes #4694 Closes #4695 Closes #4696 ## What changed - Let Professor Mari read trusted `*.wikipedia.org` URLs through the structured MediaWiki client on Android while raw shell networking remains denied. - Preserve NovelAI's compiled explicit negative prompt without appending Illustrator's generic anti-text list. - Convert NovelAI style-reference fidelity to the provider's inverse secondary-strength value. - Cap delayed-frame typewriter catch-up and avoid competing Echo Chamber smooth scrolling during the main Roleplay stream. - Fit Character and Persona Gallery actions at mobile widths, expose delete in expanded views, and use the configured accent for Chat Gallery delete actions. - Stop animated accent ticks from launching app-wide color transitions or periodically forcing custom-cursor style resolution; defer offscreen Gallery card rendering and image decoding. - Refresh stale regression assertions that no longer matched staging's current Summary Prompt, sidebar action, and Roleplay layout contracts. ## Validation - `pnpm check` - `pnpm version:check` - `pnpm regression:issues` - `pnpm regression:prompt` - `pnpm regression:providers` - `pnpm regression:roleplay` - `pnpm regression:professor-mari-wiki` - Live structured read of `https://en.wikipedia.org/wiki/Artificial_intelligence` - Full Playwright smoke matrix completed with 199 passes and 99 expected project skips; two unrelated one-off failures passed immediately in isolation, and the subpixel-height assertion was hardened before its final isolated pass. ## Manual verification - [ ] Manually verify trusted Wikipedia access through an Android/Termux installation. - [ ] Manually compare NovelAI negative-prompt and style-reference payloads with expected provider semantics. - [ ] Manually compare Roleplay typewriter cadence with and without a parallel agent. - [ ] Manually verify Character/Persona and Chat Gallery deletion on small mobile and desktop viewports. - [ ] Manually profile a long Firefox session with animated accents and a large Gallery. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added Wikipedia support to Professor Mari wiki searches, page retrieval, and site information. - Added image deletion from character and persona gallery lightboxes. - **Bug Fixes** - Improved NovelAI negative-prompt handling and style-reference conversion. - Smoothed streaming text rendering and Echo Chamber auto-scrolling. - Improved mobile gallery layouts, image loading, and deletion error handling. - **Performance** - Reduced cursor and animation overhead. - Improved offscreen gallery rendering performance. - **Documentation** - Updated wiki command help to include Wikipedia support. <!-- 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:45 +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#6472
No description provided.