mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6007] [MERGED] Fix assigned chat issues and Narrative Director prompt duplication #7024
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#7024
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/6007
Author: @SpicyMarinara
Created: 9/9/2026
Status: ✅ Merged
Merged: 9/9/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/6006-assigned-issue-sweep📝 Commits (4)
c5e36c1docs(changelog): start assigned issue sweep26bc5affeat(chat): finish assigned reply, display, DM, and local backend fixese896e38test(chat): handle context probes and preserve responsive reply proofc47179cFix Director nudges and sweep review edge cases📊 Changes
34 files changed (+1237 additions, -181 deletions)
View changed files
📝
CHANGELOG.md(+10 -0)➕
e2e/assigned-chat-sweep.e2e.ts(+230 -0)📝
e2e/game-native-dice.e2e.ts(+5 -0)📝
e2e/roleplay-commands.e2e.ts(+25 -0)📝
packages/client/src/App.tsx(+2 -0)📝
packages/client/src/components/chat/ChatInput.tsx(+28 -2)📝
packages/client/src/components/chat/ChatMessage.tsx(+76 -62)📝
packages/client/src/components/chat/ConversationInput.tsx(+34 -7)📝
packages/client/src/components/chat/ConversationMessage.tsx(+5 -0)📝
packages/client/src/components/chat/ConversationMessageActions.tsx(+10 -16)📝
packages/client/src/components/chat/ConversationMessageGrouped.tsx(+3 -0)➕
packages/client/src/components/chat/MessageReplyPreview.tsx(+77 -0)📝
packages/client/src/components/panels/SettingsPanel.tsx(+6 -3)📝
packages/client/src/hooks/use-connections.ts(+19 -0)📝
packages/client/src/hooks/use-generate.ts(+2 -0)📝
packages/client/src/localization/locales/en.json(+7 -0)📝
packages/client/src/stores/chat.store.ts(+12 -0)📝
packages/client/src/stores/ui.store.ts(+1 -1)📝
packages/server/src/routes/connections.routes.ts(+21 -0)📝
packages/server/src/routes/generate.routes.ts(+64 -34)...and 14 more files
📄 Description
Linked issue
Closes #6006
Closes #6005
Closes #6003
Closes #6002
Closes #6000
Closes #5994
Closes #5902
Closes #6008
Memory Nag #5999 and Pixelforge #5903 are handled in their owning repository by Pasta-Devs/Marinara-Agents#776.
Why this change
This assigned-issue sweep fixes chat controls and state that made ordinary conversations harder to follow: widely spaced desktop buttons, insufficient large-display text sizes, missing reply quotes, unmarked Roleplay DMs, and display regexes that appeared only after streaming finished. It also refreshes local runtime context limits on reload, retains actionable Game turns with no prose, and fixes an extra Narrative Director planning prompt reported during the sweep.
What changed
Outside-contributor work intentionally excluded: #5963 / #5965; #5868 and #5869 / #5872; #5836 / #5837; #5833 / #5835; #5856 / #5771. Translation follow-ups #5968 and #5834 already have translations merged in #5993 and remain pending their outside English-source PRs. #5779 remains an active contributor notice. #6009 and #6010 were filed after this sweep began and remain queued for a later pass; they are not claimed by this PR.
Validation
Observed local results:
pnpm check,pnpm localization:check, andpnpm regression:prompt— passed.assigned-chat-sweep.regression.ts— passed against real Fastify routes, isolated file storage, and local mock providers: quote persistence and latest-only prompt inclusion in both modes; continuation; malformed/oversized quote rejection; local capacity refresh, unsupported/offline preservation, concurrent settings; new/reused/linked DM unread counters, clearing, and preservation after badge-write failures; bounded probes, same-timestamp concurrent saves, and cross-origin redirect refusal. A synthetic Director fixture reproduces two requests before the fix, then proves one nudge/request with Secret Plot off, fresh/regen cache handling, both push modes and group settings, Secret Plot maintenance when enabled, and stored-arc preservation when disabled.open-issuesfile now passes. The other two failures (mari-guard-sibling-paths,storage-writer-lock) reproduce unchanged on staging commit712621d43on this Mac. The complete Linux Node suite passed in CI.pnpm smoke:ui e2e/assigned-chat-sweep.e2e.ts e2e/roleplay-commands.e2e.ts e2e/game-native-dice.e2e.ts --workers 1: 43 passed, with the two 4K-on-mobile cases intentionally skipped.pnpm smoke:ui e2e/core-flows.e2e.ts --grep 'message actions (follow|fit)' --workers 1— 9 passed across all three browser projects.c47179cbe, the affected browser command again passed 43 tests (2 intentional skips), including both keyboard layouts and selection-anchor cases. The full browser matrix runs in CI. A local parallel smoke run exposed shared-setting resets between pre-existing tests, so affected local checks are run serially.git diff --check— passed.The checkboxes below remain human verification tasks.
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
Unreleased changelog and canonical English UI strings are updated. No Engine docs paths, installer/update behavior, or version-bearing metadata changed; no docs-i18n follow-up is required.
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedUI evidence (if applicable)
Before/after screenshots and provenance. Synthetic fixtures compare untouched staging
712621d43with this branch; desktop, mobile, and maximum-size captures are included.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.