mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #722] [MERGED] feat(long-term-memory): clear rejected suggestions and explain diagnostics #1108
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#1108
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/722
Author: @Promansis
Created: 9/5/2026
Status: ✅ Merged
Merged: 9/5/2026
Merged by: @Promansis
Base:
staging← Head:feature(long-term-memory)/rejected-suggestions-clear-diagnostics📝 Commits (5)
846e636feat(long-term-memory): clear rejected suggestions and explain diagnosticsf392f2bfix(long-term-memory): redact rejection diagnostics60783f3fix(long-term-memory): redact closure diagnostics5211c8etest(long-term-memory): tighten review feedback coveragef8fe689Merge branch 'staging' into feature(long-term-memory)/rejected-suggestions-clear-diagnostics📊 Changes
19 files changed (+656 additions, -140 deletions)
View changed files
📝
artifacts/long-term-memory-1.2.20.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v3/catalog.json(+6 -6)📝
packages/long-term-memory/client.js(+18 -18)📝
packages/long-term-memory/manifest.json(+4 -4)📝
packages/long-term-memory/server.mjs(+44 -44)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/ReviewQueue.tsx(+122 -10)📝
packages/long-term-memory/src/engine/packages/client/src/features/long-term-memory/locales/en.json(+24 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/evidence-unit-extraction.ts(+8 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/evidence-unit-validation.ts(+30 -7)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/rejected-suggestions.ts(+8 -4)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/routes.ts(+13 -1)📝
packages/long-term-memory/src/engine/packages/server/src/services/long-term-memory/subject-identity.ts(+1 -0)📝
packages/long-term-memory/src/engine/packages/shared/src/features/agents/long-term-memory/schema.ts(+9 -0)📝
tests/long-term-memory-extraction-graph.regression.ts(+85 -2)📝
tests/long-term-memory-lifecycle.regression.ts(+144 -25)📝
tests/long-term-memory-routes.regression.ts(+65 -0)📝
tests/long-term-memory-storage.regression.ts(+63 -5)📄 Description
Pull request
Linked issue
Closes #719
Why this change
Long-Term Memory users could delete rejected suggestions only one at a time, and the Review Queue often showed broad rejection labels instead of the exact validation failure. This made source cleanup risky and made rejected suggestions difficult to correct.
What changed
DELETE /rejected-suggestions?sourceNoteId=...operation with confirmation, idempotent deletion, and an actual deleted count.validatorCodedata to rejected candidates, preserving legacy records and keeping fingerprints stable.client.js,server.mjs, manifest hashes, artifact, andcatalog/catalog.json,catalog/v2/catalog.json, andcatalog/v3/catalog.json.Package and security impact
long-term-memoryValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
test-ci.shpassed formatting/lint, security, catalog, locale, artifact, and workflow gates; lint reported 69 pre-existing warnings and no errors.test-ltm.sh allrun passed the affected lifecycle path, then stopped at the unrelated existingscope-fallback-labelsassertion intests/long-term-memory-scope-fallback-labels.regression.ts:69; the affected lifecycle test was rerun independently and passed.Documentation impact
UI evidence (if applicable)
The lifecycle fixture exercised the updated Review Queue flow and produced automated visual output under
/tmp/marinara-visuals-ltm-rejected-suggestions-final.Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.