[GH-ISSUE #1326] [Issue]: Refactor macro engine is missing v1.6.1 conditional prompt blocks #648

Closed
opened 2026-10-20 17:31:17 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @cha1latte on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1326

Originally assigned to: @Xelvanis on GitHub.

Summary

The v1.6.1 conditional prompt macros such as {{#if ...}}...{{else}}...{{/if}} are missing from refactor macro support.

Expected behavior

Refactor should support the v1.6.1 conditional prompt block syntax and expose matching Macro Reference guidance.

Actual behavior

The audit found {{// comment}} stripping, but conditional blocks are absent from SUPPORTED_MACROS and resolver logic.

Steps to reproduce

  1. Open the refactor branch at
Originally created by @cha1latte on GitHub (May 26, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1326 Originally assigned to: @Xelvanis on GitHub. ## Summary The v1.6.1 conditional prompt macros such as {{#if ...}}...{{else}}...{{/if}} are missing from refactor macro support. ## Expected behavior Refactor should support the v1.6.1 conditional prompt block syntax and expose matching Macro Reference guidance. ## Actual behavior The audit found {{// comment}} stripping, but conditional blocks are absent from SUPPORTED_MACROS and resolver logic. ## Steps to reproduce 1. Open the refactor branch at
bsakaguchi 2026-10-20 17:31:17 +07:00
Author
Owner

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

Audit follow-up: this is prompt/macro engine parity. Suggested proof should include positive conditional cases, else behavior, nested or adjacent macro behavior if supported, and a malformed conditional negative control.

<!-- gh-comment-id:4549577970 --> @cha1latte commented on GitHub (May 26, 2026): Audit follow-up: this is prompt/macro engine parity. Suggested proof should include positive conditional cases, else behavior, nested or adjacent macro behavior if supported, and a malformed conditional negative control.
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#648
No description provided.