mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8354] [MERGED] feat(lorebooks): check keywords across other lorebooks #8314
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#8314
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/8354
Author: @SpicyMarinara
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/8351-cross-lorebook-keyword-test📝 Commits (4)
910ccbechore: start cross-lorebook keyword test work for #83511de1946feat(lorebooks): compare keyword matches across other lorebooks45e3b23fix(lorebooks): retain combined entry data between renders63cabe4Merge remote-tracking branch 'origin/staging' into feat/8351-cross-lorebook-keyword-test📊 Changes
4 files changed (+465 additions, -41 deletions)
View changed files
➕
e2e/lorebook-cross-keyword-test.e2e.ts(+287 -0)📝
packages/client/src/components/lorebooks/LorebookEditor.tsx(+147 -25)📝
packages/client/src/hooks/use-lorebooks.ts(+19 -16)📝
packages/client/src/localization/locales/en.json(+12 -0)📄 Description
Linked issue
Closes #8351
Why this change
Authors must currently test lorebooks individually to find repeated activation keywords. Keyword Test should show matching entries from other lorebooks and identify where each entry came from.
What changed
Validation
pnpm checkpassed at45e3b2382and the combined staging head63cabe44b, including localization, formatting, lint/types and production build. One existing Professor Mari hook warning remains.45e3b2382; all four feature files are byte-identical after the clean staging integration at63cabe44b.63cabe44b: 7/7 browser smoke and 3/3 compiled startup passed, with no failures or flaky results.Proof and limits
The implementation reuses existing loading hooks and matcher helpers; it changes no server, storage, provider or prompt behavior. Cross-lorebook results are an authoring preview and do not change which entries chats use. The full current-book scanner remains separate. Browser checks use synthetic data and device emulation; physical-device verification remains manual.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.