Skip to content

feat(review): merge arbitrary records the matcher never grouped #804

Closed

Description

@athvin

Spec unit 2.10 (Manual merge of unmatched) · parent #516

Select arbitrary records and merge them as a group outside detected duplicates.
Done: Two unmatched records merge with rules applied.

What exists

Nothing for this path. Every merge surface today starts from a detected group: duplicates-content.tsx lists scored groups, pre-merge-report.tsx previews one, and the merge-plan API is reached per group.

The gap

A user who knows two records are the same must be able to say so even when the matcher did not propose it — below threshold, or blocked by a constraint, or simply never generated as a candidate. Today there is no entry point, which makes the matcher's recall the ceiling on what a human can fix.

The important half is that it must go through the same survivorship and field-merge rules as a detected merge, not a separate write path. A second merge implementation is how the two drift.

Done when

  • arbitrary record selection, merged as a group
  • the merge runs the configured survivorship rules — asserted by a test that the result equals what a detected merge of the same records would produce
  • the manual origin is recorded in the audit trail, distinguishable from a scored merge
  • two never-grouped records merge with rules applied (the spec's criterion)

Split out of the parent epic on 2026-11-07 by reading the spec's pillar table against this repo, file by file. Every "what exists" line below was grepped, not inferred — the parent epic's own body records a coverage figure that was once wrong because a stale design doc was trusted. Spec unit numbers refer to the DataGroomr Feature Parity Spec pillar tables. Estimates are mine and independent of the epic's total.

Activity

  1. added
    mvp
    docs-backlog
    on Nov 7, 2026
  2. self-assigned this
    on Nov 8, 2026
  3. athvin commented on Nov 8, 2026

    @athvin
    OwnerAuthor

    Claimed — working in #872 (draft). Closing that PR releases the claim.

  4. added 2 commits that reference this issue on Nov 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docs-backlogmvp

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions