[GH-ISSUE #865] [Feature]: Expose character instruction fields as preset macros #424

Closed
opened 2026-10-20 17:28:41 +07:00 by bsakaguchi · 3 comments
Owner

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:

  • Version: 1.5.9
  • Install: Linux-Docker

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:

  • I DID NOT read this template and provide the requested details.
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: - Version: 1.5.9 - Install: Linux-Docker ## 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: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

@cha1latte commented on GitHub (May 15, 2026):

Triage note: labeling this as scope-risk because 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.

<!-- gh-comment-id:4455834348 --> @cha1latte commented on GitHub (May 15, 2026): Triage note: labeling this as `scope-risk` because 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.
Author
Owner

@SpicyMarinara commented on GitHub (May 17, 2026):

Will add {{charSysInfo}} and {{charPostHistory}}.

<!-- gh-comment-id:4470085610 --> @SpicyMarinara commented on GitHub (May 17, 2026): Will add {{charSysInfo}} and {{charPostHistory}}.
Author
Owner

@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.

<!-- gh-comment-id:4470195689 --> @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.
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#424
No description provided.