Files
basicmachines-co-basic-memory/src/basic_memory
claude[bot] cdc28eeefa fix: resolve three correctness footguns in MCP and sync code
- Fix mutable default args in search_notes() MCP tool
  Changed types and entity_types from List[str] = [] to Optional[List[str]] = None
  to prevent shared state across calls

- Fix Pydantic defaults in WatchServiceState
  Moved datetime.now() and os.getpid() from field defaults to model_post_init()
  to prevent evaluation at import time vs instance creation time

- Fix list mutation during iteration in WatchService
  Changed 'for added_path in adds' to 'for added_path in list(adds)'
  to avoid skipping items when removing from list during iteration

Fixes #487

Co-authored-by: Paul Hernandez <phernandez@users.noreply.github.com>
Signed-off-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
2025-12-31 04:33:07 +00:00
..
2025-12-30 20:57:45 -06:00
2025-12-28 16:05:07 -06:00