Skip to content

E8 — Review UI and tags #516

Done
4 of 4 issues completed
Done

Description

@athvin

Product stack rank 5 of 37 · roadmap #1008 · priority P0 · release mvp

API-product review boundary

Human review and tags are shared dataset capabilities. Preserve active per-record work #803 and its PR; do not rebuild it. Audit the existing review/tag API and UI, document the core subset needed by customers, and prove that approve/reject/unmatch decisions and lineage are available through the same public contract. Provider writeback approval remains #514. Advanced UI polish can be separated from the launch subset.

Historical planning — superseded scope, ordering and estimates

Epic E8 from the DataGroomr Feature Parity Spec · spec phase 1 · historical parity rank 6 of 30

Spec units 2.8-2.10, 1.29
Spec size (greenfield) 8 eng-weeks
Our coverage today ~85%
Estimated remaining 1.5 eng-weeks (81% saved by what exists)
Owning component Next.js review dialog; tag service
Release mvp

What we already have

The review and pair_label entities, three shipped screens (/reviews, /duplicates, /labeling), a worst-records queue with a consumer, and a tag service that is already live: /v1/orgs/{org}/tags, tags/{tag_id} and tags/{tag_id}/apply|unapply|subjects.

What is missing

Only the specific review-dialog affordances the spec lists.

Corrected 2026-11-05. This issue originally said the tag service was missing. It is not — .claude/skills/frontend-design-system/references/frontend-design.md §6.1 (cited as docs/frontend-design.md when the error was made) is stale and understated what had shipped, and that error was carried into this issue. Coverage revised 70% -> 85%, remaining 2.5 -> 1.5 weeks.


Coverage and remaining-weeks figures are an estimate made by reading this repo against the spec on 2026-11-05, not numbers from the spec itself — the spec sizes everything as greenfield. Treat them as a planning input, not a commitment. Spec unit numbers (e.g. 1.6-1.12) refer to the pillar tables in the linked document.

Sub-issues

Sub-issues

4 of 4 Issues completed
Loading 4 sub-issues

Activity

  1. added
    mvp
    epic
    on Nov 5, 2026
  2. athvin commented on Nov 7, 2026

    @athvin
    OwnerAuthor

    Decomposed into 4 sub-issues (2026-11-07)

    Same reason as #513: an epic cannot carry a Closes #<n> claim PR without being closed by the first merge. Pillar-2 units 2.8–2.10 plus 1.29 were read against the tree.

    Spec unit Issue Priority Est
    2.8 review dialog merge #802 P0 0.8
    2.9 per-record actions #803 P1 0.3
    2.10 manual merge of unmatched #804 P1 0.3
    1.29 tags #805 P1 0.2

    One correction to this epic's framing

    The body says "only the specific review-dialog affordances the spec lists". That undersells #802. field-compare-grid.tsx displays a comparison competently — difference is signalled three ways because colour alone fails the a11y gate — but it has no editing at all: no click-to-copy, no inline edit, no master selection, no resizable columns.

    More structurally, it early-returns on "This review is about an entity rather than a pair of records" (:41), so it is pair-only, while the spec's dialog is an N-record group with a designated master. That data-shape change is the work; the affordance list is cheap afterwards and awkward if bolted onto a pair. Hence 0.8 of the 1.6 total sits in one issue.

    What is confirmed already built

    • The tag service — /v1/orgs/{org}/tags, tags/{tag_id}, apply|unapply|subjects, covered by pg_tags.rs. This epic's 2026-11-05 correction was right; feat(tags): reserved system tags, per-tag permission, and tags in the export #805 is only the residue (reserved names, per-tag permission, export).
    • Protect / unprotect — routes plus pg_protect_master.rs.
    • AI recommendation — recommendation-badge.tsx, assertion-library.tsx.

    One distinction worth not losing

    golden-records/[entityId]/unmerge exists, and it is not the spec's Unmatch. Unmerge splits an already-merged entity; Unmatch is a durable must-not-link that the next analysis must respect. #803 carries that; conflating them would look done and silently regroup the pair on the next run.

    Colour

    The spec wants conflicting values red and edits green. The UI is strictly grayscale, ESLint-enforced, --destructive the only exception. Both #802 and #801 note this — difference and edit must be distinguished by weight, scale, spacing or motion.

    Status left at Todo; promotion is yours. This card stays In progress as the tracker.

  3. self-assigned this
    on Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

epicmvp

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions