deduplicate_edges
Remove edge rows that record a relationship the graph already has. The repair half of `validate_graph`'s `duplicate_relationship_drift`. `kind: "exact"` (default) drops rows with an identical source, target and type, keeping the first; the rows are indistinguishable, so nothing is lost. `kind: "shadow"` drops the polymorphic `project_delivers_work_item` row where a pair also carries a `project_contains_*` edge, because the 0.41.0 ruling that created that shadow pair made containment the parent axis and the winner. `kind: "all"` does both. `dry_run` defaults to TRUE: preview, then pass false to commit. Deletes edges only; never touches a node.
Arguments
kindstringoptionalWhich duplicates to remove (default "exact").
dry_runbooleanoptionalPreview without writing (default true). Pass false to commit.
Returns
{ removed_edges, exact, shadow, dry_run, removals[] }, where each removal names the row dropped, the row kept, and why.