mirror of
https://github.com/basicmachines-co/basic-memory
synced 2026-06-21 13:47:35 +00:00
6f99d2e551
Add optimized repository methods for resolve_permalink() that skip eager loading of observations and relations: - permalink_exists(): Check existence without loading entity - get_file_path_for_permalink(): Get only file_path column - get_permalink_for_file_path(): Get only permalink column - get_all_permalinks(): Get all permalinks as strings - get_permalink_to_file_path_map(): Bulk lookup mapping - get_file_path_to_permalink_map(): Reverse mapping Updated entity_service.resolve_permalink() to use these lightweight methods instead of loading full entities with all relationships. Also added logfire instrumentation to markdown utils. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> Signed-off-by: phernandez <paul@basicmachines.co>