mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
5df6e620e2
edit_note used detect_project_from_memory_url_prefix gated on
`startswith("memory://")`, so plain workspace-qualified identifiers
like `team-slug/project/path/note` were never routed to the correct
workspace project, causing append/prepend to create stray notes in
the default project.
Switch to detect_project_from_identifier_prefix (no memory:// guard),
matching read_note. Also fix the auto-create fallback to derive the
note title/directory from entity_identifier (workspace prefix already
stripped by resolve_project_and_path) rather than the raw identifier.
Closes #810
Co-authored-by: Paul Hernandez <phernandez@users.noreply.github.com>
Signed-off-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>