[GH-ISSUE #1286] [Issue]: Relationship Tracker's Update from History fails with "Persona update 1 must contain exactly five values" #656

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

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

Summary

With a persona active, Relationship Tracker's Update from History can fail with: "The history update model returned an invalid relationship delta: Persona update 1 must contain exactly five values." A user reported this on Discord and says it happens repeatedly.

Affected package

relationship-tracker 0.6.3 (and earlier releases with persona tracking)

Expected behavior

Update from History saves any supported persona perception changes, or saves nothing when nothing changed.

Actual behavior

The run is rejected and nothing is saved. Automatic updates are affected the same way but fail silently: they drop each malformed persona entry, so persona perceptions stop updating without any error.

Steps to reproduce

  1. Open a Roleplay chat with Relationship Tracker enabled and a persona active.
  2. Let the tracker define at least one character → persona perception, so the tracker has a persona baseline to send.
  3. Run Update from History in the Tracker Panel.
  4. Depending on the model, the run fails with the error above.

Environment

  • Marinara Engine version: not given
  • Package version: not given (0.6.x)
  • Install type: reported on Discord; not given
  • OS + version: not given
  • Browser or app shell: not given

Logs, screenshots, or video

User's report: "I keep getting this error with the relationship tracker: 'The history update model returned an invalid relationship delta: Persona update 1 must contain exactly five values.'"

Additional context

The tracker sends the persona's current perceptions to the model as six values each: [characterAlias,state,label,perception,colorCategory,locked]. Unlike the card baseline, no prompt describes that shape. The model copies it into its answer, but a persona update must have exactly five values (no locked). The fix stays inside the package; no Engine changes.

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 @NoblezDomain on GitHub (Oct 9, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1286 ## Summary With a persona active, Relationship Tracker's **Update from History** can fail with: "The history update model returned an invalid relationship delta: Persona update 1 must contain exactly five values." A user reported this on Discord and says it happens repeatedly. ## Affected package `relationship-tracker` 0.6.3 (and earlier releases with persona tracking) ## Expected behavior Update from History saves any supported persona perception changes, or saves nothing when nothing changed. ## Actual behavior The run is rejected and nothing is saved. Automatic updates are affected the same way but fail silently: they drop each malformed persona entry, so persona perceptions stop updating without any error. ## Steps to reproduce 1. Open a Roleplay chat with Relationship Tracker enabled and a persona active. 2. Let the tracker define at least one character → persona perception, so the tracker has a persona baseline to send. 3. Run **Update from History** in the Tracker Panel. 4. Depending on the model, the run fails with the error above. ## Environment - Marinara Engine version: not given - Package version: not given (0.6.x) - Install type: reported on Discord; not given - OS + version: not given - Browser or app shell: not given ## Logs, screenshots, or video User's report: "I keep getting this error with the relationship tracker: 'The history update model returned an invalid relationship delta: Persona update 1 must contain exactly five values.'" ## Additional context The tracker sends the persona's current perceptions to the model as six values each: `[characterAlias,state,label,perception,colorCategory,locked]`. Unlike the card baseline, no prompt describes that shape. The model copies it into its answer, but a persona update must have exactly five values (no `locked`). The fix stays inside the package; no Engine changes. ## 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:27 +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#656
No description provided.