[GH-ISSUE #3437] [Issue]: Conversation relocation macros ({{context}}/{{status}}, {{commands}}, {{reactRules}}, {{memories}}, {{lorebook}}) are undocumented in the macro reference #1861

Closed
opened 2026-10-21 05:43:20 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @kolacheee on GitHub (Jul 10, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3437

Originally assigned to: @kolacheee on GitHub.

Summary

The new Conversation-mode relocation macros — {{context}}/{{status}}, {{commands}}, {{reactRules}}, {{memories}}, {{lorebook}} — are not documented in the macro reference or the in-app macro registry, despite the recent docs overhaul (#3432). They currently appear only in the CHANGELOG.

Expected behavior

The macro reference lists every user-facing preset macro, including the Conversation relocation macros, ideally with a note that placing one relocates its auto-inserted block (and suppresses the automatic insertion).

Actual behavior

  • docs/prompts/macros.md "Conversation mode macros" section documents only {{convo_display}}, {{char_about}}, {{persona_about}}, {{convo_behavior}}; the "Context macros" section lists {{input}}/{{model}}/{{chatId}}/{{lastGenerationType}}/{{idle_duration}}/{{agent::TYPE}} — not {{context}}/{{status}}, {{reactRules}}, {{commands}}, {{memories}}, or {{lorebook}}.
  • The in-app macro registry (packages/shared/src/utils/macro-engine.ts:272-283, "Conversation" category) also omits them.
  • The only place they're described is CHANGELOG.md:59.

So a user can't discover {{status}}/{{context}}, {{reactRules}}, {{commands}} (and {{memories}}, {{lorebook}}) from the docs — exactly the macros in this report.

Steps to reproduce

  1. Open the in-app macro reference / docs/prompts/macros.md.
  2. Search for {{reactRules}}, {{commands}}, {{status}}, {{context}} — none are listed.

Environment

  • Marinara Engine version: 2.1.x (staging, includes the #3432 docs overhaul)
  • Install type: installer
  • OS + version: Windows 11
  • Browser or app shell: Chrome

Logs, screenshots, or video

N/A (docs coverage). Confirmed the macros are real and template-scanned in packages/server/src/routes/generate.routes.ts:440 with the alias table at :451-457 (context→["context","status"], commands→["commands","commandList"], reactRules→["reactRules","emojiReact"], memories→["memories","memoryRecall"], lorebook→["lorebook","lore"]).

Additional context

Suggested fix: add the Conversation relocation macros to docs/prompts/macros.md and to the in-app macro registry (macro-engine.ts:272-283), including their aliases ({{status}}, {{commandList}}, {{emojiReact}}, {{memoryRecall}}, {{lore}}) and a one-line note that placing the macro moves the block there and suppresses its automatic insertion.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @kolacheee on GitHub (Jul 10, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/3437 Originally assigned to: @kolacheee on GitHub. ## Summary The new Conversation-mode **relocation macros** — `{{context}}`/`{{status}}`, `{{commands}}`, `{{reactRules}}`, `{{memories}}`, `{{lorebook}}` — are not documented in the macro reference or the in-app macro registry, despite the recent docs overhaul (#3432). They currently appear only in the CHANGELOG. ## Expected behavior The macro reference lists every user-facing preset macro, including the Conversation relocation macros, ideally with a note that placing one relocates its auto-inserted block (and suppresses the automatic insertion). ## Actual behavior - `docs/prompts/macros.md` "Conversation mode macros" section documents only `{{convo_display}}`, `{{char_about}}`, `{{persona_about}}`, `{{convo_behavior}}`; the "Context macros" section lists `{{input}}`/`{{model}}`/`{{chatId}}`/`{{lastGenerationType}}`/`{{idle_duration}}`/`{{agent::TYPE}}` — **not** `{{context}}`/`{{status}}`, `{{reactRules}}`, `{{commands}}`, `{{memories}}`, or `{{lorebook}}`. - The in-app macro registry (`packages/shared/src/utils/macro-engine.ts:272-283`, "Conversation" category) also omits them. - The only place they're described is `CHANGELOG.md:59`. So a user can't discover `{{status}}`/`{{context}}`, `{{reactRules}}`, `{{commands}}` (and `{{memories}}`, `{{lorebook}}`) from the docs — exactly the macros in this report. ## Steps to reproduce 1. Open the in-app macro reference / `docs/prompts/macros.md`. 2. Search for `{{reactRules}}`, `{{commands}}`, `{{status}}`, `{{context}}` — none are listed. ## Environment - Marinara Engine version: 2.1.x (staging, includes the #3432 docs overhaul) - Install type: installer - OS + version: Windows 11 - Browser or app shell: Chrome ## Logs, screenshots, or video N/A (docs coverage). Confirmed the macros are real and template-scanned in `packages/server/src/routes/generate.routes.ts:440` with the alias table at `:451-457` (`context`→`["context","status"]`, `commands`→`["commands","commandList"]`, `reactRules`→`["reactRules","emojiReact"]`, `memories`→`["memories","memoryRecall"]`, `lorebook`→`["lorebook","lore"]`). ## Additional context Suggested fix: add the Conversation relocation macros to `docs/prompts/macros.md` and to the in-app macro registry (`macro-engine.ts:272-283`), including their aliases (`{{status}}`, `{{commandList}}`, `{{emojiReact}}`, `{{memoryRecall}}`, `{{lore}}`) and a one-line note that placing the macro moves the block there and suppresses its automatic insertion. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:43:20 +07:00
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#1861
No description provided.