mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6335] [MERGED] fix: alias read path, prompt preview and chat controls #7140
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#7140
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/6335
Author: @SpicyMarinara
Created: 9/18/2026
Status: ✅ Merged
Merged: 9/18/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/sept18-evening-sweep📝 Commits (5)
c9c7771chore: start evening issue sweep319edf4fix: align package prompt previews and improve chat controls17618cfMerge staging with completed OpenCode session support064ef1etest: verify package wrap format through actual contributor calls74611d9Merge current staging ruleset setup changes📊 Changes
17 files changed (+627 additions, -137 deletions)
View changed files
📝
CHANGELOG.md(+5 -0)➕
e2e/evening-chat-controls.e2e.ts(+133 -0)📝
e2e/roleplay-vn.e2e.ts(+15 -0)📝
packages/client/src/components/chat/ChatMessage.tsx(+13 -6)📝
packages/client/src/components/chat/HomeProfessorMariChat.tsx(+8 -2)📝
packages/client/src/components/layout/ChatSidebar.tsx(+2 -2)📝
packages/client/src/components/modals/DocsViewerModal.tsx(+3 -43)➕
packages/client/src/hooks/use-code-block-copy.ts(+43 -0)📝
packages/client/src/localization/locales/en.json(+4 -0)📝
packages/server/src/routes/generate.routes.ts(+29 -62)📝
packages/server/src/routes/generate/dry-run-route.ts(+47 -10)📝
packages/server/src/routes/generate/generate-route-utils.ts(+30 -7)📝
packages/server/src/services/capability-packages/capability-prompt-context.service.ts(+4 -0)➕
packages/server/src/services/generation/capability-prompt-runtime.ts(+30 -0)📝
scripts/regressions/capability-package-chat-controls.regression.ts(+2 -5)➕
scripts/regressions/capability-prompt-preview.regression.ts(+217 -0)➕
scripts/regressions/character-name-aliases.regression.ts(+42 -0)📄 Description
Linked issue
Closes #6328
Closes #6331
Closes #6332
Closes #6333
Closes #6334
Why this change
Aliases were saved on character cards but unavailable through the server's name resolver. Peek Prompt omitted capability package context that real generation includes. Three existing chat controls also needed small usability fixes: full-size Visual Novel portraits, a readable schedule icon, and copying fenced code in Professor Mari.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdRecorded automated validation:
pnpm checkpassed on the implementation and again after integrating staging's OpenCode session merge.74611d967integrated it cleanly.pnpm checkand the prompt-preview and new ruleset-setup regressions passed on the combined tree; GitHub validation runs again on this revision to satisfy the up-to-date branch gate.pnpm regression:prompt, tracker-section regressions, and the new alias and capability-preview regressions passed. Preview proof captures real local provider requests in all three modes, checks preset placement, package deactivation, read-only message history and negative audience/chat controls.74611d967. Its one actionable recommendation asked to migrate alias-matching consumers, which #6328 explicitly excludes. The resolved review response records that scope decision; no consumer behavior change is claimed.04511dec3d; all five linked issues are closed.The latest hosted Node run passed 306/306 regressions on
74611d967, including the new staging ruleset regression. The earlier064ef1ef9run passed 305/305. The initial run's only failure was a source-text assertion looking for the old inline collector; that assertion now checks the actual contributor input in the passing preview/generation regression. Local CodeRabbit review of this two-file proof correction also completed with zero findings.The first browser pass encountered disk exhaustion and a shared fixture collision. Disposable dependency caches were removed; fixtures now have unique markers. One subsequent assertion compared moving sidebar rectangles across frames; it now measures both in a single frame. The final control run passes with all size/containment assertions intact.
Manual verification notes
Manually verify aliases with a consuming package, inspect Peek Prompt with your installed prompt-context package, open a Visual Novel portrait, and copy Mari code on a physical phone and Firefox. Browser screenshots were inspected; browser interaction proof is automated. Provider transport used a local fixture, with no paid provider calls. Package contributions retain their existing timeout/failure behavior, matching generation.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedAdded five Unreleased entries and shared English copy-control labels. Existing guides remain accurate; no user-facing documentation, dependencies, storage or release versions changed.
UI evidence (if applicable)
Before/after screenshots and regression logs. Download
marinara-6335-ui-proof.htmlto view the embedded original screenshots.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.