Scans all CRDT log rows for this user. Rows whose operation payload matches an earlier
row (same normalized JSON) are removed; the lowest data_version for each payload is kept. This cannot be undone. Removing tail rows can lower server
latest_version
after the next client sync.
%{"id" => "1556e907-2330-4218-818c-f9f1fe81f78e", "inserted_at" => "2026-03-23T00:59:18Z", "priority" => 2.0, "project_id" => "4fde0448-2ad8-4bba-93a7-a5d648016a76", "status" => "not_started", "title" => "Moving todos to another subproject has a multi-second delay", "type" => "todo.create", "updated_at" => "2026-03-23T00:59:18Z", "user_id" => "156b0342-9379-4992-b761-1bb6eff14ab6"}
50
todo.update
%{"id" => "3156bed9-64ba-40f8-86d7-3ebc7d564d75", "priority" => 2.0, "project_id" => "4fde0448-2ad8-4bba-93a7-a5d648016a76", "status" => "not_started", "title" => "Fix: Show only undone todos in dependency selection (make it a toggle which can also show done but default to not)", "type" => "todo.update", "updated_at" => "2026-03-23T00:58:44Z"}
%{"id" => "230c7794-5c8f-4dc7-9523-26ab31defdf7", "inserted_at" => "2026-03-23T00:57:16Z", "priority" => 2.0, "project_id" => "1fc66b6a-6ca5-49aa-96f8-0046ebc77f7f", "status" => "not_started", "title" => "Expand todo functionality - Add a \"body\" (Markdown text) to todos. Add ability to mark progress on a todo (i.e. It's not just done/undone but 35% done).", "type" => "todo.create", "updated_at" => "2026-03-23T00:57:16Z", "user_id" => "156b0342-9379-4992-b761-1bb6eff14ab6"}
42
todo.create
%{"id" => "00832861-b3d3-4ed4-9269-4bc664da26a9", "inserted_at" => "2026-03-23T00:55:03Z", "priority" => 2.0, "project_id" => "882670c1-3824-4415-9b28-9f330db80bb9", "status" => "not_started", "title" => "Rethink day planner view. Too much whitespace. Not enough visibility on todo.", "type" => "todo.create", "updated_at" => "2026-03-23T00:55:03Z", "user_id" => "156b0342-9379-4992-b761-1bb6eff14ab6"}
%{"id" => "3156bed9-64ba-40f8-86d7-3ebc7d564d75", "inserted_at" => "2026-03-22T20:23:32Z", "priority" => 2.0, "project_id" => "1fc66b6a-6ca5-49aa-96f8-0046ebc77f7f", "status" => "not_started", "title" => "Fix: Show only undone todos in dependency selection (make it a toggle which can also show done but default to not)", "type" => "todo.create", "updated_at" => "2026-03-22T20:23:32Z", "user_id" => "156b0342-9379-4992-b761-1bb6eff14ab6"}