mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #756] [Issue]: Deduplicate proven LTM assertions #388
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#388
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 8, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/756
Originally assigned to: @Promansis on GitHub.
Summary
Following Phase 0 (#735), Phase 1 (#744), and Phase 2 (#754), Long-Term Memory test coverage has been stabilized and isolated into scenario suites. However, multiple test suites still repeat identical setup boilerplate, duplicated resolver/scope permutations, redundant extraction error assertions, and weak or vacuous assertions (such as calling
.every()across potentially empty mutation arrays without checking collection non-emptiness).Phase 3 addresses in-file assertion deduplication across the Long-Term Memory regression suites without reducing behavioral boundaries.
Affected package
long-term-memory/testsExpected behavior
.every()calls on unverified or potentially empty collections) are hardened with non-empty length checks.Actual behavior
Test files contain redundant repetitive assertions, repeated full-object mirrors, duplicated error-handling cases, and weak/vacuous assertions that increase maintenance overhead without improving regression safety.
Steps to reproduce
tests/long-term-memory-runtime.regression.tsand observe repeated embedding batch loops and repetitive resolver checks.tests/long-term-memory-storage.regression.tsandtests/long-term-memory-routes.regression.tsfor repetitive assertion blocks and vacuousevery()checks on mutations.Environment
Template check