mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #1086] [Feature]: Remove broad existing-note context from the Long-Term Memory extraction prompt #553
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#553
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 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/1086
Originally assigned to: @Promansis on GitHub.
What problem does this solve?
The Long-Term Memory extraction prompt serializes a broad
existingTypedNotescollection (viaformatExistingNotes) and includes instructions that make the model authoritative for existing note identity and link targets. Prompt size grows with the vault's existing-note set, and identity decisions depend on model output instead of code.Once bounded post-extraction reconciliation exists (issue #1085), the prompt no longer needs broad vault context: canonical identity is resolved in code after extraction.
Proposed package or change
Package:
long-term-memory(server extraction prompt).existingTypedNotesinto the primary extraction prompt.subjectIdand link targets as source-local hints.Keep unchanged: the retrieval/matching algorithms from #1085; compiler and lifecycle behavior; draft/review/apply; provider fallback and truncation recovery; deterministic game-mode extraction; generated bundles and catalogs.
Proof: the prompt contains source context but no broad existing-note serialization; extraction succeeds when the vault contains more notes than the prompt could hold; reconciliation still matches, creates, and flags ambiguity correctly; deduplication, scope, links/event closure, and draft/review/apply behavior are unchanged; game-mode extraction remains provider-free.
Why should this be optional?
This is a behavior change to the existing downloadable
long-term-memoryAgent package's server prompt, not the lightweight Engine core. It follows the catalog model: change source/builders, then rebuild generated bundles and the catalog lane separately.Alternatives considered
Additional context
Depends on #1085 (bounded post-extraction reconciliation). Target branch:
staging.Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: