[PR #112] [MERGED] feat: release Long-Term Memory 1.0.0 #812

Closed
opened 2026-10-20 17:31:12 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/112
Author: @Promansis
Created: 7/26/2026
Status: ✅ Merged
Merged: 7/28/2026
Merged by: @SpicyMarinara

Base: main ← Head: release/long-term-memory-1.0.0


📝 Commits (9)

  • a4a5ffb feat: release Long-Term Memory 1.0.0
  • cb884c5 fix: support Windows package builds
  • f720f29 fix(ltm): address release review feedback
  • d7bd4d4 fix(ltm): address remaining review feedback
  • f50bccb fix(ltm): address follow-up review feedback
  • 0fdd7a5 fix(ltm): use readable active template label
  • 43923c0 build(ltm): refresh package artifacts
  • be5de2b fix(ltm): align editor UI and localize copy
  • 61474e1 fix(ltm): address localization review feedback

📊 Changes

110 files changed (+39678 additions, -40 deletions)

View changed files

📝 README.md (+3 -2)
➕ artifacts/long-term-memory-1.0.0.zip (+0 -0)
📝 artwork/agent-covers/art-direction.json (+1 -0)
➕ artwork/agent-covers/long-term-memory.png (+0 -0)
📝 catalog/catalog.json (+74 -1)
📝 catalog/v2/catalog.json (+74 -1)
📝 catalog/v3/catalog.json (+1 -1)
➕ packages/long-term-memory/agents.json (+22 -0)
➕ packages/long-term-memory/client.js (+222 -0)
➕ packages/long-term-memory/engine-boundary.json (+12 -0)
➕ packages/long-term-memory/manifest.json (+63 -0)
➕ packages/long-term-memory/server.mjs (+83 -0)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx (+941 -0)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ChatSettings.tsx (+191 -0)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ExtractionPromptTemplates.tsx (+449 -0)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LastInjectionSummary.tsx (+104 -0)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx (+792 -0)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryNavigation.tsx (+107 -0)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx (+2019 -0)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+2792 -0)

...and 80 more files

📄 Description

Linked issue

Closes #111

Why this change

  • Add an optional first-party Long-Term Memory system for users who need durable, scoped recall across long-running chats without increasing the default Marinara Engine footprint.
  • Publish the completed package as its initial public 1.0.0 release. Earlier version numbers were private development iterations, not legacy releases or supported upgrade baselines.

What changed

  • Added package-owned Long-Term Memory shared, server, and client source under packages/long-term-memory/src/engine/.
  • Added extraction, review, source management, scoped vault storage, retrieval, maintenance, import/export, backup, and generation-injection behavior.
  • Added package client surfaces for Chat Settings and the Long-Term Memory workspace.
  • Added the manifest-v2 boundary, package definition, generated client/server payloads, and reproducible long-term-memory-1.0.0.zip artifact.
  • Added the package to the v2 and legacy catalogs, README catalog, activation guidance, artwork inventory, build pipeline, and catalog validation.
  • Generalized the existing package private-import boundary helper so Long-Term Memory can use the same isolation check while preserving the existing Hierarchical Maps API and behavior.
  • Added focused storage, extraction graph, runtime, privileged route, debug-log, and exact-artifact lifecycle regressions.
  • Kept all private development-version artifacts, browser test files, planning files, demos, and screenshots out of the release.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: requires Marinara Engine >=2.3.5 <2.4.0, capability API 1.6; built against Engine commit 4e651e9c63722b40ebd5b785cbf22541e3095f39
  • New or changed permissions/entrypoints: agent-runtime, chat-read, chat-write, routes, storage, and ui; adds agents.json, server.mjs, and client.js entrypoints
  • Restart, storage, update, or uninstall impact: installation and runtime changes require restart; durable data is stored outside the installed package version and is preserved across restart, offline restart, uninstall, and reinstall
  • Security-sensitive paths: privileged /api/long-term-memory routes, package-owned storage, executable client/server bundles, archive generation, hashes, catalog metadata, and capability host calls
  • Core claim: only the declared package can register its privileged routes and services, its artifact matches the manifest and catalog hashes, and uninstall removes executable package files without deleting the durable vault

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Automated catalog proof completed: node scripts/test-catalog-lanes.mjs passed.
  • Automated catalog proof completed: node scripts/validate-catalog.mjs reported 30 valid packages, with v2=30, v3=6, and the legacy catalog matching v2.
  • Whitespace proof completed: git diff --check passed.
  • Rebuilt only Long-Term Memory with MARINARA_ENGINE_ROOT=/home/damo/dev/Marinara-Engine node scripts/build-feature-packages.mjs long-term-memory.
  • Verified that the release tree contains only artifacts/long-term-memory-1.0.0.zip for this package and no development-version references.
  • Verified that packages/hierarchical-maps/ and artifacts/hierarchical-maps-1.1.10.zip are unchanged from upstream/main.
  • Ran long-term-memory-debug-log.regression.ts: bounds, rotation, and filters passed.
  • Ran long-term-memory-extraction-graph.regression.ts: static grounding, change linkage, relationship causes, and source-link normalization passed.
  • Ran long-term-memory-routes.regression.ts: privileged route registration, validation, package settings, route behavior, and cleanup completed successfully.
  • Ran long-term-memory-runtime.regression.ts: recall, receipts, source exclusion, activation, and cleanup passed.
  • Ran long-term-memory-storage.regression.ts: restart, recovery, self-check, cleanup, and stable storage root passed.
  • Ran long-term-memory-lifecycle.regression.ts: exact 1.0.0 artifact install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation passed against the real Engine package manager.
  • Negative coverage includes invalid imports, unauthorized or malformed privileged route requests, incompatible package metadata, storage recovery cases, source-boundary violations, and cleanup checks.
  • Manual desktop/mobile UI walkthrough, supported-mode activation, and visual evidence have not yet been performed for this draft.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

The Agents README and regression instructions are updated. The corresponding Engine documentation change is tracked with the Engine host integration and remains a manual release gate.

UI evidence (if applicable)

Not attached yet. Add desktop and mobile Long-Term Memory workspace and Chat Settings evidence before marking this PR ready for review.

Summary by CodeRabbit

  • New Features
    • Added the Long-Term Memory agent to the official catalog (including a new cover) and increased Misc Agents count.
    • Delivered full Long-Term Memory UX: chat settings, vault management, source import, review queue, note transfer, recall/retrieval, and an in-app “Debug Activity” viewer.
    • Added backup/restore, integrity checks with repair, and identity-repair workflows.
  • Documentation
    • Updated catalog totals, maintainer guidance, and package activation guidance.
  • Tests
    • Added/expanded end-to-end Long-Term Memory regression coverage (debug log, routes, runtime, lifecycle, and storage).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/112 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 7/26/2026 **Status:** ✅ Merged **Merged:** 7/28/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `main` ← **Head:** `release/long-term-memory-1.0.0` --- ### 📝 Commits (9) - [`a4a5ffb`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a4a5ffb4b140839635bd3ea487123d3f4badbc9e) feat: release Long-Term Memory 1.0.0 - [`cb884c5`](https://github.com/Pasta-Devs/Marinara-Agents/commit/cb884c543c98415b9174a0c543ea5b90fac1dadc) fix: support Windows package builds - [`f720f29`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f720f29be0e4d477f99fd5006399d577008ec4f6) fix(ltm): address release review feedback - [`d7bd4d4`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d7bd4d4cd487c88f3f8c0a17747d1ce079540565) fix(ltm): address remaining review feedback - [`f50bccb`](https://github.com/Pasta-Devs/Marinara-Agents/commit/f50bccbe81b734d39421f9f9fbc42cf6fba61436) fix(ltm): address follow-up review feedback - [`0fdd7a5`](https://github.com/Pasta-Devs/Marinara-Agents/commit/0fdd7a5f23c3287b5d94f1df5f83f3c540637a01) fix(ltm): use readable active template label - [`43923c0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/43923c04b15ed5a31834fab7810bb34ae16f604c) build(ltm): refresh package artifacts - [`be5de2b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/be5de2bbda728c47c1760ddca3b65f4d6d0e4b5c) fix(ltm): align editor UI and localize copy - [`61474e1`](https://github.com/Pasta-Devs/Marinara-Agents/commit/61474e18891cf4a6e51aa53efa3300ddaa1d4337) fix(ltm): address localization review feedback ### 📊 Changes **110 files changed** (+39678 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+3 -2) ➕ `artifacts/long-term-memory-1.0.0.zip` (+0 -0) 📝 `artwork/agent-covers/art-direction.json` (+1 -0) ➕ `artwork/agent-covers/long-term-memory.png` (+0 -0) 📝 `catalog/catalog.json` (+74 -1) 📝 `catalog/v2/catalog.json` (+74 -1) 📝 `catalog/v3/catalog.json` (+1 -1) ➕ `packages/long-term-memory/agents.json` (+22 -0) ➕ `packages/long-term-memory/client.js` (+222 -0) ➕ `packages/long-term-memory/engine-boundary.json` (+12 -0) ➕ `packages/long-term-memory/manifest.json` (+63 -0) ➕ `packages/long-term-memory/server.mjs` (+83 -0) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ActivityView.tsx` (+941 -0) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ChatSettings.tsx` (+191 -0) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ExtractionPromptTemplates.tsx` (+449 -0) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LastInjectionSummary.tsx` (+104 -0) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx` (+792 -0) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryNavigation.tsx` (+107 -0) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemorySettings.tsx` (+2019 -0) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+2792 -0) _...and 80 more files_ </details> ### 📄 Description ## Linked issue Closes #111 ## Why this change - Add an optional first-party Long-Term Memory system for users who need durable, scoped recall across long-running chats without increasing the default Marinara Engine footprint. - Publish the completed package as its initial public `1.0.0` release. Earlier version numbers were private development iterations, not legacy releases or supported upgrade baselines. ## What changed - Added package-owned Long-Term Memory shared, server, and client source under `packages/long-term-memory/src/engine/`. - Added extraction, review, source management, scoped vault storage, retrieval, maintenance, import/export, backup, and generation-injection behavior. - Added package client surfaces for Chat Settings and the Long-Term Memory workspace. - Added the manifest-v2 boundary, package definition, generated client/server payloads, and reproducible `long-term-memory-1.0.0.zip` artifact. - Added the package to the v2 and legacy catalogs, README catalog, activation guidance, artwork inventory, build pipeline, and catalog validation. - Generalized the existing package private-import boundary helper so Long-Term Memory can use the same isolation check while preserving the existing Hierarchical Maps API and behavior. - Added focused storage, extraction graph, runtime, privileged route, debug-log, and exact-artifact lifecycle regressions. - Kept all private development-version artifacts, browser test files, planning files, demos, and screenshots out of the release. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: requires Marinara Engine `>=2.3.5 <2.4.0`, capability API `1.6`; built against Engine commit `4e651e9c63722b40ebd5b785cbf22541e3095f39` - New or changed permissions/entrypoints: `agent-runtime`, `chat-read`, `chat-write`, `routes`, `storage`, and `ui`; adds `agents.json`, `server.mjs`, and `client.js` entrypoints - Restart, storage, update, or uninstall impact: installation and runtime changes require restart; durable data is stored outside the installed package version and is preserved across restart, offline restart, uninstall, and reinstall - Security-sensitive paths: privileged `/api/long-term-memory` routes, package-owned storage, executable client/server bundles, archive generation, hashes, catalog metadata, and capability host calls - Core claim: only the declared package can register its privileged routes and services, its artifact matches the manifest and catalog hashes, and uninstall removes executable package files without deleting the durable vault ## Validation - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry - [x] Installed or updated the affected package through Marinara Engine - [x] Checked supported modes, restart behavior, and uninstall cleanup - [x] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Automated catalog proof completed: `node scripts/test-catalog-lanes.mjs` passed. - Automated catalog proof completed: `node scripts/validate-catalog.mjs` reported 30 valid packages, with v2=30, v3=6, and the legacy catalog matching v2. - Whitespace proof completed: `git diff --check` passed. - Rebuilt only Long-Term Memory with `MARINARA_ENGINE_ROOT=/home/damo/dev/Marinara-Engine node scripts/build-feature-packages.mjs long-term-memory`. - Verified that the release tree contains only `artifacts/long-term-memory-1.0.0.zip` for this package and no development-version references. - Verified that `packages/hierarchical-maps/` and `artifacts/hierarchical-maps-1.1.10.zip` are unchanged from `upstream/main`. - Ran `long-term-memory-debug-log.regression.ts`: bounds, rotation, and filters passed. - Ran `long-term-memory-extraction-graph.regression.ts`: static grounding, change linkage, relationship causes, and source-link normalization passed. - Ran `long-term-memory-routes.regression.ts`: privileged route registration, validation, package settings, route behavior, and cleanup completed successfully. - Ran `long-term-memory-runtime.regression.ts`: recall, receipts, source exclusion, activation, and cleanup passed. - Ran `long-term-memory-storage.regression.ts`: restart, recovery, self-check, cleanup, and stable storage root passed. - Ran `long-term-memory-lifecycle.regression.ts`: exact `1.0.0` artifact install, offline restart, backup inclusion, uninstall, reinstall, and durable-byte preservation passed against the real Engine package manager. - Negative coverage includes invalid imports, unauthorized or malformed privileged route requests, incompatible package metadata, storage recovery cases, source-boundary violations, and cleanup checks. - Manual desktop/mobile UI walkthrough, supported-mode activation, and visual evidence have not yet been performed for this draft. ## Documentation impact - [ ] No documentation changes needed - [x] Updated this README catalog and package guidance - [x] Updated linked Marinara Engine documentation The Agents README and regression instructions are updated. The corresponding Engine documentation change is tracked with the Engine host integration and remains a manual release gate. ## UI evidence (if applicable) Not attached yet. Add desktop and mobile Long-Term Memory workspace and Chat Settings evidence before marking this PR ready for review. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added the **Long-Term Memory** agent to the official catalog (including a new cover) and increased **Misc Agents** count. * Delivered full Long-Term Memory UX: chat settings, vault management, source import, review queue, note transfer, recall/retrieval, and an in-app “Debug Activity” viewer. * Added backup/restore, integrity checks with repair, and identity-repair workflows. * **Documentation** * Updated catalog totals, maintainer guidance, and package activation guidance. * **Tests** * Added/expanded end-to-end Long-Term Memory regression coverage (debug log, routes, runtime, lifecycle, and storage). <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:31:12 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Agents#812
No description provided.