mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1574] [MERGED] Fix automated summary source hiding #5123
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#5123
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/1574
Author: @Promansis
Created: 5/29/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @Promansis
Base:
refactor← Head:fix/issue-1526-auto-summary-hide📝 Commits (2)
532bb96Fix automated summary source hidingb2cdd74Handle partial summary source hide failures📊 Changes
6 files changed (+249 additions, -3 deletions)
View changed files
📝
src/engine/generation/agent-runner.ts(+1 -0)📝
src/engine/generation/main-tool-loop.test.ts(+179 -0)📝
src/engine/generation/start-generation.ts(+8 -0)📝
src/engine/generation/tools-runtime.ts(+50 -2)📝
src/features/modes/conversation/hooks/autonomous/use-background-autonomous.ts(+2 -0)📝
src/features/runtime/generation/hooks/use-generate.ts(+9 -1)📄 Description
Linked issue
Closes #1526
Why this change
Automated chat summaries appended rolling summary entries but did not mark the source messages hidden when users enabled
Hide summarized messages from AI. Manual last-N and range summaries already honored that setting, so automated summaries behaved inconsistently.What changed
append_chat_summaryentries.hiddenFromAI/hiddenFromAiwhen the preference is enabled.Refactor impact
Primary owner:
engine generation / runtime generation
Impact areas reviewed:
Boundary notes:
Pressure points touched:
Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm exec vitest run src/engine/generation/main-tool-loop.test.ts.pnpm typecheck.pnpm check:architecture.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
No visible UI changes.
Summary by CodeRabbit
New Features
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.