mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1179] [Issue]: Long-Term Memory: invalidate quarantined notes and expose private vault-mutation hooks #603
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#603
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 (Oct 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1179
Originally assigned to: @Promansis on GitHub.
Summary
Official malformed-note quarantine can leave a previously healthy vault snapshot and recall index serving the quarantined note. The package also lacks a private runtime boundary through which an Engine-owned profile import can coordinate active-vault publication and cache reset; this issue fixes quarantine invalidation and prepares that package-owned boundary only.
Affected package
long-term-memory(Long-Term Memory), package-owned server maintenance, storage caches, and runtime-service registration. This is the safety prerequisite for later A6 fingerprint caching, not the caching implementation itself.Expected behavior
long-term-memory:runtimethat lets a trusted host operation execute within the existing vault lock and reset package-owned initialization/snapshot caches around publication and rollback.recallandrecordPromptAcceptedmethods compatible. This is not a public HTTP filesystem-mutation endpoint or a new permission grant.Actual behavior
repairLongTermMemory(["quarantine_malformed_notes"], root), maintenance quarantines one file but the cached list and rebuilt/loaded recall index still contain that note.server-entry.tscurrently registers onlyrecallandrecordPromptAcceptedonlong-term-memory:runtime; there is no coordinated host vault-mutation/cache-reset method.Steps to reproduce
storage.listNotes()to warm a healthy snapshot.{, then invoke officialrepairLongTermMemory(["quarantine_malformed_notes"], root). Confirm that the quarantine action reports one affected file.storage.listNotes()andloadOrRebuildLongTermMemoryIndexes(root, null, []). Both still contain the quarantined note. Clearing the store/snapshot cache removes it from subsequent reads.Environment
2.4.6, source checkout227e3e12c87a55c40074413f1f32e57d732217da.1.3.34; Agents checkoutd5bd5c2a8b17503df2b4145869f5d5dade684217. The package-owned server/shared trees also match upstreamstagingat2336c3ca59f743f6c03afe9c574c0cdaab8ddc9f.v24.15.0, installedtsx4.23.13.Logs, screenshots, or video
Observed output from disposable fixtures:
Current-behavior characterization exited 0. Separate desired-invariant runs exited 1 with:
The second failure is evidence for the follow-up Engine integration; it is not a promise that this package-only issue repairs the Engine import route. No private chat data or real provider/model calls were used.
Additional context
Dependencies and ownership
staging, without Engine source edits or private Engine imports.packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/{maintenance,vault-snapshot,storage,server-entry}.ts; inspect package restore/recovery helpers to reuse the existing reset behavior rather than creating a second cache system.Scope limits
Validation plan
Proof above is characterization, not repaired behavior or release validation. Installed dependencies differ from the repository's pins; install locked dependencies in the implementation workspace before claiming repository gates. Full Engine profile-import HTTP/transaction integration, installed-package/browser behavior, and the future caching feature remain outside this issue's proof claim.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: