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#1422
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/1365
Author: @Promansis
Created: 10/13/2026
Status: ✅ Merged
Merged: 10/13/2026
Merged by: @Promansis
Base:
staging← Head:feature(long-term-memory)/1362-event-cause-links📝 Commits (5)
9fec83afeat(long-term-memory): 1.4.33 — store and follow cause links between events (#1362)6546d29chore(long-term-memory): renumber the release to 1.4.31 and rebuild outputs (#1362)be7363bMerge remote-tracking branch 'upstream/staging' into feature(long-term-memory)/1362-event-cause-linksf10f008Merge branch 'staging' into feature(long-term-memory)/1362-event-cause-linksf138124Merge branch 'staging' into feature(long-term-memory)/1362-event-cause-links📊 Changes
15 files changed (+151 additions, -46 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.31.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(+4 -0)📝
packages/long-term-memory/manifest.json(+3 -3)📝
packages/long-term-memory/server.mjs(+2 -2)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/evidence-unit-extraction.ts(+5 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/graph.ts(+6 -4)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-extraction-graph.regression.ts(+50 -0)📝
tests/long-term-memory-index-keys.regression.ts(+44 -0)📄 Description
Linked issue
Closes #1362
Why this change
Long-Term Memory could not record that one remembered event directly caused another, and linked recall could not follow such a link, nor a thread's
paid_off_inlink to the event that paid it off. Extraction now asks for a same-response event-to-eventcaused_bylink, and linked recall follows both link types from either end.The branch also renumbers its provisional release from 1.4.33 to 1.4.31 so the package version is the next one after the fetched
upstream/stagingbase (1.4.30) rather than skipping two versions with no published release behind them, and rebuilds the generated outputs from source.What changed
packages/long-term-memory— 1.4.30 → 1.4.31src/engine/packages/server/src/services/long-term-memory/evidence-unit-extraction.ts: adds one prompt rule asking for acaused_bylink from an event to the same-response event that directly caused it, under the existingSERVER-ENFORCED LINK REQUIREMENTSheading. This is a model request; the server does not enforce the link's presence.src/engine/packages/server/src/services/long-term-memory/graph.ts: linked recall follows an event'scaused_bylink to its cause event and a thread'spaid_off_inlink to its event, from either end. The#1360seed rule, the 0.2 own-relevance floor, scope filtering, memory cap and token budget are unchanged; a graph weight of 0 still turns linked recall off.tests/long-term-memory-extraction-graph.regression.ts: pins that an event-to-eventcaused_bylink survives compilation besideextracted_from, that a bare provider target resolves totimeline_<subjectId>, and that the prompt carries the new rule.tests/long-term-memory-index-keys.regression.ts: pins which link types are followed and which stay unfollowed.scripts/build-feature-packages.mjs: Long-Term Memory version 1.4.31.packages/long-term-memory/manifest.json,packages/long-term-memory/server.mjs,artifacts/long-term-memory-1.4.31.zip,catalog/catalog.json,catalog/v2/catalog.json,catalog/v3/catalog.jsonand the matchingnotes.jsonsidecars.client.jsandagents.jsonare unchanged.upstream/staging(f2646592) was merged into the branch; it merged without conflicts.Package and security impact
long-term-memoryengine.min2.4.1 andengine.maxExclusive4.0.0 are unchanged, as arecapabilityApiandbuiltAgainst.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Not performed by the agent: no Engine install or update, supported-mode check, restart check, or uninstall cleanup was run. Those remain for a human. Every box above is left unchecked for that reason.
Automated proof run locally on this HEAD (
be7363bcc), all exit 0:node scripts/build-feature-packages.mjs long-term-memory— the rebuild reproduced the committed outputs byte-identically (git statusclean afterwards), so the merged catalog state regenerates from source.npm run check(0 errors; 811 pre-existing warnings)node scripts/test-catalog-lanes.mjsnode scripts/validate-package-locales.mjsnode scripts/validate-catalog.mjsnode scripts/tests/catalog-release-notes.regression.mjsgit diff --checktest-ltm.sh extraction-graph,test-ltm.sh index-keys,test-ltm.sh runtimeKnown gap: the private parity harness measured the new rule against a 1.4.18-era vault snapshot that contains no event-to-event
caused_byand no threadpaid_off_inlinks, so it found zero newly followable edges. The measured recall parity (76/76 rows; pooled F1 .573 → .597 short and .465 → .506 long, off-topic injections unchanged) therefore shows no regression rather than a benefit. The benefit is unmeasured until a vault is re-extracted.Documentation impact
No documentation changes are needed: catalog membership, compatibility and user-visible setup are unchanged. The README catalog table already lists
long-term-memory, and the packageCHANGELOG.mdcarries the 1.4.31 entry that the catalog build turns into release notes.UI evidence (if applicable)
Not applicable — no UI change.
Summary by CodeRabbit
New Features
Documentation
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.