[GH-ISSUE #2906] [Issue]: {{user}} macro not evaluated in /guided prompt #1487

Closed
opened 2026-10-21 05:36:37 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Jun 28, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2906

Originally assigned to: @SpicyMarinara on GitHub.

Summary

In ME Debug Mode, /guided requests show the {{user}} macro unexpanded in the console output. This prevents the guided prompt from clearly identifying which character is the user unless the instructions explicitly name them.

Expected behavior

The {{user}} macro should be evaluated in /guided prompts so the generated instruction correctly identifies the user character.

Actual behavior

The console output contains the literal {{user}} text instead of the resolved user character, e.g. Do not include a reply from {{user}}...

Steps to reproduce

  1. Open a /guided request in ME Debug Mode.
  2. Inspect the output shown in the ME console.
  3. Observe that {{user}} is not replaced with the actual user character name.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: ME Debug Mode / Not provided

Logs, screenshots, or video

Console output observed in ME Debug Mode: [Narrator instruction ΓÇö do not include a reply from {{user}}. Instead, write the next part of the narrative steering it toward the following: ...my guided instructions..."}

Additional context

Reporter notes that the issue affects /guided prompts unless the guided instructions explicitly specify a user name, such as "do not respond for Bob".

Discord thread: [Bug] {{user}} macro not being evaluated in /guided prompt
Thread link: https://discord.com/channels/1417099416812392641/1520134094615482378
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (2 messages)
[2026-06-26T18:30:10.882Z] AgentX: When viewing /guided requests using ME Debug Mode, this is what ouputs in the ME console:

` ` `
[Narrator instruction ΓÇö do not include a reply from {{user}}. Instead, write the next part of the narrative steering it toward the following: ...my guided instructions..."}
` ` `

The `{{user}}` macro isn't being evaulated, so the /guided doesn't know which character is the user (unless the guided instructions specifically says "do not respond for Bob", etc.).
[Discord message: https://discord.com/channels/1417099416812392641/1520134094615482378/1520134094615482378]

[2026-06-28T09:41:29.427Z] Marinara: On it.
[Discord message: https://discord.com/channels/1417099416812392641/1520134094615482378/1520725820921086122]

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 @SpicyMarinara on GitHub (Jun 28, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2906 Originally assigned to: @SpicyMarinara on GitHub. ## Summary In ME Debug Mode, /guided requests show the `{{user}}` macro unexpanded in the console output. This prevents the guided prompt from clearly identifying which character is the user unless the instructions explicitly name them. ## Expected behavior The `{{user}}` macro should be evaluated in /guided prompts so the generated instruction correctly identifies the user character. ## Actual behavior The console output contains the literal `{{user}}` text instead of the resolved user character, e.g. `Do not include a reply from {{user}}...` ## Steps to reproduce 1. Open a /guided request in ME Debug Mode. 2. Inspect the output shown in the ME console. 3. Observe that `{{user}}` is not replaced with the actual user character name. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: ME Debug Mode / Not provided ## Logs, screenshots, or video Console output observed in ME Debug Mode: `[Narrator instruction ΓÇö do not include a reply from {{user}}. Instead, write the next part of the narrative steering it toward the following: ...my guided instructions..."}` ## Additional context Reporter notes that the issue affects /guided prompts unless the guided instructions explicitly specify a user name, such as "do not respond for Bob". Discord thread: [Bug] {{user}} macro not being evaluated in /guided prompt Thread link: https://discord.com/channels/1417099416812392641/1520134094615482378 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (2 messages)</summary> ```text [2026-06-26T18:30:10.882Z] AgentX: When viewing /guided requests using ME Debug Mode, this is what ouputs in the ME console: ` ` ` [Narrator instruction ΓÇö do not include a reply from {{user}}. Instead, write the next part of the narrative steering it toward the following: ...my guided instructions..."} ` ` ` The `{{user}}` macro isn't being evaulated, so the /guided doesn't know which character is the user (unless the guided instructions specifically says "do not respond for Bob", etc.). [Discord message: https://discord.com/channels/1417099416812392641/1520134094615482378/1520134094615482378] [2026-06-28T09:41:29.427Z] Marinara: On it. [Discord message: https://discord.com/channels/1417099416812392641/1520134094615482378/1520725820921086122] ``` </details> ## 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.
bsakaguchi 2026-10-21 05:36:37 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@SpicyMarinara commented on GitHub (Jun 28, 2026):

Addressed in draft PR #2916 (commit 51dcf81e) as part of the June 28 issue sweep. Validation passed locally with pnpm check. Closing per maintainer request; please reopen or comment on the PR if anything still reproduces.

<!-- gh-comment-id:4826060721 --> @SpicyMarinara commented on GitHub (Jun 28, 2026): Addressed in draft PR #2916 (commit 51dcf81e) as part of the June 28 issue sweep. Validation passed locally with `pnpm check`. Closing per maintainer request; please reopen or comment on the PR if anything still reproduces.
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#1487
No description provided.