[GH-ISSUE #2925] [Issue]: [Bug] Macros don't parse recursively / when they're added through a macro #1503

Closed
opened 2026-10-21 05:37:13 +07:00 by bsakaguchi · 2 comments
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Imported from the Discord thread "[Bug] Macros don't parse recursively / when they're added through a macro".

Expected behavior

Not provided in the Discord context.

Actual behavior

See the Discord context transcript below.

Steps to reproduce

  1. Not provided in the Discord context.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

See any attachment links and screenshots in the context below.

Additional context

This issue was created automatically from Discord support context.

Discord thread: [Bug] Macros don't parse recursively / when they're added through a macro
Discord thread link: https://discord.com/channels/1417099416812392641/1520859754694578226
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (5 messages)
[2026-06-28T18:33:41.727Z] Kat: If you use a macro like {{description}} in the prompt builder, if that description uses macros like {{char}}, those macros are not parsed.

They ***are*** parsed in the automatic "character info" block that pulls in description together with everything else. 

Note: this bug is not new to 2.0.6, it also affected 2.0.5 and maybe earlier versions as well. 

Version: 2.0.6
Git installer
Windows 11

[attached image 1: https://cdn.discordapp.com/attachments/1520859754694578226/1520859754900230225/image.png?ex=6a42ba85&is=6a416905&hm=e50b60113d41436faf17ab1e4fdc9ecc9653fe02ca750916ed1d9ff60f694818&]
[attached image 2: https://cdn.discordapp.com/attachments/1520859754694578226/1520859755243901150/image.png?ex=6a42ba85&is=6a416905&hm=978346aa6be5f2e0f09dae03ad0eda916387f10ef189186c89419bf09c512e0f&]
[Discord message: https://discord.com/channels/1417099416812392641/1520859754694578226/1520859754694578226]

[2026-06-28T18:37:58.909Z] Marinara: Macros within macros are not resolved, got it. Opening an issue.
[Discord message: https://discord.com/channels/1417099416812392641/1520859754694578226/1520860833394065539]

[2026-06-28T18:38:04.602Z] Marinara: @Professor Mari GitHub Issue
[Discord message: https://discord.com/channels/1417099416812392641/1520859754694578226/1520860857272373408]

[2026-06-28T18:38:34.977Z] Marinara: :sus:
[Discord message: https://discord.com/channels/1417099416812392641/1520859754694578226/1520860984674095236]

[2026-06-28T18:38:46.038Z] Marinara: Where is that lazy fatass
[Discord message: https://discord.com/channels/1417099416812392641/1520859754694578226/1520861031067291669]

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/2925 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Imported from the Discord thread "[Bug] Macros don't parse recursively / when they're added through a macro". ## Expected behavior Not provided in the Discord context. ## Actual behavior See the Discord context transcript below. ## Steps to reproduce 1. Not provided in the Discord context. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video See any attachment links and screenshots in the context below. ## Additional context This issue was created automatically from Discord support context. Discord thread: [Bug] Macros don't parse recursively / when they're added through a macro Discord thread link: https://discord.com/channels/1417099416812392641/1520859754694578226 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (5 messages)</summary> ```text [2026-06-28T18:33:41.727Z] Kat: If you use a macro like {{description}} in the prompt builder, if that description uses macros like {{char}}, those macros are not parsed. They ***are*** parsed in the automatic "character info" block that pulls in description together with everything else. Note: this bug is not new to 2.0.6, it also affected 2.0.5 and maybe earlier versions as well. Version: 2.0.6 Git installer Windows 11 [attached image 1: https://cdn.discordapp.com/attachments/1520859754694578226/1520859754900230225/image.png?ex=6a42ba85&is=6a416905&hm=e50b60113d41436faf17ab1e4fdc9ecc9653fe02ca750916ed1d9ff60f694818&] [attached image 2: https://cdn.discordapp.com/attachments/1520859754694578226/1520859755243901150/image.png?ex=6a42ba85&is=6a416905&hm=978346aa6be5f2e0f09dae03ad0eda916387f10ef189186c89419bf09c512e0f&] [Discord message: https://discord.com/channels/1417099416812392641/1520859754694578226/1520859754694578226] [2026-06-28T18:37:58.909Z] Marinara: Macros within macros are not resolved, got it. Opening an issue. [Discord message: https://discord.com/channels/1417099416812392641/1520859754694578226/1520860833394065539] [2026-06-28T18:38:04.602Z] Marinara: @Professor Mari GitHub Issue [Discord message: https://discord.com/channels/1417099416812392641/1520859754694578226/1520860857272373408] [2026-06-28T18:38:34.977Z] Marinara: :sus: [Discord message: https://discord.com/channels/1417099416812392641/1520859754694578226/1520860984674095236] [2026-06-28T18:38:46.038Z] Marinara: Where is that lazy fatass [Discord message: https://discord.com/channels/1417099416812392641/1520859754694578226/1520861031067291669] ``` </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:37:13 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

Prof. fucked up, so here's what she missed to include:

KatRole icon, 3-Star
OP
 — 20:33
If you use a macro like {{description}} in the prompt builder, if that description uses macros like {{char}}, those macros are not parsed.

They are parsed in the automatic "character info" block that pulls in description together with everything else. 

Note: this bug is not new to 2.0.6, it also affected 2.0.5 and maybe earlier versions as well. 

Version: 2.0.6
Git installer
Windows 11
Image
Image
Marinara [MARI], Role icon, Chef — 20:37
Macros within macros are not resolved, got it. Opening an issue.
<!-- gh-comment-id:4827044989 --> @SpicyMarinara commented on GitHub (Jun 28, 2026): Prof. fucked up, so here's what she missed to include: ``` KatRole icon, 3-Star OP — 20:33 If you use a macro like {{description}} in the prompt builder, if that description uses macros like {{char}}, those macros are not parsed. They are parsed in the automatic "character info" block that pulls in description together with everything else. Note: this bug is not new to 2.0.6, it also affected 2.0.5 and maybe earlier versions as well. Version: 2.0.6 Git installer Windows 11 Image Image Marinara [MARI], Role icon, Chef — 20:37 Macros within macros are not resolved, got it. Opening an issue. ```
Author
Owner

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

Fixed in the v2.0.7 staging changes: character/persona field macros now recursively resolve nested macros like {{char}} and {{user}} when fields such as {{description}} are used from prompt builder sections. Added a prompt regression for the nested field case and verified with pnpm regression:prompt plus pnpm check.

<!-- gh-comment-id:4827136716 --> @SpicyMarinara commented on GitHub (Jun 28, 2026): Fixed in the v2.0.7 staging changes: character/persona field macros now recursively resolve nested macros like {{char}} and {{user}} when fields such as {{description}} are used from prompt builder sections. Added a prompt regression for the nested field case and verified with pnpm regression:prompt plus pnpm check.
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#1503
No description provided.