mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1799] [Issue]: Runtime generation parity gaps for persona snapshots, availability, and group turns #880
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#880
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/1799
Originally assigned to: @Xelvanis on GitHub.
Summary
A parity check of
src/features/runtime/generationagainst the legacy generation flow found three user-visible gaps.Gaps
User persona snapshots are not saved
Current:
src/features/runtime/generation/hooks/use-generate.tsbuilds optimistic user messages withoutextra.personaSnapshot.src/engine/generation/start-generation.tssaves user message extra with attachments, mentions, and generation replay only.Legacy:
packages/client/src/hooks/use-generate.tsaddedpersonaSnapshotfor optimistic messages.packages/server/src/routes/generate.routes.tspersisted a snapshot after save.Impact:
personaSnapshotinsrc/features/modes/shared/chat-ui/components/ChatMessage.tsxand grouping checks insrc/features/modes/shared/chat-ui/hooks/use-chat-timeline-actions.ts.Conversation availability and delay events are not wired
Current:
src/engine/generation/generation-events.tshas notyping,delayed, orofflineevents.src/features/runtime/generation/hooks/use-generate.tshas no cases for those events.src/features/modes/conversation/components/ConversationInput.tsxcallsgenerate(...)without the legacy schedule gate.Legacy:
packages/server/src/routes/generate.routes.tsskipped generation when all targets were offline, emitteddelayed, waited, reloaded messages, then emittedtyping.packages/client/src/hooks/use-generate.tsupdated delayed/typing/offline UI state.Impact:
src/features/modes/conversation/components/ConversationView.tsxis not reachable from generation events.Individual group turn loop appears reduced to one target
Current:
src/engine/generation/start-generation.tsresolves one group target for generation.src/engine/generation/generation-events.tshas nogroup_turnevent.Legacy:
packages/server/src/routes/generate.routes.tsgenerated one response per selected character in individual group mode and emittedgroup_turn.packages/client/src/hooks/use-generate.tsflushed per-character stream state and switched the visible streaming character ongroup_turn.Impact:
Suggested acceptance criteria
offline,delayed, andtypingbehavior; dead delayed UI is removed if intentionally replaced.group_turn.Verification
Static code inspection only. No app run.