mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3812] [Feature]: Add logical and group-aware prompt macros #2057
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#2057
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 (Jul 19, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3812
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Prompt authors cannot combine character checks with OR/AND logic, and there is no reliable macro for referring to every other active character in a Roleplay group. Targeted/manual group generation can also narrow the prompt scope before macro resolution, leaving the other-character list empty.
Proposed solution
||,&&, parentheses, and equality-list shorthand in conditional prompt blocks.{{group}}to list all active character cards except the current responder.Alternatives considered
Authors can repeat or duplicate prompt sections for each character, or manually maintain a comma-separated roster. Both approaches are fragile when the active group changes and make reusable presets difficult.
Additional context
This was tested in a manual Roleplay group containing Pantalone, Maukie, and a character card named Powers That Be while the active persona was also named Powers That Be.
Template check
@SpicyMarinara commented on GitHub (Jul 19, 2026):
Addressed in ready-for-review PR #3813. Logical conditionals, the group-aware macro flow, tracker retry persistence, documentation, and the related Settings color fix are implemented; CI is green and the combined Roleplay behavior was manually confirmed.