[PR #765] [MERGED] fix(long-term-memory): preserve unrelated reviews for missing sources #1125

Closed
opened 2026-10-21 05:03:22 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: fix(long-term-memory)/missing-source-review


📝 Commits (1)

  • 95c6c01 fix(long-term-memory): preserve unrelated reviews for missing sources

📊 Changes

15 files changed (+181 additions, -85 deletions)

View changed files

➕ artifacts/long-term-memory-1.2.24.zip (+0 -0)
📝 catalog/catalog.json (+6 -6)
📝 catalog/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+6 -6)
📝 catalog/v2/notes.json (+6 -0)
📝 catalog/v3/catalog.json (+6 -6)
📝 catalog/v3/notes.json (+6 -0)
📝 packages/long-term-memory/CHANGELOG.md (+5 -0)
📝 packages/long-term-memory/client.js (+19 -19)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx (+35 -33)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+2 -0)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-browser.regression.ts (+78 -1)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+2 -10)

📄 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 #764

Why this change

  • A deleted source note could leave an extraction draft behind. Review then treated the missing note as a fatal context-loading error, blocking unrelated healthy reviews and giving the user no actionable detail.

What changed

  • Updated long-term-memory Review so missing source notes are optional context, visibly blocked from acceptance, and do not prevent healthy reviews.
  • Retained rejected suggestions tied to a missing source so users can clear or recover them.
  • Showed the actual context-loading error beside Retry for genuine request failures.
  • Added browser regression coverage and rebuilt the v1.2.24 manifest, client bundle, ZIP artifact, catalog lanes, and release notes.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none; remains >=2.4.1 <4.0.0
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: package update only; no storage schema or lifecycle change

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 evidence: test-ltm.sh all, test-ci.sh, focused browser/route/storage/UI checks, and git diff --check passed. Browser coverage verifies missing drafts, a source disappearing after freshness evaluation, orphaned rejected suggestions, healthy-review continuity, and transient retry recovery. A manual Android install/update remains pending.

Documentation impact

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

UI evidence (if applicable)

  • The browser regression captured missing-source Review states at mobile and desktop widths. The source is labeled as missing, acceptance is unavailable, rejected suggestions remain reachable, and unrelated review sources remain available.

Summary by CodeRabbit

  • Bug Fixes

    • Drafts with missing source notes now remain visibly blocked without preventing review of other sources.
    • Missing sources display clear labels and guidance, and related drafts cannot be accepted.
    • Context-loading errors now show details alongside a Retry option.
    • Orphaned rejected suggestions remain accessible for cleanup or recovery.
  • Release

    • Updated the long-term-memory package to version 1.2.24.

🔄 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/765 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 9/9/2026 **Status:** ✅ Merged **Merged:** 9/9/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix(long-term-memory)/missing-source-review` --- ### 📝 Commits (1) - [`95c6c01`](https://github.com/Pasta-Devs/Marinara-Agents/commit/95c6c01b44c9e9dfd1e3a13108674e86651076c7) fix(long-term-memory): preserve unrelated reviews for missing sources ### 📊 Changes **15 files changed** (+181 additions, -85 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.2.24.zip` (+0 -0) 📝 `catalog/catalog.json` (+6 -6) 📝 `catalog/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+6 -6) 📝 `catalog/v2/notes.json` (+6 -0) 📝 `catalog/v3/catalog.json` (+6 -6) 📝 `catalog/v3/notes.json` (+6 -0) 📝 `packages/long-term-memory/CHANGELOG.md` (+5 -0) 📝 `packages/long-term-memory/client.js` (+19 -19) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx` (+35 -33) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+2 -0) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-browser.regression.ts` (+78 -1) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+2 -10) </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 #764 ## Why this change - A deleted source note could leave an extraction draft behind. Review then treated the missing note as a fatal context-loading error, blocking unrelated healthy reviews and giving the user no actionable detail. ## What changed - Updated `long-term-memory` Review so missing source notes are optional context, visibly blocked from acceptance, and do not prevent healthy reviews. - Retained rejected suggestions tied to a missing source so users can clear or recover them. - Showed the actual context-loading error beside Retry for genuine request failures. - Added browser regression coverage and rebuilt the v1.2.24 manifest, client bundle, ZIP artifact, catalog lanes, and release notes. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none; remains `>=2.4.1 <4.0.0` - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: package update only; no storage schema or lifecycle change ## 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 evidence: `test-ltm.sh all`, `test-ci.sh`, focused browser/route/storage/UI checks, and `git diff --check` passed. Browser coverage verifies missing drafts, a source disappearing after freshness evaluation, orphaned rejected suggestions, healthy-review continuity, and transient retry recovery. A manual Android install/update remains pending. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - The browser regression captured missing-source Review states at mobile and desktop widths. The source is labeled as missing, acceptance is unavailable, rejected suggestions remain reachable, and unrelated review sources remain available. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Drafts with missing source notes now remain visibly blocked without preventing review of other sources. - Missing sources display clear labels and guidance, and related drafts cannot be accepted. - Context-loading errors now show details alongside a Retry option. - Orphaned rejected suggestions remain accessible for cleanup or recovery. - **Release** - Updated the long-term-memory package to version 1.2.24. <!-- 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-21 05:03:23 +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#1125
No description provided.