mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8596] [MERGED] fix(prompt): creator notes never reach a model prompt #8694
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#8694
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/8596
Author: @SpicyMarinara
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/creator-notes-never-sent-8582📝 Commits (1)
23ac5defix(prompt): creator notes never reach a model prompt (#8582)📊 Changes
11 files changed (+28 additions, -17 deletions)
View changed files
📝
packages/server/src/routes/generate.routes.ts(+0 -1)📝
packages/server/src/routes/generate/retry-agents-route.ts(+0 -2)📝
packages/server/src/services/advanced-memory.ts(+0 -1)📝
packages/server/src/services/agents/agent-executor.ts(+0 -1)📝
packages/server/src/services/generation/character-prompt-context.ts(+0 -2)📝
packages/server/src/services/prompt/macro-context.ts(+0 -3)📝
packages/server/src/services/prompt/marker-expander.ts(+0 -2)📝
packages/shared/src/types/agent.ts(+0 -2)📝
scripts/regressions/advanced-memory-recollections-upkeep.regression.ts(+8 -2)📝
scripts/regressions/open-issues.regression.ts(+5 -0)📝
scripts/regressions/prompt.regression.ts(+15 -1)📄 Description
Linked issue
Refs #8582 (closed: the exact report could not be replicated; this PR removes every path found)
Why this change
docs/characters/creating-and-editing-characters.md:59,docs/characters/personas.md:74) and the editor hint ("Not sent to the AI") already promise it.creator_notes. This PR closes that route, and its regression fails on staging.What changed
services/prompt/marker-expander.ts): a Characters marker whosecharacterFieldsnamescreator_notesno longer sends it. No UI offers that field, but an imported preset or Mari could set it. Stale presets keep working; the field just reads empty.services/prompt/macro-context.ts):{{<id>}}characters and{{persona-<id>}}personas no longer include creator notes.services/agents/agent-executor.ts,character-prompt-context.ts,generate.routes.ts,generate/retry-agents-route.ts,shared/types/agent.ts):creatorNotesis gone fromCharacterPromptInfoand from the sharedAgentContextcharacter. Card Evolution Auditor's<character_cards>and capability packages'prepareContextno longer receive it.services/advanced-memory.ts): summary and recollection cards no longer carry creator notes.EDITABLE_CHARACTER_CARD_FIELDS: dropscreator_notes, so an audit can't propose a blind edit to a field it never saw.services/entity-embedding-store.ts) still embeds a card's notes for its candidate list. Only Professor Mari's command runtime and prompt context use that store.creator_notesas a target. Filed as Pasta-Devs/Marinara-Agents#1967.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-side checks:
pnpm check(format, lint, types, localization, build).scripts/regressions/prompt.regression.ts: a Characters marker namingcreator_notes(with description and scenario), in xml, markdown and none, carries neither the creator notes nor acreator_notessection, while the other named fields stay. The default marker carries none either.scripts/regressions/open-issues.regression.ts: referenced characters and personas leave creator notes out.scripts/regressions/advanced-memory-recollections-upkeep.regression.ts: the summarizer's cards carry no creator notes. Its macro-resolution check moved from creator notes to the scenario.Please verify by hand:
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)Owner: @SpicyMarinara (made by Claude).
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.