[PR #432] [MERGED] feat(long-term-memory): integrate feedback-validity stack #962

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/432
Author: @Promansis
Created: 8/19/2026
Status: ✅ Merged
Merged: 8/19/2026
Merged by: @Promansis

Base: staging ← Head: feature(long-term-memory)/feedback-validity-stack


📝 Commits (10+)

  • c3641c2 feat(long-term-memory): recover review work
  • ae79ff9 fix(long-term-memory): recover partial review batches
  • 3592359 fix(long-term-memory): ignore applied review mutations
  • beb08c6 feat(long-term-memory): add review preflight
  • 5c7bcfa fix(long-term-memory): make preflight reviewable
  • af7b614 feat(long-term-memory): record zero-match recall outcomes
  • 47ceeb1 feat(long-term-memory): clarify imported source modes
  • 2684189 fix(long-term-memory): complete review preflight state
  • 730f06f fix(long-term-memory): widen dedup comparison
  • 24c4c47 fix(long-term-memory): cover interior dedup matches

📊 Changes

27 files changed (+2643 additions, -346 deletions)

View changed files

➕ artifacts/long-term-memory-1.2.8.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v3/catalog.json (+8 -8)
📝 packages/long-term-memory/client.js (+24 -24)
📝 packages/long-term-memory/manifest.json (+5 -5)
📝 packages/long-term-memory/server.mjs (+55 -55)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LastInjectionSummary.tsx (+24 -13)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx (+50 -0)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx (+1024 -140)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx (+23 -0)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+31 -0)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/shared-controls.tsx (+10 -5)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/dedup.ts (+46 -9)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/generation-injection.ts (+8 -2)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/interop.ts (+6 -4)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/reconciliation.ts (+257 -6)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes.ts (+24 -1)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/usage.ts (+20 -0)
📝 packages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/schema.ts (+47 -0)

...and 7 more files

📄 Description

Pull request

Important

Contributions target staging. Only SpicyMarinara may promote this repository's staging branch to main.
Outside and first-time contributors also require an approving review from SpicyMarinara.

Linked issue

Closes #416
Closes #417
Closes #418
Closes #419
Closes #423
Closes #429
Closes #430
Closes #431

Why this change

  • Long-Term Memory review recovery, preflight, recall observability, imported-mode clarity, dedup reliability, and manual keyword entry need to ship as one consistent package release rather than as partial generated artifacts.

What changed

  • Preserved review selections and edits, added targeted partial-batch recovery, review progress, disposition labels, and visible editor limits.
  • Added server-authoritative selected-subset preflight with row blockers and conflict details.
  • Recorded zero-match recall outcomes, clarified imported source modes, and fixed long-section dedup comparison gaps.
  • Kept the manual keyword entry restoration and compact info controls.
  • Rebuilt Long-Term Memory 1.2.8 payloads, artifact, manifest, and v2/v3/legacy catalog entries.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: unchanged; package remains compatible with its declared Engine range.
  • New or changed permissions/entrypoints: no permission or entrypoint changes; existing executable client/server payloads changed.
  • Restart, storage, update, or uninstall impact: package update requires the existing restart flow; review state uses package client persistence and recall receipts retain existing package storage ownership.

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

  • Reused the clean review and automated baseline for unchanged HEAD 6a93a74f.
  • Focused Long-Term Memory route, lifecycle, storage, extraction-graph, import, and UI regression coverage was included in the reviewed stack.
  • Manual install/update, restart, offline restart, mobile, reduced-motion, and uninstall verification remain human proof gaps.

Documentation impact

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

No documentation source changes are needed. Catalog membership, compatibility, setup, and the documented Long-Term Memory workflow are unchanged; manual keyword entry restores previously supported Vault behavior.

UI evidence (if applicable)

  • Not attached; manual UI verification remains outstanding.

Summary by CodeRabbit

  • New Features

    • Added manual keyword editing with validation and character limits.
    • Added review-queue preflight checks, conflict details, progress tracking, retries, and draft-state persistence.
    • Added source-mode labels for imported content and previews.
    • Added clearer recall outcomes, including “no memories found” states and timestamps.
  • Bug Fixes

    • Improved duplicate-memory detection for long content.
    • Corrected source-mode handling and zero-match memory recording.
    • Updated the Long-Term Memory package to version 1.2.8.

🔄 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/432 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 8/19/2026 **Status:** ✅ Merged **Merged:** 8/19/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(long-term-memory)/feedback-validity-stack` --- ### 📝 Commits (10+) - [`c3641c2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c3641c2ca2dcf6566f3deca82d38019442f51037) feat(long-term-memory): recover review work - [`ae79ff9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ae79ff99aef587a53fa4636ce5d6fe8a089de273) fix(long-term-memory): recover partial review batches - [`3592359`](https://github.com/Pasta-Devs/Marinara-Agents/commit/35923592b94cd39c10ea2abfd725778b3c34107e) fix(long-term-memory): ignore applied review mutations - [`beb08c6`](https://github.com/Pasta-Devs/Marinara-Agents/commit/beb08c6baa55744ac5f3c517bb525a1668c63ac6) feat(long-term-memory): add review preflight - [`5c7bcfa`](https://github.com/Pasta-Devs/Marinara-Agents/commit/5c7bcfa1014720f4b7ae2e89b9a4b8f5ebccb664) fix(long-term-memory): make preflight reviewable - [`af7b614`](https://github.com/Pasta-Devs/Marinara-Agents/commit/af7b614d68c988a1afcac2bb5a9c73755fa3b1fb) feat(long-term-memory): record zero-match recall outcomes - [`47ceeb1`](https://github.com/Pasta-Devs/Marinara-Agents/commit/47ceeb1444da1b8b6f81ab48d276e82d843b31f3) feat(long-term-memory): clarify imported source modes - [`2684189`](https://github.com/Pasta-Devs/Marinara-Agents/commit/2684189be39807660378173e602bdc86cd387ff7) fix(long-term-memory): complete review preflight state - [`730f06f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/730f06f6d61de3c0672e8ad4c449875051272e32) fix(long-term-memory): widen dedup comparison - [`24c4c47`](https://github.com/Pasta-Devs/Marinara-Agents/commit/24c4c47cb2bdd93a9f8bd7972eb4256b5eb6b456) fix(long-term-memory): cover interior dedup matches ### 📊 Changes **27 files changed** (+2643 additions, -346 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.2.8.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `packages/long-term-memory/client.js` (+24 -24) 📝 `packages/long-term-memory/manifest.json` (+5 -5) 📝 `packages/long-term-memory/server.mjs` (+55 -55) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LastInjectionSummary.tsx` (+24 -13) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/MemoryVault.tsx` (+50 -0) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx` (+1024 -140) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/SourcesWorkspace.tsx` (+23 -0) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+31 -0) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/shared-controls.tsx` (+10 -5) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/dedup.ts` (+46 -9) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/generation-injection.ts` (+8 -2) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/interop.ts` (+6 -4) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/reconciliation.ts` (+257 -6) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes.ts` (+24 -1) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/usage.ts` (+20 -0) 📝 `packages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/schema.ts` (+47 -0) _...and 7 more files_ </details> ### 📄 Description # Pull request > [!IMPORTANT] > Contributions target `staging`. Only `SpicyMarinara` may promote this repository's `staging` branch to `main`. > Outside and first-time contributors also require an approving review from `SpicyMarinara`. ## Linked issue Closes #416 Closes #417 Closes #418 Closes #419 Closes #423 Closes #429 Closes #430 Closes #431 ## Why this change - Long-Term Memory review recovery, preflight, recall observability, imported-mode clarity, dedup reliability, and manual keyword entry need to ship as one consistent package release rather than as partial generated artifacts. ## What changed - Preserved review selections and edits, added targeted partial-batch recovery, review progress, disposition labels, and visible editor limits. - Added server-authoritative selected-subset preflight with row blockers and conflict details. - Recorded zero-match recall outcomes, clarified imported source modes, and fixed long-section dedup comparison gaps. - Kept the manual keyword entry restoration and compact info controls. - Rebuilt Long-Term Memory 1.2.8 payloads, artifact, manifest, and v2/v3/legacy catalog entries. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: unchanged; package remains compatible with its declared Engine range. - New or changed permissions/entrypoints: no permission or entrypoint changes; existing executable client/server payloads changed. - Restart, storage, update, or uninstall impact: package update requires the existing restart flow; review state uses package client persistence and recall receipts retain existing package storage ownership. ## 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 - Reused the clean review and automated baseline for unchanged HEAD `6a93a74f`. - Focused Long-Term Memory route, lifecycle, storage, extraction-graph, import, and UI regression coverage was included in the reviewed stack. - Manual install/update, restart, offline restart, mobile, reduced-motion, and uninstall verification remain human proof gaps. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation No documentation source changes are needed. Catalog membership, compatibility, setup, and the documented Long-Term Memory workflow are unchanged; manual keyword entry restores previously supported Vault behavior. ## UI evidence (if applicable) - Not attached; manual UI verification remains outstanding. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Added manual keyword editing with validation and character limits. - Added review-queue preflight checks, conflict details, progress tracking, retries, and draft-state persistence. - Added source-mode labels for imported content and previews. - Added clearer recall outcomes, including “no memories found” states and timestamps. - **Bug Fixes** - Improved duplicate-memory detection for long content. - Corrected source-mode handling and zero-match memory recording. - Updated the Long-Term Memory package to version 1.2.8. <!-- 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:32:44 +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#962
No description provided.