mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8145] [Feature]: Attach a per-chat lorebook to each writing and tracking agent #7581
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#7581
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 @SpicyMarinara on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8145
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
A writing or tracking agent may need reference information from a particular lorebook without adding that lorebook to every agent's context or to the main reply. Users also need different attachments for the same agent in different chats.
Proposed solution
Add an optional lorebook attachment to every writing and tracking agent, configured in Chat Settings → Agents → the specific agent's menu.
Handle an empty lorebook library and a deleted or unavailable selected lorebook clearly. Keep the controls usable on mobile and consistent with the active theme; localize new UI text.
Alternatives considered
Attaching the lorebook to the whole chat does not provide the requested agent-specific scope. A global agent setting does not provide the requested per-chat configuration.
Existing custom-agent lorebook triggering may provide reusable plumbing, but it does not replace this requested per-chat control and coverage for every writing and tracking agent.
Additional context
Requested by and assigned to @SpicyMarinara. This issue records the feature request; implementation has not started.
This belongs in Marinara Engine because it concerns Chat Settings, per-chat persistence, lorebook activation and agent/group prompt orchestration. Reuse the existing lorebook scanner and agent-context mechanisms where appropriate.
Suggested verification for implementation:
Template check
@SpicyMarinara commented on GitHub (Oct 23, 2026):
@SpicyMarinara (Codex) is implementing the per-chat lorebook attachment flow in #8153. It covers official writing/tracking agents and custom agents, reusing existing trigger machinery and preserving agent/group context boundaries. The custom-agent creation notice portion of #8148 is separately owned by #8150. No contributor-covered issue work is being duplicated.