[GH-ISSUE #4905] [Feature]: Allow per-character New Start context markers in group Roleplay #2716

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

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

Originally assigned to: @SpicyMarinara on GitHub.

What problem does this solve?

In a group Roleplay, Mark as new start currently creates one shared context boundary for everyone. This makes it impossible to introduce a character partway through a long scene without either giving that new character the entire earlier transcript or hiding the earlier transcript from characters who were already present.

For example, an existing cast may need context beginning near the start of the scene, while a character introduced much later should begin at their introduction message only.

Proposed solution

Turn Mark as new start into a targeted Roleplay action using the same avatar-based menu as Choose who to hide this from:

  • Show All on the left.
  • Show the Roleplay characters, with their avatars, on the right.
  • Selecting All creates the existing shared new-start marker.
  • Selecting an individual character creates a context-start marker for that character only.
  • Shared and character-specific markers must be able to coexist in the same group Roleplay.
  • Existing saved new-start markers should continue to behave as All markers.

When assembling context for a character, use the newest marker that applies to them: either the newest shared All marker or the newest marker for that specific character. This lets an older shared marker remain active for the established cast while a later individual marker starts a newly introduced character at their introduction.

Visual treatment:

  • A shared New start label and divider use the current accent color.
  • An individual marker identifies the target character and uses that character name's configured color for the label and divider.
  • If more than one target is represented at the same message, the UI should keep the targets understandable without collapsing them into an ambiguous global marker.

The same targeting behavior should work with mouse, keyboard, and touch interaction.

Alternatives considered

  • Automatically creating a context boundary when a character first appears would be too implicit and could incorrectly truncate context when a returning character is mentioned or reintroduced.
  • Adding a separate message action for every character would clutter the message controls. Reusing the existing avatar target menu keeps the interaction consistent with Choose who to hide this from.
  • Replacing the global boundary with only per-character boundaries would break the useful existing All behavior and make ordinary scene resets tedious.

Additional context

Primary use case: a new character joins midway through a group Roleplay. The user marks the introduction message as that character's new start, so the introduced character receives context from that point onward while the existing characters retain the earlier scene history.

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Aug 11, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4905 Originally assigned to: @SpicyMarinara on GitHub. ## What problem does this solve? In a group Roleplay, **Mark as new start** currently creates one shared context boundary for everyone. This makes it impossible to introduce a character partway through a long scene without either giving that new character the entire earlier transcript or hiding the earlier transcript from characters who were already present. For example, an existing cast may need context beginning near the start of the scene, while a character introduced much later should begin at their introduction message only. ## Proposed solution Turn **Mark as new start** into a targeted Roleplay action using the same avatar-based menu as **Choose who to hide this from**: - Show **All** on the left. - Show the Roleplay characters, with their avatars, on the right. - Selecting **All** creates the existing shared new-start marker. - Selecting an individual character creates a context-start marker for that character only. - Shared and character-specific markers must be able to coexist in the same group Roleplay. - Existing saved new-start markers should continue to behave as **All** markers. When assembling context for a character, use the newest marker that applies to them: either the newest shared **All** marker or the newest marker for that specific character. This lets an older shared marker remain active for the established cast while a later individual marker starts a newly introduced character at their introduction. Visual treatment: - A shared **New start** label and divider use the current accent color. - An individual marker identifies the target character and uses that character name's configured color for the label and divider. - If more than one target is represented at the same message, the UI should keep the targets understandable without collapsing them into an ambiguous global marker. The same targeting behavior should work with mouse, keyboard, and touch interaction. ## Alternatives considered - Automatically creating a context boundary when a character first appears would be too implicit and could incorrectly truncate context when a returning character is mentioned or reintroduced. - Adding a separate message action for every character would clutter the message controls. Reusing the existing avatar target menu keeps the interaction consistent with **Choose who to hide this from**. - Replacing the global boundary with only per-character boundaries would break the useful existing **All** behavior and make ordinary scene resets tedious. ## Additional context Primary use case: a new character joins midway through a group Roleplay. The user marks the introduction message as that character's new start, so the introduced character receives context from that point onward while the existing characters retain the earlier scene history. ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
Author
Owner

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

Addressed by #4908 and merged into staging in a0c303f6b.

<!-- gh-comment-id:5255428136 --> @SpicyMarinara commented on GitHub (Aug 11, 2026): Addressed by #4908 and merged into staging in a0c303f6b.
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#2716
No description provided.