mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
e59b5cb6d9
When append or prepend targets a non-existent note, the tool now creates the file automatically instead of returning an error. This eliminates silent failures for plugins (like openclaw) that use edit_note(append) to build daily conversation notes — on the first message of each day, the note didn't exist yet. - find_replace and replace_section still require an existing note - JSON output now includes `fileCreated: bool` in all responses - Path traversal security check applied to auto-created directories - Updated error messages to suggest append/prepend for missing notes 🧪 25 unit tests, 14 MCP integration tests, 10 CLI integration tests — all passing Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>