[GH-ISSUE #1138] [Issue]: LTM extraction never offers planted_in and paid_off_in timeline relations #583

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

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

Originally assigned to: @Promansis on GitHub.

Summary

Long-Term Memory extraction never offers the planted_in and paid_off_in timeline link relations to the model, so foreshadowing and payoff links cannot be extracted even though the rest of the package represents and resolves them.

Affected package

Long-Term Memory (long-term-memory), server-side extraction request contract.

Expected behavior

The extraction request advertises every timeline link relation the package can represent and resolve.

Actual behavior

allowedTimelineRelations in evidence-unit-extraction.ts:1223 lists only occurred_in, triggered_by, resolved_in, evidenced_by, caused_by, affects_relationship, and affects_character.

planted_in and paid_off_in exist in LTM_EXTRACTION_LINK_RELATIONS (lines 63-64) and in LTM_EXTRACTION_TIMELINE_LINK_RELATIONS (lines 77-78). The latter drives timeline target namespacing, but the request contract omits both relations, so the model is told they are invalid and cannot emit them.

Steps to reproduce

  1. Submit a source that describes a planted foreshadowing event and its later payoff.
  2. Inspect the extraction request's allowedTimelineRelations and the model's relation output.

Environment

  • Marinara Engine version: manifest range >=2.4.1 <4.0.0
  • Package version: 1.3.31
  • Install type: source regression harness
  • OS + version: not applicable to the server extraction contract
  • Browser or app shell: not applicable

Logs, screenshots, or video

Not applicable. Evidence is in the server-side extraction request contract and should be covered with synthetic fixtures only.

Additional context

  • Narrow implementation scope: add planted_in and paid_off_in to allowedTimelineRelations in evidence-unit-extraction.ts, and add a contract or relation regression.
  • Focused proof target: tests/long-term-memory-extraction-graph.regression.ts.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Sep 29, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1138 Originally assigned to: @Promansis on GitHub. ## Summary Long-Term Memory extraction never offers the `planted_in` and `paid_off_in` timeline link relations to the model, so foreshadowing and payoff links cannot be extracted even though the rest of the package represents and resolves them. ## Affected package Long-Term Memory (`long-term-memory`), server-side extraction request contract. ## Expected behavior The extraction request advertises every timeline link relation the package can represent and resolve. ## Actual behavior `allowedTimelineRelations` in `evidence-unit-extraction.ts:1223` lists only `occurred_in`, `triggered_by`, `resolved_in`, `evidenced_by`, `caused_by`, `affects_relationship`, and `affects_character`. `planted_in` and `paid_off_in` exist in `LTM_EXTRACTION_LINK_RELATIONS` (lines 63-64) and in `LTM_EXTRACTION_TIMELINE_LINK_RELATIONS` (lines 77-78). The latter drives timeline target namespacing, but the request contract omits both relations, so the model is told they are invalid and cannot emit them. ## Steps to reproduce 1. Submit a source that describes a planted foreshadowing event and its later payoff. 2. Inspect the extraction request's `allowedTimelineRelations` and the model's relation output. ## Environment - Marinara Engine version: manifest range `>=2.4.1 <4.0.0` - Package version: 1.3.31 - Install type: source regression harness - OS + version: not applicable to the server extraction contract - Browser or app shell: not applicable ## Logs, screenshots, or video Not applicable. Evidence is in the server-side extraction request contract and should be covered with synthetic fixtures only. ## Additional context - Narrow implementation scope: add `planted_in` and `paid_off_in` to `allowedTimelineRelations` in `evidence-unit-extraction.ts`, and add a contract or relation regression. - Focused proof target: `tests/long-term-memory-extraction-graph.regression.ts`. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:28:48 +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#583
No description provided.