mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4505] [Feature]: Add an ID Macro Cards marker to prompt presets #2451
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#2451
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 (Aug 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4505
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Character cards referenced through exact 21-character ID macros are currently injected at a fixed fallback position. Preset authors cannot choose where this supporting card context appears in the assembled prompt.
Proposed solution
Add a preset section marker named ID Macro Cards. When present and enabled, referenced character card context should be inserted at that marker position and respect the section role, order, group, and depth settings. When the marker is absent, preserve the current fallback injection behavior exactly.
Alternatives considered
A plain prompt block cannot reproduce this behavior because the referenced cards are discovered dynamically while macros and lorebook entries are resolved.
Additional context
The marker should cover direct ID macros in chat or preset content and IDs discovered through activated lorebook entries. It must not duplicate the fallback card block.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: