mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #3081] [Issue]: /impersonate does not evaluate macros in persona description #1646
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#1646
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 (Jun 30, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3081
Originally assigned to: @SpicyMarinara on GitHub.
Summary
When using the /impersonate command, the persona description block is appended but macros inside it are not evaluated. The user reports seeing raw
{{user}}macros in the console.Expected behavior
Macros inside the persona description block should be evaluated when /impersonate is used, so placeholders like
{{user}}are replaced with their resolved values.Actual behavior
The persona description block is appended without macro evaluation, and raw
{{user}}macros remain visible in the console.Steps to reproduce
/impersonatecommand.{{user}}.Environment
Logs, screenshots, or video
User reports seeing raw
{{user}}macros in the console. No logs, screenshots, or video were provided.Additional context
Reported by AgentX in Discord. The issue appears to affect macro evaluation specifically within the persona description block appended by
/impersonate.Discord message: Discord message from AgentX
Discord message link: https://discord.com/channels/1417099416812392641/1495493775617687775/1521319455353733142
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord message transcript (1 message)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Jun 30, 2026):
Fixed in PR #3082: /impersonate now resolves prompt macros inside the persona description before adding that block to the impersonation instruction. Validation passed: server/shared/client lint, pnpm check, and pnpm regression:prompt.