[PR #1400] [MERGED] chore(long-term-memory): 1.4.37 — move the largest screens into per-screen folders (#1376) #1448

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

📋 Pull Request Information

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

Base: staging ← Head: chore(long-term-memory)/1376-screen-folders


📝 Commits (3)

  • d6650db chore(long-term-memory): 1.4.37 — move the largest screens into per-screen folders (#1376)
  • 8595ac0 Merge upstream/staging 4a8e4e1e4 into chore(long-term-memory)/1376-screen-folders
  • b65ff57 fix(long-term-memory): Reset loads the refetched settings; component asserts read their own files (#1376)

📊 Changes

49 files changed (+5746 additions, -5366 deletions)

View changed files

➕ artifacts/long-term-memory-1.4.37.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 (+5 -0)
📝 packages/long-term-memory/client.js (+116 -116)
📝 packages/long-term-memory/docs/UI.md (+17 -12)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx (+28 -770)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/Onboarding.tsx (+753 -0)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/ExtractionDetails.tsx (+109 -0)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/MutationEditor.tsx (+283 -0)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/ReviewControls.tsx (+159 -0)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/ReviewQueue.tsx (+41 -1024)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/SubjectIdentityReview.tsx (+4 -4)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/review-queue-ambiguous-link.ts (+1 -1)
➕ packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/review-state.ts (+496 -0)

...and 29 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 #1376

Why this change

  • The Long-Term Memory client kept its four largest screens (Memory Vault, Review Queue, Sources, Memory Settings) as single files at the feature root, with their parts inlined. On staging they run to 4,694 lines (Vault), 4,085 (Sources), 3,652 (Review) and 1,743 (Settings). That made each screen hard to navigate, and changes to one part conflicted with unrelated work in the same file.
  • One folder per screen, holding the parts cut out of it, gives each screen a clear owner and a smaller file to change. The behaviour stays the same.

What changed

  • Package: long-term-memory 1.4.36 → 1.4.37 (patch).
  • Moves: vault/, review/, sources/ and settings/ each hold their screen and the components cut out of it. Modules shared across screens stay at the feature root. The screen bodies are unchanged from staging apart from imports and renamed JSX tags.
  • New components: the setup guide becomes Onboarding.tsx. The Maintenance tab becomes settings/MaintenancePanel.tsx, with its own busy and message state.
  • Maintenance results stay through reloads: Reset settings and backup import reload the settings forms. MemorySettings now keeps the panel mounted under the same key on its loading and error screens, so a running action keeps its busy lock and still shows its result. Without this, the result was lost and the buttons unlocked early.
  • One visible difference: a Maintenance result now appears at the top of the Maintenance tab instead of below the tab bar. It no longer shows on the other tabs, and saving settings no longer replaces it.
  • Reset fix (CodeRabbit, also present on staging): Reset settings cleared the forms, and they then refilled from the cached pre-reset settings while the refetch ran. Reset now loads the refetched settings once both reads succeed, and clears the forms if either fails, as backup import already does.
  • Tests: the tests follow the new paths. Source-text assertions are anchored to the files that now own the code. A pattern that ties two places in one component reads that component's own file, so a sibling file cannot satisfy it. A new browser case holds the settings refetch after a Reset whose index rebuild fails. It checks that Reset stays disabled, that the failure message appears, and that the Recall tab shows the refetched settings.
  • Docs: packages/long-term-memory/docs/UI.md surface map and change routing now use the new paths.
  • Generated outputs, rebuilt from source: packages/long-term-memory/client.js, manifest.json, artifacts/long-term-memory-1.4.37.zip, and catalog/{,v2/,v3/}catalog.json and notes.json.
  • Diff size against staging: source, docs, CHANGELOG and builder +5415/−5131 (mostly moves); tests +176/−80; generated +155/−155.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none. The manifest's Engine range is unchanged.
  • New or changed permissions/entrypoints: none. The client entry and lazy destination imports resolve to the same default exports.
  • Restart, storage, update, or uninstall impact: none. This is a client-only change with no server, storage or settings-schema 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

These are automated local checks run by the agent on the pushed head b65ff573e (merged with staging 4a8e4e1e4). They used the Engine checkout at 2039583ca and Node v24.15.0. Each exited 0:

  • git diff --check upstream/staging...HEAD
  • node scripts/typecheck-packages.mjs long-term-memory (syntax, names and module resolution; not a full tsc type check)
  • npm run check (Prettier and ESLint; Long-Term Memory lint warnings are the same as on staging)
  • node scripts/test-catalog-lanes.mjs, node scripts/validate-package-locales.mjs, node scripts/validate-catalog.mjs, node scripts/tests/catalog-release-notes.regression.mjs
  • Long-Term Memory regressions: feedback-clarity-ui, loading, debug-activity, review-queue-ambiguous-link, storage, host-styles, source-pagination, and browser. The browser run includes the new Reset case, which failed before each Reset fix and passes after both.
  • node scripts/build-feature-packages.mjs long-term-memory rebuilt the package, the 1.4.37 archive and the catalogs from this source.

Not run: test-ltm.sh all, the test-ci.sh Catalog mirror, a full tsc type check, an install or update through Marinara Engine, and a manual UI walkthrough. The boxes above are left for a human to tick.

Review: an agent review found one High (the Maintenance panel unmounted during Reset) and four Lows. All five were repaired, and a delta review of the repair found no new issues. CodeRabbit's two comments on 8595ac008 were repaired in b65ff573e: the Reset browser case failed before that fix with '20' !== '37'. An in-memory probe showed the old joined-file Bulk picker assertion passed without Bulk's picker, while the new per-file one fails. The CodeRabbit repair itself has not had an agent review.

Documentation impact

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

Package guidance updated: packages/long-term-memory/docs/UI.md.

UI evidence (if applicable)

No screenshots. The layout is unchanged except where a Maintenance result appears, as described above.

🤖 Generated with Claude Code


🔄 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/1400 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/15/2026 **Status:** ✅ Merged **Merged:** 10/15/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `chore(long-term-memory)/1376-screen-folders` --- ### 📝 Commits (3) - [`d6650db`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d6650db20b5c36d68b751d1b60406297a669434f) chore(long-term-memory): 1.4.37 — move the largest screens into per-screen folders (#1376) - [`8595ac0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8595ac008eb5d9999fb1032ff3ca321d50928d26) Merge upstream/staging 4a8e4e1e4 into chore(long-term-memory)/1376-screen-folders - [`b65ff57`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b65ff573eebff8315fa29d6e49f566cf0c05aa1b) fix(long-term-memory): Reset loads the refetched settings; component asserts read their own files (#1376) ### 📊 Changes **49 files changed** (+5746 additions, -5366 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.4.37.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` (+5 -0) 📝 `packages/long-term-memory/client.js` (+116 -116) 📝 `packages/long-term-memory/docs/UI.md` (+17 -12) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/LongTermMemoryDetail.tsx` (+28 -770) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/Onboarding.tsx` (+753 -0) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/ExtractionDetails.tsx` (+109 -0) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/MutationEditor.tsx` (+283 -0) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/ReviewControls.tsx` (+159 -0) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/ReviewQueue.tsx` (+41 -1024) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/SubjectIdentityReview.tsx` (+4 -4) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/review-queue-ambiguous-link.ts` (+1 -1) ➕ `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/review/review-state.ts` (+496 -0) _...and 29 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 #1376 ## Why this change - The Long-Term Memory client kept its four largest screens (Memory Vault, Review Queue, Sources, Memory Settings) as single files at the feature root, with their parts inlined. On staging they run to 4,694 lines (Vault), 4,085 (Sources), 3,652 (Review) and 1,743 (Settings). That made each screen hard to navigate, and changes to one part conflicted with unrelated work in the same file. - One folder per screen, holding the parts cut out of it, gives each screen a clear owner and a smaller file to change. The behaviour stays the same. ## What changed - **Package:** `long-term-memory` 1.4.36 → **1.4.37** (patch). - **Moves:** `vault/`, `review/`, `sources/` and `settings/` each hold their screen and the components cut out of it. Modules shared across screens stay at the feature root. The screen bodies are unchanged from staging apart from imports and renamed JSX tags. - **New components:** the setup guide becomes `Onboarding.tsx`. The Maintenance tab becomes `settings/MaintenancePanel.tsx`, with its own busy and message state. - **Maintenance results stay through reloads:** Reset settings and backup import reload the settings forms. `MemorySettings` now keeps the panel mounted under the same key on its loading and error screens, so a running action keeps its busy lock and still shows its result. Without this, the result was lost and the buttons unlocked early. - **One visible difference:** a Maintenance result now appears at the top of the Maintenance tab instead of below the tab bar. It no longer shows on the other tabs, and saving settings no longer replaces it. - **Reset fix (CodeRabbit, also present on staging):** Reset settings cleared the forms, and they then refilled from the cached pre-reset settings while the refetch ran. Reset now loads the refetched settings once both reads succeed, and clears the forms if either fails, as backup import already does. - **Tests:** the tests follow the new paths. Source-text assertions are anchored to the files that now own the code. A pattern that ties two places in one component reads that component's own file, so a sibling file cannot satisfy it. A new browser case holds the settings refetch after a Reset whose index rebuild fails. It checks that Reset stays disabled, that the failure message appears, and that the Recall tab shows the refetched settings. - **Docs:** `packages/long-term-memory/docs/UI.md` surface map and change routing now use the new paths. - **Generated outputs, rebuilt from source:** `packages/long-term-memory/client.js`, `manifest.json`, `artifacts/long-term-memory-1.4.37.zip`, and `catalog/{,v2/,v3/}catalog.json` and `notes.json`. - **Diff size against `staging`:** source, docs, CHANGELOG and builder +5415/−5131 (mostly moves); tests +176/−80; generated +155/−155. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none. The manifest's Engine range is unchanged. - New or changed permissions/entrypoints: none. The client entry and lazy destination imports resolve to the same default exports. - Restart, storage, update, or uninstall impact: none. This is a client-only change with no server, storage or settings-schema 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 These are automated local checks run by the agent on the pushed head `b65ff573e` (merged with `staging` 4a8e4e1e4). They used the Engine checkout at 2039583ca and Node v24.15.0. Each exited 0: - `git diff --check upstream/staging...HEAD` - `node scripts/typecheck-packages.mjs long-term-memory` (syntax, names and module resolution; not a full `tsc` type check) - `npm run check` (Prettier and ESLint; Long-Term Memory lint warnings are the same as on `staging`) - `node scripts/test-catalog-lanes.mjs`, `node scripts/validate-package-locales.mjs`, `node scripts/validate-catalog.mjs`, `node scripts/tests/catalog-release-notes.regression.mjs` - Long-Term Memory regressions: feedback-clarity-ui, loading, debug-activity, review-queue-ambiguous-link, storage, host-styles, source-pagination, and browser. The browser run includes the new Reset case, which failed before each Reset fix and passes after both. - `node scripts/build-feature-packages.mjs long-term-memory` rebuilt the package, the 1.4.37 archive and the catalogs from this source. Not run: `test-ltm.sh all`, the `test-ci.sh` Catalog mirror, a full `tsc` type check, an install or update through Marinara Engine, and a manual UI walkthrough. The boxes above are left for a human to tick. Review: an agent review found one High (the Maintenance panel unmounted during Reset) and four Lows. All five were repaired, and a delta review of the repair found no new issues. CodeRabbit's two comments on `8595ac008` were repaired in `b65ff573e`: the Reset browser case failed before that fix with `'20' !== '37'`. An in-memory probe showed the old joined-file Bulk picker assertion passed without Bulk's picker, while the new per-file one fails. The CodeRabbit repair itself has not had an agent review. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation Package guidance updated: `packages/long-term-memory/docs/UI.md`. ## UI evidence (if applicable) No screenshots. The layout is unchanged except where a Maintenance result appears, as described above. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:11:36 +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#1448
No description provided.