[GH-ISSUE #4492] [Issue]: Character ID macro is confusing and does not inject referenced card context #2442

Closed
opened 2026-10-21 05:48:15 +07:00 by bsakaguchi · 1 comment
Owner

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The character-card ID macro is documented as {{<21-character-card-ID>}}, which makes users think angle brackets may be required. Users naturally enter the actual ID directly, for example {{v7qfsYDrt1pteEZ7Y4BNB}}, but that form does not resolve or attach the referenced card context.

Expected behavior

The documented placeholder should be {{21-character-card-ID}}. At runtime, placing an actual 21-character character ID directly inside braces should replace the macro with the referenced character name and attach that character card to system-role context.

The injected card context should include description, personality, appearance, backstory, scenario, and example dialogue alongside the other character information. The behavior should work when the macro appears directly in chat content and when it appears in an activated lorebook entry.

Actual behavior

The direct-ID form, such as {{v7qfsYDrt1pteEZ7Y4BNB}}, does not work as users expect. The current macro label and description are also misleading: the label includes literal angle brackets, and the description says only that it resolves the name without explaining that it pulls the referenced card into context.

Steps to reproduce

  1. Create or identify a character whose ID is exactly 21 characters.
  2. Put that ID in chat text or an activated lorebook entry as {{v7qfsYDrt1pteEZ7Y4BNB}}.
  3. Generate a response and inspect the resolved prompt/context.
  4. Observe that the macro does not resolve to the character name and the referenced card fields are not attached to system-role 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

No logs or media provided.

Additional context

Update the macro label from {{<21-character-card-ID>}} to {{21-character-card-ID}}.

Update the description from Name of another character card, referenced by its exact 21-character ID to Name of another character, pulls the card into the context; referenced by its exact 21-character ID.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 3, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4492 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The character-card ID macro is documented as `{{<21-character-card-ID>}}`, which makes users think angle brackets may be required. Users naturally enter the actual ID directly, for example `{{v7qfsYDrt1pteEZ7Y4BNB}}`, but that form does not resolve or attach the referenced card context. ## Expected behavior The documented placeholder should be `{{21-character-card-ID}}`. At runtime, placing an actual 21-character character ID directly inside braces should replace the macro with the referenced character name and attach that character card to system-role context. The injected card context should include description, personality, appearance, backstory, scenario, and example dialogue alongside the other character information. The behavior should work when the macro appears directly in chat content and when it appears in an activated lorebook entry. ## Actual behavior The direct-ID form, such as `{{v7qfsYDrt1pteEZ7Y4BNB}}`, does not work as users expect. The current macro label and description are also misleading: the label includes literal angle brackets, and the description says only that it resolves the name without explaining that it pulls the referenced card into context. ## Steps to reproduce 1. Create or identify a character whose ID is exactly 21 characters. 2. Put that ID in chat text or an activated lorebook entry as `{{v7qfsYDrt1pteEZ7Y4BNB}}`. 3. Generate a response and inspect the resolved prompt/context. 4. Observe that the macro does not resolve to the character name and the referenced card fields are not attached to system-role 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 No logs or media provided. ## Additional context Update the macro label from `{{<21-character-card-ID>}}` to `{{21-character-card-ID}}`. Update the description from `Name of another character card, referenced by its exact 21-character ID` to `Name of another character, pulls the card into the context; referenced by its exact 21-character ID`. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:48:15 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 3, 2026):

Owned by @SpicyMarinara. Implementation and review are tracked in draft PR #4493; the other claimed issue in this sweep (#4490) remains with @thetopham in PR #4491 to avoid duplicate work.

<!-- gh-comment-id:5161053955 --> @SpicyMarinara commented on GitHub (Aug 3, 2026): Owned by @SpicyMarinara. Implementation and review are tracked in draft PR #4493; the other claimed issue in this sweep (#4490) remains with @thetopham in PR #4491 to avoid duplicate work.
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#2442
No description provided.