[GH-ISSUE #1047] [Bug]: Log rejected LTM recovery subject IDs to the LTM debug log #535

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

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

Originally assigned to: @Promansis on GitHub.

Summary

Long-Term Memory 1.3.15 still fails during createDraft re-validation when extracted dropped candidates contain recovery-candidate subject IDs that fail the lowercase snake_case schema. The error omits the received values, preventing diagnosis of the runtime/schema mismatch.

Affected package

Long-Term Memory (long-term-memory)

Expected behavior

When draft re-validation rejects recovery candidate subject IDs, bounded diagnostics identify the candidate indices and rejected IDs in the LTM debug log, without writing memory content to the host console.

Actual behavior

The extraction route returns a ZodError at extractionOutcome.droppedCandidates[n].recoveryCandidate.subjectId. The error message contains paths but not received values. Failure indices vary between retries.

Steps to reproduce

  1. Import a conversation summary in Conversation mode using LTM 1.3.15.
  2. Extract candidates that are later dropped but include recoveryCandidate values with malformed subject IDs.
  3. Observe createDraft re-validation fail with a ZodError at the recoveryCandidate subjectId paths.

Environment

  • Marinara Engine version: Not supplied
  • Package version: Long-Term Memory 1.3.15
  • Install type: Engine capability runtime snapshot
  • OS + version: Windows (from supplied stack trace)
  • Browser or app shell: Not supplied

Logs, screenshots, or video

The reporter supplied a stack trace showing failure in the installed long-term-memory-1.3.15 capability runtime snapshot at createDraft. No raw subjectId values were present.

Additional context

Follow-up to #1040. Keep diagnostics limited to candidate indices and subjectId values; do not log full recovery candidates or memory text.

Template check

  • I DID NOT read this template and provide the requested details.
Originally created by @Promansis on GitHub (Sep 23, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1047 Originally assigned to: @Promansis on GitHub. ## Summary Long-Term Memory 1.3.15 still fails during `createDraft` re-validation when extracted dropped candidates contain recovery-candidate subject IDs that fail the lowercase snake_case schema. The error omits the received values, preventing diagnosis of the runtime/schema mismatch. ## Affected package Long-Term Memory (`long-term-memory`) ## Expected behavior When draft re-validation rejects recovery candidate subject IDs, bounded diagnostics identify the candidate indices and rejected IDs in the LTM debug log, without writing memory content to the host console. ## Actual behavior The extraction route returns a ZodError at `extractionOutcome.droppedCandidates[n].recoveryCandidate.subjectId`. The error message contains paths but not received values. Failure indices vary between retries. ## Steps to reproduce 1. Import a conversation summary in Conversation mode using LTM 1.3.15. 2. Extract candidates that are later dropped but include recoveryCandidate values with malformed subject IDs. 3. Observe createDraft re-validation fail with a ZodError at the recoveryCandidate subjectId paths. ## Environment - Marinara Engine version: Not supplied - Package version: Long-Term Memory 1.3.15 - Install type: Engine capability runtime snapshot - OS + version: Windows (from supplied stack trace) - Browser or app shell: Not supplied ## Logs, screenshots, or video The reporter supplied a stack trace showing failure in the installed `long-term-memory-1.3.15` capability runtime snapshot at `createDraft`. No raw subjectId values were present. ## Additional context Follow-up to #1040. Keep diagnostics limited to candidate indices and subjectId values; do not log full recovery candidates or memory text. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-20 17:28:23 +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#535
No description provided.