mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6749] [Feature]: Optional Decision model for Advanced Memory scene detection and recall #3782
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#3782
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 @SpicyMarinara on GitHub (Sep 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6749
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Advanced Memory in Roleplay currently uses a generative helper for scene boundaries and text/embedding similarity for recall. An optional Decision connection such as TypeSafe Jev could evaluate scene boundaries and select relevant scene recaps and original excerpts, while the existing summary helper continues writing and consolidating summaries.
Proposed solution
Alternatives considered
Keep the current text/embedding retrieval unchanged; or use Jev only to rerank an existing shortlist. Batching eligible scene recaps also permits an embedding-free path, with original excerpts evaluated within selected scenes. A large-context generative router is a separate product from Jev's typed Decisions API.
Additional context
Requested and owned by @SpicyMarinara. Codex is implementing this feature against staging; a draft PR will track the work.
Current direct TypeSafe API limits are 64K total request tokens and 32K for state plus the longest question. Implementation must bound requests rather than assume Jev Router's advertised 1M chat context applies to decision calls.
Related open PRs #6744 and #6746 concern ordinary semantic summary retrieval and embedding-index rebuilding; this feature belongs to the separate Advanced Memory path.
Template check