[GH-ISSUE #1765] Gacha Forge: story memory recall should work like the Engine's advanced recall (embeddings, relevance, query, audience) #1743

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Follow-up to the Gacha Forge memory audit (2026-10-27) and #1760. The maintainer asked for these gaps to be fixed next.

Recall is meant to work like the Engine's Advanced Memory Recall: a constant overview, up to 3 recalled chapter summaries, the last chapter in full and the current chapter (#1657). Four confirmed gaps remain:

  1. No semantic recall. createForgeStoryMemory accepts resolveEmbeddings, but nothing passes it. The Engine exposes embeddings to packages, yet recall is word matching only.
  2. No relevance floor or cap for side memories. Any shared word counts as relevant (an unnormalized IDF sum). Character Stories, story events and chats have no count cap and no budget beyond the model's context. A query containing only the protagonist's name recalled 3 chapters plus all 12 chats.
  3. Queries built from plan text. Narration, plans and fights search with the plan premise and node goals, or the world scenario, not with what was just played. Chat uses the last message only.
  4. Chats leak between units. In a private chat (and in daily messages), a unit is given other units' conversations as memories it lived.

The fix PR will link here.

Originally created by @SpicyMarinara on GitHub (Oct 27, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1765 Originally assigned to: @SpicyMarinara on GitHub. Follow-up to the Gacha Forge memory audit (2026-10-27) and #1760. The maintainer asked for these gaps to be fixed next. Recall is meant to work like the Engine's Advanced Memory Recall: a constant overview, up to 3 recalled chapter summaries, the last chapter in full and the current chapter (#1657). Four confirmed gaps remain: 1. **No semantic recall.** `createForgeStoryMemory` accepts `resolveEmbeddings`, but nothing passes it. The Engine exposes embeddings to packages, yet recall is word matching only. 2. **No relevance floor or cap for side memories.** Any shared word counts as relevant (an unnormalized IDF sum). Character Stories, story events and chats have no count cap and no budget beyond the model's context. A query containing only the protagonist's name recalled 3 chapters plus all 12 chats. 3. **Queries built from plan text.** Narration, plans and fights search with the plan premise and node goals, or the world scenario, not with what was just played. Chat uses the last message only. 4. **Chats leak between units.** In a private chat (and in daily messages), a unit is given other units' conversations as memories it lived. The fix PR will link here.
bsakaguchi 2026-11-07 16:36:22 +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#1743
No description provided.