mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #865] [Feature]: Expose character instruction fields as preset macros #424
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#424
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 @cha1latte on GitHub (May 15, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/865
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Users can edit character-defined system instructions and post-history instructions on the character card, but they do not have clear preset macros/variables for placing those fields manually in a prompt preset. The reporter also observed that character-defined post-history instructions are appended with the character definition rather than being controllable near the post-chat-summary area.
Reporter/source: m;aemoifmpfmmafe on Discord.
Source link: https://discord.com/channels/1417099416812392641/1504208383631294624
Environment:
Proposed solution
Expose character-defined system instructions and post-history instructions as preset macros or variables that can be placed manually in prompt presets.
This would let preset authors decide where those character fields belong in the final prompt, such as placing post-history instructions after the chat summary instead of bundled into the character definition.
Alternatives considered
Not specified.
Additional context
The request is specifically about user control over prompt placement for existing character fields, not adding new character card fields.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 15, 2026):
Triage note: labeling this as
scope-riskbecause it is a focused prompt-control request, but it changes how character fields can be placed in prompt presets and may interact with fallback character injection.The least risky next step is to expose the existing character instruction fields as explicit preset macros before changing any default prompt placement behavior.
@SpicyMarinara commented on GitHub (May 17, 2026):
Will add {{charSysInfo}} and {{charPostHistory}}.
@SpicyMarinara commented on GitHub (May 17, 2026):
Fixed on staging in
21112189: added {{charSysInfo}} and {{charPostHistory}} macros, wired them through prompt assembly/fallback/preview contexts, and documented them in the macro reference.