mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2040] [MERGED] Fix Memory Recall hidden flag compatibility #5402
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#5402
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/2040
Author: @cha1latte
Created: 6/3/2026
Status: ✅ Merged
Merged: 6/3/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-2030-hidden-memory📝 Commits (1)
f8b2affFix hidden memory recall flag📊 Changes
1 file changed (+73 additions, -12 deletions)
View changed files
📝
src-tauri/src/commands/storage/chats.rs(+73 -12)📄 Description
Linked issue
Closes #2030
Why this change
hiddenFromAiflag, but legacy/imported messages can carry onlyhiddenFromAI, letting hidden content into rebuilt memory chunks.What changed
extravalues and treat eitherhiddenFromAIorhiddenFromAias hidden.Refactor impact
Primary owner:
Rust storage / Memory Recall
Impact areas reviewed:
Boundary notes:
src-tauri/src/commands/storage/chats.rs.Pressure points touched:
chat_memories_refresh/refresh_chat_memoriesfiltering path only.Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
cargo test --manifest-path src-tauri/Cargo.toml refresh_chat_memories_skips_legacy_and_current_hidden_flagsfailed because rebuilt memory content includedlegacy hidden memoryandstring hidden memory.cargo test --manifest-path src-tauri/Cargo.toml refresh_chat_memories_skips_legacy_and_current_hidden_flagspassed.1 passed; 0 failed; 404 filtered out.cargo check --manifest-path src-tauri/Cargo.tomlpassed.pnpm checkpassed afterpnpm install --frozen-lockfilesupplied missingnode_modulesin the isolated worktree.workflow-health.mjsandmarinara-proof-gate.mjswere not present on this machine, so those specific helper gates could not be run.Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
N/A - no visible UI surface changed. The affected path is Rust storage filtering for Memory Recall refresh, verified by targeted Rust regression and
pnpm check.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.