fix(memory): Initialize GoalExecutor with username and validate Qdrant deletes (Strict TDD) #2
Reference in New Issue
Block a user
Delete Branch "fix-memory-tdd"
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?
This PR addresses the "memory poisoning paradox" during
blank_start, strictly following TDD (Red -> Green -> Refactor).TDD Execution
test_delete_point_logging.py: Proved thatqdrant_memory.pyunconditionally logs fake deletion successes even when vectors didn't exist.test_bot_flow_singleton.py: Proved the initialization leak whereQNavGraphinstantiatedGoalExecutorwithout a username, causingPathMemoryto latch ontogoap_paths_v1instead of the user-specific collection.bot_flow.py: Pre-initializedGoalExecutor.get_instance(device, username)to lock in the correct username.qdrant_memory.py: Addedclient.retrieve()validation insidedelete_pointbefore running.delete().All tests pass perfectly.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.