mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3705] [MERGED] Move About Me writing to Professor Mari and resolve prompt macros #6063
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#6063
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/3705
Author: @SpicyMarinara
Created: 7/16/2026
Status: ✅ Merged
Merged: 7/16/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/3704-resolve-prompt-macros📝 Commits (2)
cbb716cResolve late prompt identity macros80a0d8cMove About Me writing to Professor Mari📊 Changes
25 files changed (+268 additions, -925 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
docs/conversation/profiles.md(+5 -20)📝
e2e/core-flows.e2e.ts(+35 -0)➖
packages/client/src/components/characters/AboutMeSourcePicker.tsx(+0 -183)📝
packages/client/src/components/characters/CharacterEditor.tsx(+2 -14)📝
packages/client/src/components/characters/ConvoProfileFields.tsx(+16 -133)📝
packages/client/src/components/modals/AboutMeViewerModal.tsx(+8 -127)📝
packages/client/src/components/personas/PersonaEditor.tsx(+0 -8)📝
packages/client/src/hooks/use-characters.ts(+0 -36)📝
packages/server/src/db/seed-mari.ts(+8 -6)📝
packages/server/src/routes/characters.routes.ts(+1 -203)📝
packages/server/src/routes/generate.routes.ts(+24 -5)📝
packages/server/src/routes/generate/dry-run-route.ts(+3 -0)➖
packages/server/src/services/conversation/about-me-macros.ts(+0 -66)📝
packages/server/src/services/conversation/character-commands.ts(+13 -4)📝
packages/server/src/services/generation/lorebook-generation-runtime.ts(+3 -1)📝
packages/server/src/services/generation/professor-mari-command-runtime.ts(+4 -0)📝
packages/server/src/services/mari-db/mari-db.service.ts(+18 -6)📝
packages/server/src/services/professor-mari/workspace-agent.service.ts(+4 -2)📝
packages/server/src/services/prompt/index.ts(+1 -0)...and 5 more files
📄 Description
Why
This PR combines two maintainer-requested changes already completed on isolated branches.
First, the Conversation About Me editor should no longer own a separate AI Write model route, connection selector, or button. Professor Mari should write Character and Persona About Me text through her normal workspace abilities and save it into the same fields.
Second, fixes #3704. Opening greetings and
/guidedinstructions were normally macro-expanded during early history or helper assembly, but prompt content added later did not have a final macro-resolution boundary. The raw guided instruction was also reused for lorebook routing and embedding scans, allowing captured model-facing requests to retain{{user}}or{{char}}.What changed
Professor Mari About Me writing
Prompt macro resolution
{{char}}and card-field values/guidedtext before lorebook routing and embedding scans without committing macro variable writesValidation already completed
pnpm checkpnpm --filter @marinara-engine/server lintpnpm regression:promptpnpm regression:issuespnpm version:checkManual verification
{{user}}and{{char}}, then inspect Peek Prompt./guidedand inspect the provider request.{{char}}to that character.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.