mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1544] [Issue]: Lorebook additional matching sources are not used during prompt activation #787
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#787
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 (May 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1544
Originally assigned to: @Xelvanis on GitHub.
Found during the 2026-05-29 native Tauri Lorebooks QA pass on
origin/refactorcommitf120eb33.Proof method: seeded disposable lorebook/chat records through the app's Tauri storage API, then ran the app's own prompt-preview assembly from the native WebView. The same pass included positive controls for selected, global, character-scoped, persona-scoped, and roleplay-trigger-filtered entries.
What happened
Lorebook entries with
additionalMatchingSourcessaved correctly, but prompt assembly did not use those sources during activation.Repro
LQA_CHAR_SOURCE_KEY.keys: ["LQA_CHAR_SOURCE_KEY"]additionalMatchingSources: ["character_description"]LQA_ADDITIONAL_SOURCE_CONTENT_SHOULD_APPEARExpected
The entry should activate because the selected additional matching source contains the key.
Actual
The entry did not activate. The character description containing the key was present in the assembled prompt, but the lorebook content marker was absent.
Likely owner
scanForActivatedEntries(...)supportsadditionalMatchingSourceText, butloadActivatedLore(...)insrc/engine/generation/prompt-assembly.tscalls it without passing character/persona source text.Likely affected sources include character name/description/personality/scenario/tags and persona description/tags.
Acceptance criteria