mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1789] [Issue]: Conversation mode lost legacy prompt context and linked-chat parity #872
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#872
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?
Originally created by @Xelvanis on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1789
Originally assigned to: @cha1latte on GitHub.
Summary
Conversation mode still exposes settings for cross-chat awareness, connected roleplay/game context, autonomous schedules, and hidden character commands, but the refactor generation path no longer assembles several legacy prompt-context blocks that made those settings work.
The largest gaps are:
Expected behavior
Conversation mode should preserve the legacy user outcomes:
Actual behavior
Static comparison shows the refactor surfaces or parsers remain, but prompt assembly does not restore the runtime context:
src/features/runtime/generation/hooks/use-generate.ts:1415passesuserTimeZone, but notuserStatusoruserActivity, intostartGeneration.src/features/modes/shared/chat-ui/components/ChatSettingsDrawer.tsx:3497still exposes Cross-Chat Awareness and says characters know what happens in other chats.src/engine/generation/prompt-assembly.ts:1211only usescrossChatAwarenessto include/exclude stored summary fields; there is no sibling-chat awareness service equivalent to legacy.src/features/modes/shared/chat-ui/components/ChatSettingsDrawer.tsx:3541says connected roleplay/game messages are pulled into conversation context.src/engine/generation/prompt-assembly.ts:1411only injects notes from connected conversations into roleplay/game paths, not linked roleplay/game context into conversation paths.src/features/modes/shared/chat-ui/components/ChatSettingsDrawer.tsx:3336exposes Commands andsrc/engine/modes/chat/commands/character-commands.ts:8parses the tags, butsrc/engine/generation/prompt-assembly.ts:1138has only a generic conversation fallback prompt.Legacy evidence:
packages/server/src/routes/generate.routes.ts:3320built status/activity, schedule, time, proactive-turn, and mention context for conversation.packages/server/src/routes/generate.routes.ts:3364injected a cross-chat awareness block frompackages/server/src/services/conversation/awareness.service.ts:160.packages/server/src/routes/generate.routes.ts:3385injected<connected_roleplay>/<connected_game>blocks into conversation turns.packages/server/src/routes/generate.routes.ts:3069built a gated command-instruction block for schedule updates, cross-posting, selfies, memory, and scene creation.Steps to reproduce
Impact area
Environment
Logs, screenshots, or video
No runtime logs or screenshots. Evidence is from current refactor and legacy source paths listed above.
Regression notes
Legacy implementation had server route code for the missing prompt-context blocks. Refactor has preserved several UI controls and parsers, so these look like unintentional parity regressions rather than deliberate product removals.
Additional context
Suggested repair order:
src/engine/modes/chatservice using the existing storage gateway boundary.Server-side autonomous scheduling from legacy (
packages/server/src/services/conversation/server-autonomous-scheduler.service.ts) is also worth a product decision: refactor currently relies on client/AppShell polling, which may be intentional for desktop-only behavior but is not equivalent for offline or hostable runtime behavior.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (Jun 1, 2026):
Fixed in #1822