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#1542
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/1551
Author: @Promansis
Created: 10/21/2026
Status: 🔄 Open
Base:
staging← Head:fix(long-term-memory)/integrity-import-raw-errors📝 Commits (2)
dbd8772fix(long-term-memory): stop sending raw error text from the integrity report and model loading on import and re-extract (#1549)476cf71Merge upstream/staging into fix(long-term-memory)/integrity-import-raw-errors; release long-term-memory 1.4.78📊 Changes
16 files changed (+209 additions, -106 deletions)
View changed files
➕
artifacts/long-term-memory-1.4.78.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(+33 -33)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/maintenance/maintenance.ts(+8 -2)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/package-runtime.ts(+28 -0)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes/notes.ts(+7 -16)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/sources/interop.ts(+6 -14)📝
scripts/build-feature-packages.mjs(+1 -1)📝
tests/long-term-memory-routes.regression.ts(+83 -1)📄 Description
Pull request
Linked issue
Closes #1549
Why this change
EACCES: permission denied, open '/…/vault/…'), which Memory settings shows in its integrity list. The identity-repair apply, repair and backup-restore responses carry the same report.ltm_model_configurationwith the failure's own message. That suits the Engine's setup messages ("Choose a language model connection before generating content."), but it also covered server failures such as a corrupt key file, whose message names the key file's path. The import route did not log it.What changed
long-term-memory: an unreadable note file or event log is reported as "Note file could not be read or validated." or "Event log could not be read.", followed by "Details are in the server log." A note whose JSON or fields are broken keeps its parse or schema message, as a broken event-log line already does. Issue codes, severities, paths and counts are unchanged; the errors were already logged.long-term-memory: a newresolvePackageLanguageModelhelper, used by import and re-extract, keeps the Engine's setup messages as 400ltm_model_configurationand sends any other resolver failure torouteError, which logs it and returns the route's fallback. Setup messages are matched by their opening words, because the Engine's errors carry no code.long-term-memory: re-extract now reads the extraction settings outside the old catch-all, as import already did. This closes a third path that sent raw text. For a broken extraction settings file:ltm_model_configurationwithEACCES: permission denied, open '<absolute path>/config/extraction.json'; after, 500ltm_unexpected_failurewith the route's fallback, and the error is logged.ltm_model_configuration; after, 400ltm_invalid_requestwith the same validation text.tests/long-term-memory-routes.regression.ts(scope-identity and imports scenarios). Rebuiltpackages/long-term-memorybundles, artifact and catalog entry.Package and security impact
long-term-memoryltm_invalid_requestinstead of 400ltm_model_configuration. Engine setup messages are unchanged.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
staging, import and re-extract return it as a 400ltm_model_configuration; with the fix they return the route's fallback, and the import error reaches the server log. The existing missing-model cases now also check that the Engine's setup message is kept.{and a valid JSON note that fails the note schema. Onstaging,GET /integritycarriesEACCES: permission denied, open '<absolute path>'; with the fix the two unreadable files get the fixed messages with their vault paths, the parse error still mentions JSON, the schema error still shows the validation text, and the body does not contain the vault's absolute root.Documentation impact
UI evidence (if applicable)
No UI change. The integrity list in Memory settings shows the new message text for an unreadable file.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.