mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5398] [MERGED] feat: add lorebook backfill and summary bulk actions #6753
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#6753
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/5398
Author: @SpicyMarinara
Created: 8/22/2026
Status: ✅ Merged
Merged: 8/22/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/issue-sweep-5391-5394📝 Commits (5)
20173dcchore: start issue sweep 5391 53945c7c809feat: add lorebook backfill and summary bulk actionsa0089cffix: harden issue sweep edge cases520b805fix: serialize summary and backfill effectsdb719adfix: gate backfill cursor on persistence📊 Changes
19 files changed (+1115 additions, -233 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
packages/client/src/components/agents/AgentEditor.tsx(+79 -5)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+101 -0)📝
packages/client/src/components/chat/SummaryPopover.tsx(+79 -14)📝
packages/client/src/hooks/use-chats.ts(+4 -3)📝
packages/client/src/hooks/use-generate.ts(+14 -1)📝
packages/client/src/localization/locales/en.json(+16 -0)📝
packages/server/src/db/seed-mari.ts(+4 -4)📝
packages/server/src/routes/chats.routes.ts(+91 -113)📝
packages/server/src/routes/generate.routes.ts(+78 -71)📝
packages/server/src/routes/generate/lorebook-keeper-utils.ts(+84 -10)📝
packages/server/src/routes/generate/retry-agents-route.ts(+123 -5)📝
packages/server/src/services/conversation/character-commands.ts(+24 -2)📝
packages/server/src/services/generation/professor-mari-command-runtime.ts(+95 -1)📝
packages/server/src/services/generation/tool-resolution-runtime.ts(+13 -1)📝
packages/server/src/services/storage/chats.storage.ts(+4 -3)📝
packages/shared/src/utils/chat-summary-entries.ts(+18 -0)➕
scripts/regressions/issue-sweep-5391-5394.regression.ts(+218 -0)📝
scripts/regressions/manual-agent-retry-resolution.regression.ts(+68 -0)📄 Description
Linked issue
Closes #5391
Closes #5394
Why this change
Users need a supported path for nested lorebook organization and bounded custom-agent history backfills. Summariser users also need to clear selected entries safely before rebuilding summaries.
What changed
Validation
Local evidence
Docs and release impact
UI evidence (if applicable)
Manual verification remains listed above.
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.