mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #7995] [Issue]: Add a macro linter for Prof Mari outputs #7510
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#7510
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 (Oct 21, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/7995
Originally assigned to: @ylli-selmani on GitHub.
Summary
Add an automatic linting step when Prof Mari generates macros, including nested macros in lorebook entries. The linter should validate macro syntax and whether the target field supports macros, then report parsing errors back to the model.
Expected behavior
Prof Mari should generate well-formed macros in fields that support them. Detected syntax or parsing errors should be reported to the model or user before or during preview.
Actual behavior
While generating lorebook entries with nested macros using Mistral Large 4, Prof Mari mishandled double curly braces, failed to close macros properly, and did not fully resolve the {{prompt}} preview. No macro linting or actionable parsing feedback was reported.
Steps to reproduce
Environment
Logs, screenshots, or video
Not provided in the Discord context.
Additional context
The request includes validating both macro syntax and whether the destination field supports macros. The Agent version and Support Diagnostic were not provided. Mistral Large 4 was used as the token dealer.
Discord thread: add a linter to validate that macro parse properly in prof mari outputs
Discord thread link: https://discord.com/channels/1417099416812392641/1562504477549011005
Requested by: ylliselmanii (ylliselmanii, Discord ID 177503556272783360)
Discord thread transcript (5 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@ylli-selmani commented on GitHub (Oct 21, 2026):
Pulling this into #7908