[GH-ISSUE #5197] [Feature]: Add per-chat lorebook context control for Roleplay Trackers #2874

Closed
opened 2026-10-21 05:57:24 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Aug 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5197

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

Post-processing Tracker agents already receive Author Notes and currently receive lorebook entries activated for the main generation unconditionally. Users need explicit control over whether those same activated lorebook entries are attached to Tracker prompts.

The Tracker scheduling controls also remain visible when no Tracker agent is attached, which creates irrelevant settings.

Proposed solution

In Roleplay Chat Settings > Agents:

  • Show Manual Trackers, a new Attach Lorebooks to Trackers toggle, and Individual tracker schedule only when at least one active Tracker agent is attached.
  • Keep Attach Lorebooks to Trackers off by default.
  • When enabled, attach the exact lorebook entries recorded as activated for the main generation to every automatic or manually retriggered Tracker prompt.
  • When disabled, omit those activated entries from Tracker prompts only. Preserve current context behavior for every non-Tracker agent and continue attaching Author Notes to Trackers.

Alternatives considered

A global agent setting was considered, but this is chat-specific context policy and belongs alongside the existing per-chat Tracker controls.

Additional context

The automatic agent pipeline batches compatible agents, so Tracker and non-Tracker prompts must not accidentally share the gated context. Manual Tracker retries should use the lorebook activation snapshot stored on the target assistant message.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 17, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5197 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? Post-processing Tracker agents already receive Author Notes and currently receive lorebook entries activated for the main generation unconditionally. Users need explicit control over whether those same activated lorebook entries are attached to Tracker prompts. The Tracker scheduling controls also remain visible when no Tracker agent is attached, which creates irrelevant settings. ## Proposed solution In Roleplay Chat Settings > Agents: - Show Manual Trackers, a new Attach Lorebooks to Trackers toggle, and Individual tracker schedule only when at least one active Tracker agent is attached. - Keep Attach Lorebooks to Trackers off by default. - When enabled, attach the exact lorebook entries recorded as activated for the main generation to every automatic or manually retriggered Tracker prompt. - When disabled, omit those activated entries from Tracker prompts only. Preserve current context behavior for every non-Tracker agent and continue attaching Author Notes to Trackers. ## Alternatives considered A global agent setting was considered, but this is chat-specific context policy and belongs alongside the existing per-chat Tracker controls. ## Additional context The automatic agent pipeline batches compatible agents, so Tracker and non-Tracker prompts must not accidentally share the gated context. Manual Tracker retries should use the lorebook activation snapshot stored on the target assistant message. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:57:24 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2874
No description provided.