mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1958] [Issue]: Schedule update stores character status outside card extensions #961
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#961
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 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1958
Originally assigned to: @cha1latte on GitHub.
Summary
The connected
[schedule_update]command writesconversationStatusandconversationActivityat the top level of the character storage row. Current conversation UI reads those values fromdata.extensions, so schedule/status updates can be persisted but not displayed.Expected behavior
A schedule update for a character should update
data.extensions.conversationStatusanddata.extensions.conversationActivity, preserve the rest ofdata.extensions, and avoid stray root-level status fields.Actual behavior
src/engine/generation/connected-commands.tsupdatescharacterswith{ conversationStatus, conversationActivity }.src/features/modes/shared/chat-ui/hooks/use-chat-surface-data.tsandsrc/app/shell/ChatSidebar.tsxreadconversationStatusandconversationActivityfromdata.extensions.Steps to reproduce
schedule_updateconnected-command handler withcharacterId,status, andactivity.Impact area
Environment
refactorat7801a73aLogs, screenshots, or video
No runtime log captured. Static evidence is the write/read contract mismatch across
connected-commands.ts,use-chat-surface-data.ts, andChatSidebar.tsx.Regression notes
Legacy
packages/server/src/routes/conversation.routes.tsmerged these values intocharData.extensionsbefore saving. Legacy chat UI read the same values fromparsed.extensions.Additional context
Found during target 5 Characters parityscan for #1904.
Suggested fix: read the current character data, merge
conversationStatusandconversationActivityintodata.extensions, and call the character update path with the updateddataobject. Add focused proof that unrelated extension fields survive and root-level status fields are not written.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 2, 2026):
fixed in #1969