mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6031] [MERGED] Fix Roleplay documents, Visual Novel layout, and Illustrator cadence #7034
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#7034
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/6031
Author: @SpicyMarinara
Created: 9/10/2026
Status: ✅ Merged
Merged: 9/10/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/roleplay-document-styles-20260910📝 Commits (4)
e4cbf25Track built-in Roleplay document stylingf8268d2Style Roleplay documents and preserve extra Illustrator requestse31005bAlign Illustrator regression with additive commands7eb98a5Apply document stylesheet review formatting📊 Changes
14 files changed (+474 additions, -123 deletions)
View changed files
📝
CHANGELOG.md(+4 -1)📝
e2e/roleplay-commands.e2e.ts(+172 -6)📝
e2e/roleplay-vn.e2e.ts(+14 -2)📝
packages/client/src/components/chat/ChatMessage.tsx(+12 -8)📝
packages/client/src/components/chat/ChatRoleplaySurface.tsx(+4 -10)📝
packages/client/src/components/chat/RoleplayCommandResults.tsx(+94 -82)➕
packages/client/src/components/chat/RoleplayDocument.tsx(+37 -0)📝
packages/client/src/localization/locales/en.json(+9 -2)➕
packages/client/src/styles/roleplay-documents.css(+117 -0)📝
packages/server/src/routes/generate.routes.ts(+4 -5)📝
packages/server/src/services/agents/agent-pipeline.ts(+1 -4)📝
packages/server/src/services/generation/roleplay-commands.ts(+1 -1)📝
scripts/regressions/assigned-chat-sweep.regression.ts(+2 -2)📝
scripts/regressions/roleplay-commands.regression.ts(+3 -0)📄 Description
Linked issue
Closes #6030
Closes #6032
Closes #6020
Why this change
Roleplay documents only showed plain attached text inside a command notice, despite offering document kinds. The Visual Novel history footer still enclosed its collapse arrow and its empty-scene instruction ignored chat chroma. Illustrator's command path could suppress scheduled output, while the general agent cadence gate could remove Illustrator before an off-interval character request.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated evidence
pnpm checkpassed, including localization, TypeScript, ESLint, formatting, and app build. The existing ChatArea translation-effect dependency warning remains; no new lint errors.pnpm smoke:ui e2e/roleplay-commands.e2e.ts e2e/roleplay-vn.e2e.ts: 51 passed across desktop Chromium, mobile Chromium, and mobile WebKit.pnpm regression:promptpassed. Roleplay commands, Illustrator manual cadence, Roleplay swipe media, VN paragraph, assigned-chat sweep, and agent runtime Node regressions passed.e31005b7b; the subsequent7eb98a5d0commit only adjusts CSS whitespace, keyword casing, and optional font-family quoting, and passes Prettier.Claim boundaries
Documents were checked through current command activity and legacy saved documents, including unknown kinds, literal HTML, long unbroken text, edits/deletions after reload, private-state isolation, swipes, and branches. The generated document stays editable and its original command remains available in the disclosure. No new storage schema or model-authored HTML/CSS rendering was added.
A deterministic local image provider verified automatic interval 3, off-interval character requests, both automatic and requested images on one turn, persistence of both attachments when the automatic image finishes last, and interval 0 manual-only behavior. Agent package definitions were unchanged; these are Engine rendering and orchestration fixes.
Manual verification notes
Physical phones, Android WebView, and live paid image providers remain for maintainer verification. Browser mobile evidence uses emulation. Long documents use the existing transcript or VN paragraph scrollbar.
Docs and release impact
UI evidence
Before/after screenshots and all six document templates, captured from isolated synthetic chats.
Summary by CodeRabbit
New Features
Improvements
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.