[GH-ISSUE #251] [Bug]: LTM chat status remains active when disabled #125

Closed
opened 2026-10-20 17:24:37 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Promansis on GitHub (Aug 5, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/251

Originally assigned to: @Promansis on GitHub.

Summary

The Long-Term Memory chat status header always says that LTM is active, even after the chat-level toggle is disabled.

Affected package

long-term-memory (version 1.1.7)

Expected behavior

The header status should reflect enabledForChat: show an active status only when LTM is enabled for the current chat, and an inactive status when it is disabled.

Actual behavior

The header renders Active in <chat> whenever a chat ID exists. The activation switch correctly reports aria-checked="false", but the nearby status text remains active.

Steps to reproduce

  1. Open Long-Term Memory for a chat.
  2. Turn off the chat-level Long-Term Memory toggle.
  3. Observe the status text beside the toggle.

Environment

  • Marinara Engine version: 2.4.1 or compatible
  • Package version: 1.1.7
  • Install type: downloadable package
  • OS + version: not reported
  • Browser or app shell: not reported

Logs, screenshots, or video

Not applicable.

Additional context

The source header checks only props.chatId and does not branch on props.enabledForChat. The existing lifecycle regression test currently preserves the incorrect active-label expectation after setting enabledForChat to false.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Aug 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/251 Originally assigned to: @Promansis on GitHub. ## Summary The Long-Term Memory chat status header always says that LTM is active, even after the chat-level toggle is disabled. ## Affected package `long-term-memory` (version 1.1.7) ## Expected behavior The header status should reflect `enabledForChat`: show an active status only when LTM is enabled for the current chat, and an inactive status when it is disabled. ## Actual behavior The header renders `Active in <chat>` whenever a chat ID exists. The activation switch correctly reports `aria-checked="false"`, but the nearby status text remains active. ## Steps to reproduce 1. Open Long-Term Memory for a chat. 2. Turn off the chat-level Long-Term Memory toggle. 3. Observe the status text beside the toggle. ## Environment - Marinara Engine version: 2.4.1 or compatible - Package version: 1.1.7 - Install type: downloadable package - OS + version: not reported - Browser or app shell: not reported ## Logs, screenshots, or video Not applicable. ## Additional context The source header checks only `props.chatId` and does not branch on `props.enabledForChat`. The existing lifecycle regression test currently preserves the incorrect active-label expectation after setting `enabledForChat` to `false`. ## Template check - [ ] I DID NOT read this template and provide the requested details.
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#125
No description provided.