e91886a1ce29a268216bbe935bde350fd11174ff
Fixed bug where links between nodes weren't being created. Root Cause: - UI sends node IDs in links array (e.g., "node:xxxxx") - API query expected ATProto URIs (e.g., "at://did:plc:.../app.bsky.feed.post/...") - Query: WHERE atp_uri IN $links never matched - Result: Zero links created in database Fix: - Changed query to: WHERE id IN $links - Now correctly matches node IDs from UI - Added logging to track link creation - Updated comments to clarify expected format Impact: Links selected in the edit UI will now be properly created and visible as connections in the 3D thought galaxy visualization. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Description
No description provided