Skip to content

feat(contacts): add an apply/merge step to dedupe (currently preview-only) #815

Description

@privatenumber

Summary

gog contacts dedupe finds likely duplicate contacts but is preview-only ("Find likely
duplicate contacts (preview only)"), so there is no way to act on the results from gog. Users must
open Google Contacts and merge by hand. An opt-in, guarded apply/merge step would close the loop.

Current (main, v0.27.0)

docs/commands/gog-contacts-dedupe.md: "Find likely duplicate contacts (preview only)". There is no
--apply/--merge flag; only the global flags (--dry-run, etc.).

Suggested

Add an explicit merge step, e.g. gog contacts dedupe --apply (or a separate contacts merge),
gated behind a confirmation (--force/-y to skip) and honoring --dry-run, consistent with other
destructive gog operations. Merging is destructive, so preview-by-default is the right default; this
just adds the ability to apply the merge without leaving the CLI.

Environment

gog v0.27.0 (main).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low-risk cleanup, docs, polish, ergonomics, or speculative feature.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.impact:data-lossThis issue is about lost, corrupted, or silently dropped user/session/config data.issue-rating: 🌊 off-meta tidepoolIssue quality rating does not apply to this item.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions