[PR #1975] [MERGED] fix(long-term-memory): round typed decimals in whole-number settings fields (1.5.21) #2058

Closed
opened 2026-11-07 16:39:08 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

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

Base: staging ← Head: fix(long-term-memory)/integer-number-fields


📝 Commits (2)

  • 57bb1e2 fix(long-term-memory): round typed decimals in whole-number settings fields (#1974)
  • 6e5e10d chore(long-term-memory): release 1.5.21 (#1974)

📊 Changes

14 files changed (+93 additions, -42 deletions)

View changed files

➕ artifacts/long-term-memory-1.5.21.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/client.js (+2 -2)
📝 packages/long-term-memory/manifest.json (+3 -3)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ChatSettings.tsx (+2 -0)
📝 packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/MemorySettings.tsx (+7 -0)
📝 scripts/build-feature-packages.mjs (+1 -1)
📝 tests/long-term-memory-feedback-clarity-ui.regression.mjs (+38 -0)

📄 Description

Pull request

Linked issue

Closes #1974

Why this change

  • Nine Long-Term Memory settings fields hold whole numbers (the package schema validates them with .int()), but their number inputs accepted decimals. Typing 2.5 made the save fail, and in per-chat settings a decimal was silently ignored.

What changed

  • Passed the existing integer prop to the nine whole-number NumberField callers: seven in settings/MemorySettings.tsx, two in ChatSettings.tsx. A typed decimal now rounds instead of failing.
  • Extended tests/long-term-memory-feedback-clarity-ui.regression.mjs so the nine fields must carry integer and the six decimal fields (score threshold, four recall weights, temperature) must not.
  • Released long-term-memory 1.5.21 (patch); rebuilt manifest, client, artifact and catalog entries; CHANGELOG entry added.

Package and security impact

  • Affected package IDs: long-term-memory
  • Engine compatibility impact: none (engine.min unchanged)
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none; stored settings keep their format

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

Documentation impact

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

UI evidence (if applicable)

🤖 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/1975 **Author:** [@Promansis](https://github.com/Promansis) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@Promansis](https://github.com/Promansis) **Base:** `staging` ← **Head:** `fix(long-term-memory)/integer-number-fields` --- ### 📝 Commits (2) - [`57bb1e2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/57bb1e23363fae87f0e48bfc0fae48f7f730ca8a) fix(long-term-memory): round typed decimals in whole-number settings fields (#1974) - [`6e5e10d`](https://github.com/Pasta-Devs/Marinara-Agents/commit/6e5e10d737cf2252ab657c00d92ea5fbb4859898) chore(long-term-memory): release 1.5.21 (#1974) ### 📊 Changes **14 files changed** (+93 additions, -42 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/long-term-memory-1.5.21.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/client.js` (+2 -2) 📝 `packages/long-term-memory/manifest.json` (+3 -3) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ChatSettings.tsx` (+2 -0) 📝 `packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/settings/MemorySettings.tsx` (+7 -0) 📝 `scripts/build-feature-packages.mjs` (+1 -1) 📝 `tests/long-term-memory-feedback-clarity-ui.regression.mjs` (+38 -0) </details> ### 📄 Description # Pull request ## Linked issue Closes #1974 ## Why this change - Nine Long-Term Memory settings fields hold whole numbers (the package schema validates them with `.int()`), but their number inputs accepted decimals. Typing `2.5` made the save fail, and in per-chat settings a decimal was silently ignored. ## What changed - Passed the existing `integer` prop to the nine whole-number `NumberField` callers: seven in `settings/MemorySettings.tsx`, two in `ChatSettings.tsx`. A typed decimal now rounds instead of failing. - Extended `tests/long-term-memory-feedback-clarity-ui.regression.mjs` so the nine fields must carry `integer` and the six decimal fields (score threshold, four recall weights, temperature) must not. - Released `long-term-memory` 1.5.21 (patch); rebuilt manifest, client, artifact and catalog entries; CHANGELOG entry added. ## Package and security impact - Affected package IDs: `long-term-memory` - Engine compatibility impact: none (`engine.min` unchanged) - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none; stored settings keep their format ## 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 - ## Documentation impact - [x] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - 🤖 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-11-07 16:39:08 +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#2058
No description provided.