Goal
Group duplicates into clusters (connected components) rather than just listing pairwise matches to simplify remediation workflows.
Scope
- Build undirected graph where edges connect files with similarity >= threshold.
- Derive clusters via DFS/Union-Find.
- CLI flag:
--clusters to output cluster report.
- JSON output structure: list of clusters with member files + representative (largest or earliest path).
- Table output: cluster id, size, representative, member count.
Acceptance Criteria
- Cluster mode outputs deterministic ordering (by representative path).
- Tests: cluster formation on synthetic dataset (multiple interconnected duplicates).
- Documentation: README + schema update with cluster format.
Non-Goals
- Advanced representative selection (simple heuristic only).
Future
- Cluster similarity summary stats (avg/max/min within cluster).
Goal
Group duplicates into clusters (connected components) rather than just listing pairwise matches to simplify remediation workflows.
Scope
--clustersto output cluster report.Acceptance Criteria
Non-Goals
Future