mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6558] [MERGED] fix: preserve POVs and activity in Advanced Recall cutoff summaries #7226
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#7226
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/6558
Author: @SpicyMarinara
Created: 9/23/2026
Status: ✅ Merged
Merged: 9/23/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/sept23-recall-cutoff📝 Commits (2)
8db78e2docs: track Advanced Recall cutoff summary fixes8d4f796fix: preserve Advanced Recall summary POVs and report activity📊 Changes
6 files changed (+385 additions, -157 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
e2e/advanced-memory.e2e.ts(+177 -137)📝
packages/server/src/services/advanced-memory.ts(+12 -13)📝
packages/shared/src/utils/macro-engine.ts(+55 -0)📝
scripts/regressions/advanced-memory-post-generation.regression.ts(+39 -1)📝
scripts/regressions/advanced-memory-summary.regression.ts(+100 -6)📄 Description
Linked issue
Closes #6557
Owner: SpicyMarinara, implemented with Codex.
Why this change
After an Advanced Memory context cutoff, summary work was missing from the Agents task list and generated character conditions received another enclosing guard. Archive preparation also rendered existing corrections for one character before sending them to the helper, dropping other POV sections. In shared mode, compaction could replace a mixed-POV summary using only the first character's rendered text.
What changed
Validation
pnpm checkpassed (formatting, localization, ESLint, types and production builds).pnpm regression:promptpassed./api/healthreturnedstatus: okfrom an isolated local container.The duplicate-guard and held-helper activity assertions failed before the fixes. Restoring the old correction rendering and shared-mode compaction independently also fails the new POV regressions. Additional cases verify both POVs reach the helper, authored conditions remain intact, private sections stay private, and shared-mode compaction retains the entire mixed-POV entry.
GitHub validation: all 38 checks and CodeRabbit passed before merge, including 356/356 Node regressions and the full browser matrix. The initial iPhone shard hit fetch errors 19 ms after a reload in the unrelated GPT Image 2.5 test; the unchanged test passed three local repeats and its CI shard rerun.
Human verification tasks (unchecked intentionally):
pnpm checkpasses locallyCONTRIBUTING.mdProof limits: synthetic chat fixtures and controlled provider responses; no paid model call, physical iPhone, or access to the affected chat. Existing saved summaries are not rewritten automatically.
Docs and release impact
User-focused
[Unreleased]changelog entry included. No new dependency, storage schema, or version change. No user-guide change requiring translation.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.