mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #939] [Feature]: Add opt-in semantic recall for roleplay rolling summaries #458
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#458
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?
Originally created by @Promansis on GitHub (May 17, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/939
Originally assigned to: @Promansis on GitHub.
What problem does this solve?
Long roleplay chats can accumulate split rolling summary entries, but Roleplay currently injects the compiled full summary every turn by default. That preserves continuity, but it can become heavy and can over-steer turns with irrelevant summary details.
Proposed solution
Add an opt-in Roleplay summary context mode that embeds enabled
chatMetadata.summaryEntriesindividually and recalls only relevant entries for the latest user turn.Default behavior should remain unchanged:
summaryEntriescompile intochatMetadata.summary.New optional Roleplay modes:
Semantic recall should inject a separate
<recalled_summaries>block rather than merging with raw message memory recall.Alternatives considered
Not enough space to write all that. If you want a novel though, just ask.
Additional context
First PR Scope:
summaryEntriesonly.memory_chunkswith typed source metadata.Manual verification should include:
Automated coverage should include focused service tests for summary chunk creation, stale removal, edited-entry re-embedding, and source filtering.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: