mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6067] [MERGED] feat(chat): reassign historical persona attribution #7047
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#7047
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/6067
Author: @Promansis
Created: 9/12/2026
Status: ✅ Merged
Merged: 9/12/2026
Merged by: @Promansis
Base:
staging← Head:feature(chat)/6043-reassign-historical-persona📝 Commits (10+)
ec68b29feat(chat): reassign historical persona attribution0d92884fix(chat): harden historical persona reassignment #60438427e3bMerge remote-tracking branch 'upstream/staging' into feature(chat)/6043-reassign-historical-persona8ee1feafix(storage): serialize swipe extra patches #6043be66986fix(storage): serialize persona reassignment batch #604350a44bcfix(storage): build persona backups from in-queue reads #6043cb8ec43Merge branch 'staging' into feature(chat)/6043-reassign-historical-persona8cf1351fix(storage): recheck persona scope in batch #6043f9088c2Merge remote-tracking branch 'upstream/staging' into feature(chat)/6043-reassign-historical-persona5e7d0cdMerge remote-tracking branch 'origin/feature(chat)/6043-reassign-historical-persona' into feature(chat)/6043-reassign-historical-persona📊 Changes
11 files changed (+554 additions, -14 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+14 -0)📝
packages/client/src/features/chat-settings/PickerDropdown.tsx(+14 -8)➕
packages/client/src/features/chat-settings/sections/PersonaHistoryReassignDropdown.tsx(+160 -0)📝
packages/client/src/hooks/use-chats.ts(+30 -0)📝
packages/client/src/localization/locales/en.json(+12 -0)📝
packages/server/src/routes/chats.routes.ts(+50 -0)📝
packages/server/src/services/storage/chats.storage.ts(+222 -6)📝
packages/shared/src/schemas/chat.schema.ts(+17 -0)📝
packages/shared/src/types/chat.ts(+14 -0)📝
scripts/regressions/prompt.regression.ts(+20 -0)📄 Description
Linked issue
Closes #6043
Why this change
Changing the active persona currently leaves earlier user messages attributed to their historical identity. This adds an inline Chat Settings action to correct that attribution without rewriting message text or existing AI replies.
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated validation
pnpm checkpassed on final merged HEAD5e7d0cd0cfb552a64649d12f1c69e8d85e2bdc5e.pnpm regression:promptpassed all three suites on the same HEAD.extension-security.regression.tsreportsparentSignalBlocked: false, andmari/db-execution-security.regression.tsreportsEACCESwhile probing denied.envaccess. This branch does not change either area; hosted PR checks remain authoritative.09fa3eb77d1ebedd2cf0b871caf38970d0ed1c47, digest14f040fe93bf05231a4b37b2fcc747acec7e7bdc65d1d16a39d17adb02ee2d20, and no missing required inputs.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (seeCONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.