[PR #1057] [MERGED] fix(ltm): log invalid recovery subject IDs #1272

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

📋 Pull Request Information

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

Base: staging ← Head: fix/long-term-memory/log-recovery-subject-ids


📝 Commits (4)

  • e00ece9 fix(ltm): log invalid recovery subject IDs (#1047)
  • d651c89 Merge remote-tracking branch 'upstream/staging' into fix/long-term-memory/log-recovery-subject-ids
  • fd4d152 fix(ltm): retain bounded rejected subject IDs (#1047)
  • 8db84a0 Merge remote-tracking branch 'upstream/staging' into fix/long-term-memory/log-recovery-subject-ids

📊 Changes

13 files changed (+246 additions, -80 deletions)

View changed files

➕ artifacts/long-term-memory-1.3.17.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 (+4 -0)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/server.mjs (+37 -36)
📝 packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/draft-store.ts (+61 -2)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-storage.regression.ts (+104 -2)

📄 Description

Linked issue

Closes #1047

Why this change

  • Capture bounded diagnostics when invalid recovery candidate subject IDs prevent draft re-validation, without logging candidate memory text.

What changed

  • Added LTM debug-log diagnostics with declared candidate indices and bounded subject IDs.
  • Added regression coverage for validation error preservation and text redaction.
  • Bumped Long-Term Memory to 1.3.17 and rebuilt the manifest, server bundle, artifact, catalogs, and release notes.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: None; existing 2.4.1 minimum and 4.0.0 maximum retained.
  • New or changed permissions/entrypoints: None.
  • Restart, storage, update, or uninstall impact: Standard package update; installation and durable-data preservation validated.

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

  • Local checks passed on merged HEAD: npm run check, LTM storage and installation regressions, catalog lane/provenance, locale, catalog, release-note, and whitespace validation.
  • Upstream staging was merged into the feature branch before publication.

Documentation impact

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

UI evidence (if applicable)

Not applicable.

Summary by CodeRabbit

  • Bug Fixes
    • Draft validation failures involving invalid recovery-candidate subject IDs now produce bounded diagnostic details, making these failures easier to identify. Candidate memory text is not included in the diagnostics, and the recorded subject IDs are limited to avoid excessive log output.
  • Package Updates
    • Updated Long-Term Memory to version 1.3.17.

🔄 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/1057 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 9/24/2026 **Status:** ✅ Merged **Merged:** 9/24/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix/long-term-memory/log-recovery-subject-ids` --- ### 📝 Commits (4) - [`e00ece9`](https://github.com/Pasta-Devs/Marinara-Agents/commit/e00ece991c5f65f831e8dcac2aa2166255182bde) fix(ltm): log invalid recovery subject IDs (#1047) - [`d651c89`](https://github.com/Pasta-Devs/Marinara-Agents/commit/d651c894dac5d10925fe928f93785c70d69a9e62) Merge remote-tracking branch 'upstream/staging' into fix/long-term-memory/log-recovery-subject-ids - [`fd4d152`](https://github.com/Pasta-Devs/Marinara-Agents/commit/fd4d15254a20dc5a777019d0ae02b6dbd3432738) fix(ltm): retain bounded rejected subject IDs (#1047) - [`8db84a0`](https://github.com/Pasta-Devs/Marinara-Agents/commit/8db84a0b7dd53b178afc73d399806650ed74cd57) Merge remote-tracking branch 'upstream/staging' into fix/long-term-memory/log-recovery-subject-ids ### 📊 Changes **13 files changed** (+246 additions, -80 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.3.17.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` (+4 -0) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/server.mjs` (+37 -36) 📝 `packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/draft-store.ts` (+61 -2) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-storage.regression.ts` (+104 -2) </details> ### 📄 Description ## Linked issue Closes #1047 ## Why this change - Capture bounded diagnostics when invalid recovery candidate subject IDs prevent draft re-validation, without logging candidate memory text. ## What changed - Added LTM debug-log diagnostics with declared candidate indices and bounded subject IDs. - Added regression coverage for validation error preservation and text redaction. - Bumped Long-Term Memory to 1.3.17 and rebuilt the manifest, server bundle, artifact, catalogs, and release notes. ## Package and security impact - Affected package IDs: long-term-memory - Engine compatibility impact: None; existing 2.4.1 minimum and 4.0.0 maximum retained. - New or changed permissions/entrypoints: None. - Restart, storage, update, or uninstall impact: Standard package update; installation and durable-data preservation validated. ## 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 - Local checks passed on merged HEAD: `npm run check`, LTM storage and installation regressions, catalog lane/provenance, locale, catalog, release-note, and whitespace validation. - Upstream staging was merged into the feature branch before publication. ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) Not applicable. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Draft validation failures involving invalid recovery-candidate subject IDs now produce bounded diagnostic details, making these failures easier to identify. Candidate memory text is not included in the diagnostics, and the recorded subject IDs are limited to avoid excessive log output. * **Package Updates** * Updated Long-Term Memory to version 1.3.17. <!-- 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:07:26 +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#1272
No description provided.