mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #754] [Issue]: Replace source-grep LTM checks with behavioral proof #390
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#390
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/754
Originally assigned to: @Promansis on GitHub.
Summary
Multiple Long-Term Memory test files rely on brittle source-string regex assertions rather than verifying actual runtime state and user-visible behavior:
tests/long-term-memory-feedback-clarity-ui.regression.mjsverifies Archive Undo state management and rollback purely through regex matches onMemoryVault.tsxsource text.tests/long-term-memory-chat-settings-ui.regression.mjschecks CSS class names and prop substrings inChatSettings.tsxandshared-controls.tsx.tests/long-term-memory-scope-fallback-labels.regression.tschecksMemoryVault.tsxsource regex for fallback handling.tests/long-term-memory-browser.regression.tschecks unzippedclient.jsbundle strings for guidance and copy that are already exercised by browser UI workflows or covered by locale completeness validation.Affected package
long-term-memory/testsExpected behavior
tests/long-term-memory-loading.regression.mjsis retained as behavioral/loading coverage.Actual behavior
Key UI contracts (such as Archive Undo rollback on partial failure) are only verified by regular expression searches over raw component source code.
Steps to reproduce
tests/long-term-memory-feedback-clarity-ui.regression.mjslines 346–367.assert.match(vault, /type ArchiveUndoState/u)andassert.match(vault, /if \(!allRestored\)/u)asserting source text directly.tests/long-term-memory-chat-settings-ui.regression.mjsasserting whitespace and class strings.Environment
Template check