[PR #3446] [MERGED] docs(macros): document conversation placement (relocation) macros #5941

Closed
opened 2026-10-23 04:05:24 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3446
Author: @kolacheee
Created: 7/10/2026
Status: ✅ Merged
Merged: 7/10/2026
Merged by: @SpicyMarinara

Base: staging ← Head: docs/3437-relocation-macros


📝 Commits (3)

  • 6005766 docs(macros): document conversation placement (relocation) macros
  • 8e94918 Merge branch 'staging' into docs/3437-relocation-macros
  • b727087 Clarify group About Me macro behavior

📊 Changes

2 files changed (+45 additions, -0 deletions)

View changed files

📝 docs/prompts/macros.md (+15 -0)
📝 packages/shared/src/utils/macro-engine.ts (+30 -0)

📄 Description

Linked issue

Closes #3437

Why this change

The conversation-mode relocation macros — {{context}}/{{status}}, {{commands}}, {{reactRules}}, {{memories}}, {{lorebook}} — shipped without a reference. They appeared only in CHANGELOG.md, not in docs/prompts/macros.md or the in-app macro registry, so a user couldn't discover them (the "Context macros" section listed {{input}}/{{model}}/… but none of these).

What changed

  • docs/prompts/macros.md: added a "Conversation placement macros" section documenting each relocation macro and its aliases, with a one-line explanation that placing the macro renders the block there and suppresses the automatic insertion. Also notes that {{char_about}}/{{persona_about}} suppress the automatic about-me block the same way.
  • packages/shared/src/utils/macro-engine.ts: added matching entries to the in-app macro registry (the /macros reference), so the same macros are discoverable in-app.

This documents the full relocation family in one place, including two macros/behaviors added in sibling PRs:

  • {{replyRules}} — added by #3438
  • {{char_about}}/{{persona_about}} about-me suppression — added by #3436

Merge note: because it documents those, this PR should merge with or after #3436 and #3438. If either is dropped, remove its row/sentence here.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Automated checks I ran locally (green):

  • pnpm --filter @marinara-engine/shared lint (generate-feature-registries.mjs && tsc --noEmit) — clean

Still to verify manually (please tick above once done):

  1. Open the in-app Macro reference (/macros) and confirm the new Conversation placement macros are listed and read correctly.
  2. Skim the rendered docs/prompts/macros.md to confirm the new table renders.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

This PR is itself the docs update; no version bump. CHANGELOG.md already mentions these macros.

UI evidence (if applicable)

N/A (documentation + in-app reference text).


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/3446 **Author:** [@kolacheee](https://github.com/kolacheee) **Created:** 7/10/2026 **Status:** ✅ Merged **Merged:** 7/10/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `docs/3437-relocation-macros` --- ### 📝 Commits (3) - [`6005766`](https://github.com/Pasta-Devs/Marinara-Engine/commit/600576651398b3f92683ecf92e495440a6e9b0ae) docs(macros): document conversation placement (relocation) macros - [`8e94918`](https://github.com/Pasta-Devs/Marinara-Engine/commit/8e9491807de5edefa04ed38a10c99c4b55865880) Merge branch 'staging' into docs/3437-relocation-macros - [`b727087`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b7270872211921483f781ed71f65a8d83d05040f) Clarify group About Me macro behavior ### 📊 Changes **2 files changed** (+45 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/prompts/macros.md` (+15 -0) 📝 `packages/shared/src/utils/macro-engine.ts` (+30 -0) </details> ### 📄 Description <!-- Target branch: `staging`. --> ## Linked issue Closes #3437 ## Why this change The conversation-mode **relocation macros** — `{{context}}`/`{{status}}`, `{{commands}}`, `{{reactRules}}`, `{{memories}}`, `{{lorebook}}` — shipped without a reference. They appeared only in `CHANGELOG.md`, not in `docs/prompts/macros.md` or the in-app macro registry, so a user couldn't discover them (the "Context macros" section listed `{{input}}`/`{{model}}`/… but none of these). ## What changed - `docs/prompts/macros.md`: added a **"Conversation placement macros"** section documenting each relocation macro and its aliases, with a one-line explanation that placing the macro renders the block there and suppresses the automatic insertion. Also notes that `{{char_about}}`/`{{persona_about}}` suppress the automatic about-me block the same way. - `packages/shared/src/utils/macro-engine.ts`: added matching entries to the in-app macro registry (the `/macros` reference), so the same macros are discoverable in-app. This documents the full relocation family in one place, including two macros/behaviors added in sibling PRs: - `{{replyRules}}` — added by #3438 - `{{char_about}}`/`{{persona_about}}` about-me suppression — added by #3436 **Merge note:** because it documents those, this PR should merge **with or after** #3436 and #3438. If either is dropped, remove its row/sentence here. ## Validation <!-- Required: include commands run and/or manual checks performed --> - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Automated checks I ran locally (green): - `pnpm --filter @marinara-engine/shared lint` (`generate-feature-registries.mjs && tsc --noEmit`) — clean Still to verify manually (please tick above once done): 1. Open the in-app **Macro reference** (`/macros`) and confirm the new Conversation placement macros are listed and read correctly. 2. Skim the rendered `docs/prompts/macros.md` to confirm the new table renders. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) This PR is itself the docs update; no version bump. `CHANGELOG.md` already mentions these macros. ## UI evidence (if applicable) N/A (documentation + in-app reference text). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:05:24 +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#5941
No description provided.