[GH-ISSUE #1227] [Issue]: Long-Term Memory Sources: retry and re-extract ignore current availability modes; "Imports as" shows only the first mode #629

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

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

Originally assigned to: @Promansis on GitHub.

Summary

After a failed import, changing the selected availability modes has no effect on "Retry failed" or "Re-extract".
The result row's "Imports as {mode}" label also shows only the first availability mode, not the extraction mode,
so a Roleplay chat summary can be labeled "Imports as Conversation".

Affected package

long-term-memory

Expected behavior

  • "Retry failed" either clearly repeats the original attempt, showing which modes it will use, or uses the current selections.
  • "Re-extract" either accepts the current availability selections or clearly says it uses the source's saved availability.
  • The result row shows the extraction mode and every availability mode.

Actual behavior

  • "Retry failed" replays the original task contract, including its saved modes (SourcesWorkspace.tsx:2367-2368, 3912).
  • "Re-extract" sends only chatId and mode (SourcesWorkspace.tsx:2497-2499). The strict request schema has no
    modes field (schema.ts:2446-2456), so the route uses the source note's saved modes (routes.ts:978-985).
    Sending mode: "roleplay" does not change availability.
  • The label renders item.note.modes[0] (SourcesWorkspace.tsx:3944-3945). Initial import already derives the
    extraction mode correctly from the chat's mode (interop.ts:520, 557-558).

Steps to reproduce

  1. Import a Roleplay chat summary with Conversation, Roleplay, and Game selected. The result row reads "Imports as Conversation".
  2. Change the selection to Roleplay only, then click "Retry failed" or "Re-extract".
  3. The source note's saved modes are still Conversation, Roleplay, and Game.

Environment

  • Marinara Engine version: any version supported by the package (>= 2.4.1)
  • Package version: 1.4.4
  • Install type: reproduced at source level, Agents ef64aeb7b
  • OS + version: not OS-specific
  • Browser or app shell: not applicable

Logs, screenshots, or video

None.

Additional context

Independent of the other sub-issues. A fresh import with new selections updates the saved modes today, so this is
about predictability and a clear recovery path, not data loss.

Decide one behavior for each action before implementing, and keep retry's "repeat the same attempt" meaning unless
it is deliberately changed.

Regression proof:

  • Re-extract sends, and the server applies, the chosen availability behavior.
  • Retry uses the documented modes, and the UI shows them.
  • The result row shows the extraction mode and every availability mode (browser or feedback-clarity regression).

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Oct 5, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1227 Originally assigned to: @Promansis on GitHub. ## Summary After a failed import, changing the selected availability modes has no effect on "Retry failed" or "Re-extract". The result row's "Imports as {mode}" label also shows only the first availability mode, not the extraction mode, so a Roleplay chat summary can be labeled "Imports as Conversation". ## Affected package long-term-memory ## Expected behavior - "Retry failed" either clearly repeats the original attempt, showing which modes it will use, or uses the current selections. - "Re-extract" either accepts the current availability selections or clearly says it uses the source's saved availability. - The result row shows the extraction mode and every availability mode. ## Actual behavior - "Retry failed" replays the original task contract, including its saved `modes` (`SourcesWorkspace.tsx:2367-2368`, `3912`). - "Re-extract" sends only `chatId` and `mode` (`SourcesWorkspace.tsx:2497-2499`). The strict request schema has no `modes` field (`schema.ts:2446-2456`), so the route uses the source note's saved modes (`routes.ts:978-985`). Sending `mode: "roleplay"` does not change availability. - The label renders `item.note.modes[0]` (`SourcesWorkspace.tsx:3944-3945`). Initial import already derives the extraction mode correctly from the chat's mode (`interop.ts:520`, `557-558`). ## Steps to reproduce 1. Import a Roleplay chat summary with Conversation, Roleplay, and Game selected. The result row reads "Imports as Conversation". 2. Change the selection to Roleplay only, then click "Retry failed" or "Re-extract". 3. The source note's saved modes are still Conversation, Roleplay, and Game. ## Environment - Marinara Engine version: any version supported by the package (>= 2.4.1) - Package version: 1.4.4 - Install type: reproduced at source level, Agents `ef64aeb7b` - OS + version: not OS-specific - Browser or app shell: not applicable ## Logs, screenshots, or video None. ## Additional context Independent of the other sub-issues. A fresh import with new selections updates the saved modes today, so this is about predictability and a clear recovery path, not data loss. Decide one behavior for each action before implementing, and keep retry's "repeat the same attempt" meaning unless it is deliberately changed. Regression proof: - [ ] Re-extract sends, and the server applies, the chosen availability behavior. - [ ] Retry uses the documented modes, and the UI shows them. - [ ] The result row shows the extraction mode and every availability mode (browser or feedback-clarity regression). ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:29:11 +07:00
  • closed this issue
  • added the
    bug
    label
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#629
No description provided.