mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #884] [Issue]: LTM extraction calls updateNote with an unsupported third argument #467
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#467
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Promansis on GitHub (Sep 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/884
Originally assigned to: @Promansis on GitHub.
Summary
Long-Term Memory source extraction calls
LongTermMemoryStorage.updateNotewiththree arguments even though the storage API accepts only the note ID and patch.
Affected package
long-term-memoryExpected behavior
The source-extraction context-binding call should match the declared storage API
and pass only supported arguments. The context patch should still update the
source note's destination scope and modes.
Actual behavior
bindSourceNoteToExtractionContextpasses a third metadata object containingactor,cause, andsummarytostorage.updateNote. The declared method isupdateNote(id, patch). JavaScript ignores the extra argument, so the patchcurrently still runs, but a proper typechecked build rejects the call with
TS2554: Expected 2 arguments, but got 3.Steps to reproduce
stored source note context.
bindSourceNoteToExtractionContextupdate the source note.source-extraction.ts:90-98; the third argument is not accepted bystorage.ts:412.Environment
long-term-memorypackage onstagingLogs, screenshots, or video
Relevant locations:
Additional context
Audit finding:
EXTRACT-002.The minimal fix is to remove the unsupported metadata argument, unless the
storage API is deliberately expanded and all callers are updated. No runtime
data-loss claim is made; the current JavaScript call applies the two-argument
patch and ignores the metadata object.
Template check