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#1288
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/1088
Author: @Promansis
Created: 9/26/2026
Status: ✅ Merged
Merged: 9/27/2026
Merged by: @Promansis
Base:
staging← Head:feature(long-term-memory)/1085-extraction-reconciliation📝 Commits (5)
eb1c0c9feat(long-term-memory): reconcile extracted candidates against existing notes (1.3.22) (#1085)8127b34fix(long-term-memory): gate reconciliation on a complete, note-diverse candidate set60d7cd7Merge branch 'staging' into feature(long-term-memory)/1085-extraction-reconciliation4d82acefix(long-term-memory): keep chunk-only truncation complete and warn on unconfirmed creates7216fa8Merge remote-tracking branch 'origin/feature(long-term-memory)/1085-extraction-reconciliation' into feature(long-term-memory)/1085-extraction-reconciliation📊 Changes
20 files changed (+1484 additions, -110 deletions)
View changed files
➕
artifacts/long-term-memory-1.3.22.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -6)📝
packages/long-term-memory/CHANGELOG.md(+5 -0)📝
packages/long-term-memory/manifest.json(+3 -3)📝
packages/long-term-memory/server.mjs(+58 -58)➕
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/candidate-reconciliation.ts(+252 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/evidence-unit-validation.ts(+1 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/retrieval.ts(+25 -5)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/scoped-targets.ts(+11 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/source-extraction.ts(+40 -2)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/source-processing.ts(+9 -1)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/README.md(+2 -2)➕
tests/long-term-memory-candidate-reconciliation.regression.ts(+753 -0)➕
tests/long-term-memory-reconciliation-recall.regression.ts(+288 -0)📄 Description
Pull request
Linked issue
Closes #1085
Why this change
subjectId. When the model named the same subject differently across sources, the agent created a second note under a new id instead of reusing the existing note, so the vault accumulated duplicates and recall had to surface both.What changed
long-term-memory1.3.22: newcandidate-reconciliation.tsruns a bounded, deterministic post-extraction reconciliation fortimeline_event,thread,world_fact,tone, andanchorcandidates before target resolution. Exactly one in-scope compatible match reuses that note; no match still creates; several plausible matches stay unattached and require review (candidate_reconciliation_ambiguous), so an ambiguous duplicate is never created or auto-applied.subject-identity.tsandscoped-targets.ts.retrieval.tsgains optionalnoteTypes(pre-budget type filter so unrelated chunks cannot crowd a bounded window) anddedupeExactText(reconciliation keeps identical-text notes visible as a genuine ambiguity).scoped-targets.tsexportsremapEvidenceUnitTargetsplus a reachability guard so a match never compiles against a different new note.source-processing.tsforces review when a reconciliation ambiguity is present.server.mjs,manifest.json(1.3.22),artifacts/long-term-memory-1.3.22.zip, catalog lanes v2/v3 and legacy, andcatalog/notes.json.tests/long-term-memory-candidate-reconciliation.regression.tsandtests/long-term-memory-reconciliation-recall.regression.ts;tests/README.mdownership table updated.retrieval.tsnow reports truncation per ranked note, so chunk-budget drops of a note already inside the window no longer mark reconciliation incomplete, andcandidate-reconciliation.tswarnscandidate_reconciliation_incompletewhen an incomplete window shows compatible candidates but no match, instead of compiling a create blind. Two regression cases added and verified red before the fix.Package and security impact
long-term-memorymin2.4.1,maxExclusive4.0.0) andengine-boundary.jsonis unchanged — no new private Engine imports.restartRequiredunchanged, no schema or migration change. The pass adds a draft diagnostic and can set a draft to review-required.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
d29e32ce(upstream/staging); change HEAD7216fa81(feature work8127b34c, review repair4d82ace9, merged withstagingthrough origin's60d7cd73). Engine41d5d12.node scripts/typecheck-packages.mjs long-term-memory,npm run check, andgit diff --checkpass.node scripts/test-catalog-lanes.mjs,node scripts/validate-package-locales.mjs,node scripts/validate-catalog.mjs(38 packages; v2=38, v3=38, legacy=v2), andnode scripts/tests/catalog-release-notes.regression.mjs.node scripts/build-feature-packages.mjs long-term-memory; the 1.3.22 payload and catalog entry are regenerated from source (no hand-edited bundles, hashes, or sizes).MARINARA_AGENTS_ROOT/MARINARA_ENGINE_ROOTset: storage, extraction-graph, extraction-reliability, runtime, conversation-summary-import, scope-targets, scope-fallback-labels, local-characters, review-queue-ambiguous-link, source-task, index-keys, debug-log, routes, routes-scope-identity, candidate-reconciliation, reconciliation-recall, and installation (exact ZIP install).assertPublishProof(repository digest58d13c3b04bbe50c775786af999f405da1609a6c36f0de5c41ff44672013f51a, engine digest16d84b2dc18c246dfa4f271f11933260bc1b09fa82392ec02a89f0fb40519d09).Documentation impact
UI evidence (if applicable)
No UI changes in this PR.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.