mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3834] [MERGED] Append Example Dialogue when its preset marker is absent #6122
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#6122
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3834
Author: @SpicyMarinara
Created: 7/19/2026
Status: ✅ Merged
Merged: 7/19/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/example-dialogue-marker-fallback-3833📝 Commits (2)
d23c572chore: start example dialogue fallbackf400d5afix: append unplaced character dialogue examples📊 Changes
4 files changed (+147 additions, -1 deletions)
View changed files
📝
docs/prompts/presets.md(+2 -0)📝
packages/server/src/services/prompt/assembler.ts(+14 -0)📝
packages/server/src/services/prompt/marker-expander.ts(+15 -1)📝
scripts/regressions/prompt.regression.ts(+116 -0)📄 Description
Linked issue
Closes #3833
Why this change
Roleplay character cards can contain Example Dialogue, but presets that use a Character marker without a separate Dialogue Examples marker silently omit it. The expanded named character block then suppresses the general identity fallback, so valid card content never reaches the model.
What changed
Automated validation performed
pnpm regression:prompt— passed, including XML, Markdown, None, field order, and explicit-marker negative controls.pnpm check— passed (workspace type checks, lint, and production builds).git diff --check— passed.Validation checklist
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Manual Roleplay verification remains for a human contributor: generate once with Character Info and no Dialogue Examples marker, then once with an enabled Dialogue Examples marker, and inspect Peek Prompt for exactly one copy in the expected location.
Docs and release impact
Summary by CodeRabbit
New Features
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.