mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8352] [MERGED] feat(chat-summary): ask the Long-Term Memory summary prompt for names and plain sections #8311
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#8311
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/8352
Author: @Promansis
Created: 10/26/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @Promansis
Base:
staging← Head:feature(chat-summary)/ltm-plain-summary-prompt📝 Commits (2)
cc3fac2feat(chat-summary): ask the Long-Term Memory summary prompt for names and plain sections (#8350)a065671Merge upstream/staging into feature(chat-summary)/ltm-plain-summary-prompt📊 Changes
2 files changed (+65 additions, -70 deletions)
View changed files
📝
packages/shared/src/constants/agent-prompts.ts(+33 -70)📝
scripts/regressions/prompt.regression.ts(+32 -0)📄 Description
Linked issue
Closes #8350
Why this change
lowercase_snake_caseids, importance tags andKEY/coverage_auditmetadata. Long-Term Memory works out who is who from names, so an id such aschar_aznablegets read back asaznableand the character is missed. The field lines are also hard for users to read in the Chat Summary panel, and the package no longer needs them (it has read plain prose summaries since Long-Term Memory 1.4.66).What changed
packages/shared/src/constants/agent-prompts.ts: replaced the text ofDEFAULT_LONG_TERM_MEMORY_CHAT_SUMMARY_PROMPTwith the prompt proposed in the issue. It asks for one full name per person, spelled the same way each time, and seven plain headed sections (What happened, People, Between people, The world, Still open, Recurring, Overall tone) instead of ids, tags and field lines.long-term-memory, thename/summaryJSON contract, theNo durable memory updates.sentinel, the untrusted-data rule,DEFAULT_CHAT_SUMMARY_COMBINE_PROMPT, existing summaries and users' duplicated templates. No code reads the old format.scripts/regressions/prompt.regression.ts: one new case asserting the new headings, the untrusted-data rule, the sentinel and the JSON keys, and that the old field-line markers are gone. It fails on the previous prompt.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Written by an AI agent; the boxes above are intentionally left unticked for a human to verify. Commands the agent ran on the merged head:
pnpm regression:prompt(exit 0, includes the new case) andpnpm check(exit 0). The new case was also run against the old prompt and failed withmissing heading ### What happened. The prompt has not been tried against a live model in the app.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.