mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
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#1427
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-Agents/pull/1370
Author: @Promansis
Created: 10/13/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/1364-recall-vault-scan📝 Commits (8)
ea55c1cfix(long-term-memory): reuse unchanged vectors when rebuilding the recall index (#1364)4ffac76fix(long-term-memory): skip the index rebuild after extraction that applied nothing (#1364)dad761cperf(long-term-memory): reuse the verified recall index until a mutation changes the vault (#1364)5d5197cchore(long-term-memory): 1.4.32 — rebuild package, changelog and architecture note (#1364)ed7d5b6Merge upstream/staging into fix(long-term-memory)/1364-recall-vault-scan645adb3fix(long-term-memory): state the recall cache's limits and test the dimension fallback (#1364)8df9cbaMerge upstream/staging (LTM 1.4.31) into fix(long-term-memory)/1364-recall-vault-scan5dd4328Merge branch 'staging' into fix(long-term-memory)/1364-recall-vault-scan📊 Changes
21 files changed (+404 additions, -111 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.32.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+4 -0)📝
packages/long-term-memory/client.js(+1 -1)📝
packages/long-term-memory/docs/ARCHITECTURE.md(+11 -0)📝
packages/long-term-memory/manifest.json(+5 -5)📝
packages/long-term-memory/server.mjs(+40 -40)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/index-state.ts(+13 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/rebuild.ts(+108 -14)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/source-processing.ts(+5 -4)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/vault-snapshot.ts(+28 -1)📝
packages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/schema.ts(+5 -0)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-extraction-graph.regression.ts(+15 -1)📝
tests/long-term-memory-extraction-reliability.regression.ts(+2 -2)...and 1 more files
📄 Description
Pull request
Linked issue
Closes #1364
Why this change
What changed
long-term-memory1.4.31 → 1.4.32.textHashis a new optional field on each embedding entry: the sha256 of the embedded text. It ignores tags, scope and status, so editing a tag re-embeds nothing.invalidateLtmVaultSnapshot. Whole-vault swaps (restore, identity repair, note fork) and malformed-note quarantine clear it too.server.mjs,client.js, manifest hashes,artifacts/long-term-memory-1.4.32.zip,catalog/{,v2/,v3/}catalog.jsonandnotes.json.upstream/staging, which brings 1.4.31 from #1362. The changelog keeps the 1.4.31 entry under 1.4.32.Package and security impact
long-term-memory>=2.4.1 <4.0.0).recall.jsongains an optionaltextHashon each embedding entry. The first rebuild after updating re-embeds everything once, because 1.4.30 and 1.4.31 indexes have notextHash.Known limits
ponytail:comment inrebuild.ts, which also names the upgrade path.recall.jsonis parsed three times. A real embedder should benefit from the skipped embeds, but that wasn't measured offline. Removing the double chunking is a possible follow-up.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Local run on
8df9cbaff, Node v24.15.0, against Marinara-Engine2039583ca(clean). The tree was snapshotted before and after the checks, and the two snapshots match.node scripts/build-feature-packages.mjs long-term-memory(both roots set)npm run checknode scripts/test-catalog-lanes.mjsnode scripts/validate-package-locales.mjsnode scripts/validate-catalog.mjsnode scripts/tests/catalog-release-notes.regression.mjsgit diff --check upstream/staging...HEADtest-ltm.sh all(every LTM regression, including runtime, extraction-graph and extraction-reliability)New regressions in
tests/long-term-memory-runtime.regression.ts:long-term-memory-extraction-reliability, one assertion went from 2 note scans to 1. This is the intended step 3 behaviour: no rebuild after an extraction that applies nothing.645adb330.Documentation impact
packages/long-term-memory/docs/ARCHITECTURE.mddescribes the cache, when it is used, and its limits.Merge danger
Door: two-way. The index is derived data. Reverting costs one full re-embed, plus one quarantined index per vault.
Blast radius: recall. A stale cached index would mean memories recalled from an older vault state until the next mutation or restart. Every in-process write path clears the cache.
UI evidence (if applicable)
Not applicable: no UI change.
🤖 Generated with Claude Code
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.