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#1563
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/1558
Author: @Promansis
Created: 10/22/2026
Status: ✅ Merged
Merged: 10/22/2026
Merged by: @Promansis
Base:
staging← Head:fix(long-term-memory)/extraction-output-continuation📝 Commits (3)
7322e4efix(long-term-memory): add "Finish cut-off answers" to ask for the rest of a cut extraction answer (#1555)c029e38chore(long-term-memory): release 1.4.81 (#1555)bc81473fix(long-term-memory): fit each continuation request to the model's context (#1555)📊 Changes
20 files changed (+471 additions, -116 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.81.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(+16 -16)📝
packages/long-term-memory/manifest.json(+5 -5)📝
packages/long-term-memory/server.mjs(+38 -38)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json(+2 -0)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/MemorySettings.tsx(+12 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/extraction/evidence-unit-extraction.ts(+154 -4)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/extraction/extraction-config.ts(+1 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/extraction/source-extraction.ts(+3 -0)📝
packages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/schema/settings.ts(+2 -0)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-extraction-reliability.regression.ts(+188 -9)📝
tests/long-term-memory-storage.regression.ts(+3 -1)📄 Description
Pull request
Linked issue
Closes #1555
Why this change
What changed
long-term-memory1.4.81: a new extraction setting, "Finish cut-off answers" (finishCutOffAnswers), off by default, added the wayaiKeywordExtractionis (shared settings schema, extraction defaults, passed through both extraction calls and thesource_note_loadeddebug details).maxTokensis lowered only when the longer prompt would not fit with it (added after CodeRabbit review).ltm_model_output_truncated.ltm_model_output_incompletewarning now reads: "The answer stopped at the output limit, so Retry will stop at the same place. Turn on 'Finish cut-off answers' in Memory Settings to fetch the rest." With it on and the last round still cut, the warning keeps today's text.tests/long-term-memory-extraction-reliability.regression.tsandtests/long-term-memory-storage.regression.ts. Rebuiltpackages/long-term-memorybundles, manifest, artifact and catalog entries.Package and security impact
long-term-memoryValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
processLongTermMemorySource); setting on, a complete continuation makes 2 calls, the second request carries the salvaged memory incontinuation.alreadyExtractedwith the same source text,maxTokensand response format, the repeat is dropped, the source is complete and the counts balance; with a known context whose fit lowers the continuation budget, the second request is sent with the lowermaxTokensand the source completes; a continuation cut every time makes 1 + 3 calls and ends incomplete with today's warning; a round that adds nothing and a provider failure keep the salvaged memory and end incomplete; a cancel during a continuation rejects with the original error; nothing salvaged stays 1 call with the setting off and on; the setting defaults to off and saves and reads back on.staging(2a473d3eb) the off, on and storage-default steps fail (old warning text, 1 call where 2 are expected, setting undefined); the cancel step fails with its abort check removed. All pass with the fix.npm run check, the package typecheck and build, the catalog, locale and release-notes checks, and the extraction-reliability, storage, routes, browser, loading, extraction-graph, local-characters and candidate-reconciliation suites pass.bc8147301): the new fitted-budget step fails on the previous head (8,192 sent where 2,000 was fitted) and passes with the fix.bc8147301): the package rebuild leaves the tree clean,npm run check, the typecheck and the catalog, locale and release-notes checks pass, and the extraction-reliability and storage suites (the two regression files this PR changes) pass. Hosted CI runs the full suite list on this head.Documentation impact
UI evidence (if applicable)
No screenshot: the change adds one toggle with help text to the existing Memory Settings form, next to "Maximum output tokens".
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.