[PR #718] [MERGED] feat(long-term-memory): clarify Review Queue draft titles #1105

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

📋 Pull Request Information

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

Base: staging ← Head: feature(long-term-memory)/review-draft-titles


📝 Commits (2)

  • 4457da8 feat(long-term-memory): clarify review draft titles
  • 3028e7b fix(long-term-memory): harden draft title display

📊 Changes

9 files changed (+174 additions, -44 deletions)

View changed files

📝 artifacts/long-term-memory-1.2.20.zip (+0 -0)
📝 catalog/catalog.json (+4 -4)
📝 catalog/v2/catalog.json (+4 -4)
📝 catalog/v3/catalog.json (+4 -4)
📝 packages/long-term-memory/client.js (+13 -13)
📝 packages/long-term-memory/manifest.json (+2 -2)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx (+19 -13)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json (+0 -1)
📝 tests/long-term-memory-lifecycle.regression.ts (+128 -3)

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

Why this change

Review Queue rows previously used source-local Draft 1 labels, making drafts indistinguishable without opening them.

What changed

  • Promoted the existing reviewDraftTitle(item) value to the primary navigator row label.
  • Aligned the selected-draft workbench heading with the same title while preserving source context, mutation count, freshness, selection, and responsive pane behavior.
  • Hardened whitespace-only fallback titles and long unbroken workbench titles.
  • Extended the existing lifecycle browser fixture for cross-source titles, multi-draft titles, fallback copy, selection, mobile overflow, and workbench alignment.
  • Rebuilt Long-Term Memory client.js, artifact ZIP, manifest hashes, and v2/v3/legacy catalog entries.

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: No runtime, storage, or lifecycle contract changes; generated package lifecycle coverage remains passing.

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 lifecycle browser regression passed with MARINARA_ENGINE_ROOT=/home/damo/dev/Marinara-Engine npx tsx tests/long-term-memory-lifecycle.regression.ts, including install, offline restart, backup inclusion, uninstall, reinstall, durable-byte preservation, title fallback, and 390px overflow coverage.
  • Focused feedback-clarity and chat-settings UI regressions passed.
  • npm run check, catalog lane, package locale, catalog, release-note, and git diff --check validation passed; ESLint reported only existing warnings.
  • The documented npm run test:ci aggregate script is not present in this checkout.
  • Fresh follow-up review found no actionable findings.

Documentation impact

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

UI evidence (if applicable)

  • No screenshots were captured; the compiled Engine-backed lifecycle fixture covered the desktop and mobile behavior assertions.

Summary by CodeRabbit

  • New Features
    • Review drafts now display their summary as the title, along with mutation counts.
    • The workbench header shows the selected draft title, source note, and mutation count.
    • Blank summaries now display “No draft summary.”
  • Bug Fixes
    • Improved review queue labeling by removing redundant ordinal draft labels.
    • Preserved source-note and empty-state messaging when no draft is selected.
  • Chores
    • Updated package build metadata to reflect the latest rebuild.

🔄 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/718 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 9/5/2026 **Status:** ✅ Merged **Merged:** 9/5/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `feature(long-term-memory)/review-draft-titles` --- ### 📝 Commits (2) - [`4457da8`](https://github.com/Pasta-Devs/Marinara-Agents/commit/4457da8bf4d7f6d48c3134e7a687f0129294a6bd) feat(long-term-memory): clarify review draft titles - [`3028e7b`](https://github.com/Pasta-Devs/Marinara-Agents/commit/3028e7b15231ae5d38677520ea42bb28ae850b35) fix(long-term-memory): harden draft title display ### 📊 Changes **9 files changed** (+174 additions, -44 deletions) <details> <summary>View changed files</summary> 📝 `artifacts/long-term-memory-1.2.20.zip` (+0 -0) 📝 `catalog/catalog.json` (+4 -4) 📝 `catalog/v2/catalog.json` (+4 -4) 📝 `catalog/v3/catalog.json` (+4 -4) 📝 `packages/long-term-memory/client.js` (+13 -13) 📝 `packages/long-term-memory/manifest.json` (+2 -2) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx` (+19 -13) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json` (+0 -1) 📝 `tests/long-term-memory-lifecycle.regression.ts` (+128 -3) </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 #717 ## Why this change Review Queue rows previously used source-local `Draft 1` labels, making drafts indistinguishable without opening them. ## What changed - Promoted the existing `reviewDraftTitle(item)` value to the primary navigator row label. - Aligned the selected-draft workbench heading with the same title while preserving source context, mutation count, freshness, selection, and responsive pane behavior. - Hardened whitespace-only fallback titles and long unbroken workbench titles. - Extended the existing lifecycle browser fixture for cross-source titles, multi-draft titles, fallback copy, selection, mobile overflow, and workbench alignment. - Rebuilt Long-Term Memory `client.js`, artifact ZIP, manifest hashes, and v2/v3/legacy catalog entries. ## 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: No runtime, storage, or lifecycle contract changes; generated package lifecycle coverage remains passing. ## Validation <!-- Human-verification checkboxes intentionally remain unchecked. --> - [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 lifecycle browser regression passed with `MARINARA_ENGINE_ROOT=/home/damo/dev/Marinara-Engine npx tsx tests/long-term-memory-lifecycle.regression.ts`, including install, offline restart, backup inclusion, uninstall, reinstall, durable-byte preservation, title fallback, and 390px overflow coverage. - Focused feedback-clarity and chat-settings UI regressions passed. - `npm run check`, catalog lane, package locale, catalog, release-note, and `git diff --check` validation passed; ESLint reported only existing warnings. - The documented `npm run test:ci` aggregate script is not present in this checkout. - Fresh follow-up review found no actionable findings. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - No screenshots were captured; the compiled Engine-backed lifecycle fixture covered the desktop and mobile behavior assertions. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Review drafts now display their summary as the title, along with mutation counts. * The workbench header shows the selected draft title, source note, and mutation count. * Blank summaries now display “No draft summary.” * **Bug Fixes** * Improved review queue labeling by removing redundant ordinal draft labels. * Preserved source-note and empty-state messaging when no draft is selected. * **Chores** * Updated package build metadata to reflect the latest rebuild. <!-- 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:02:50 +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#1105
No description provided.