mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #5198] [MERGED] Fix Roleplay summary fallback and Tracker lorebook context #6670
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#6670
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/5198
Author: @SpicyMarinara
Created: 8/17/2026
Status: ✅ Merged
Merged: 8/17/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/5196-5197-roleplay-context📝 Commits (7)
f9f8015fix(roleplay): preserve summary and gate tracker lorebooksfc8e043fix(localization): sort tracker lorebook labelsec59cc5fix(agents): normalize retry chat mode type0461f2arefactor(agents): reuse tracker batch context key0b5a92ffix(agents): withhold semantic lorebook context2b534cdfix(agents): tolerate legacy vector context26648d9fix(agents): isolate automatic batch contexts📊 Changes
11 files changed (+309 additions, -30 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
packages/client/src/components/chat/ChatSettingsDrawer.tsx(+26 -12)📝
packages/client/src/localization/locales/en.json(+2 -0)📝
packages/server/src/routes/generate.routes.ts(+37 -5)📝
packages/server/src/routes/generate/retry-agents-route.ts(+22 -3)📝
packages/server/src/services/agents/agent-pipeline.ts(+7 -8)➕
packages/server/src/services/generation/tracker-agent-context.ts(+41 -0)📝
packages/server/src/services/prompt/assembler.ts(+1 -1)📝
packages/server/src/services/prompt/index.ts(+1 -0)📝
packages/shared/src/types/chat.ts(+2 -0)📝
scripts/regressions/prompt.regression.ts(+168 -1)📄 Description
Linked issue
Closes #5196
Closes #5197
Why this change
What changed
Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm checkpasses locally: Impeccable context guard, localization, Prettier, ESLint/TypeScript, server build, and client production build.pnpm regression:promptpasses, including preset-less summary placement, Tracker lorebook opt-in/off behavior, Author Notes preservation, retry routing, and conditional UI wiring.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Not captured because the in-app browser surface was unavailable.
Summary by CodeRabbit
New Features
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.