Skip to content

E10 — Lead conversion #520

Not planned
Not planned

Description

@athvin

Product stack rank 19 of 37 · roadmap #1008 · priority P2 · release salesforce-launch

Outcome

A steward converts a duplicate Lead into the matching existing Contact/Account (Salesforce convertLead) from an approved proposal, through the same writeback journal as merges — never a second write path.

Audit (2026-11-27)

Acceptance

  • A proposal kind lead_convert built by the same deterministic builder as merge proposals: the Lead, the target Contact (and its Account), the field mapping, the policy revision and the pinned snapshot.
  • Approval binds the exact immutable proposal (the E9: Materialize merge previews and persist approval #993 contract); apply runs through the E9: Apply approved Salesforce merges with a durable journal #995 journal with a current-state staleness check on both records and is idempotent on retry.
  • A converted Lead is excluded from the next resolution run; the Contact's golden record and lineage reflect the conversion.
  • Failure, partial failure and a Lead already converted outside DupeZero are journaled and reported, not retried blindly; recovery semantics are documented (conversion is not reversible in Salesforce).
  • Mock-Salesforce harness tests for each path; no live org dependency.
Historical planning — superseded scope, ordering and estimates

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

Spec units 2.20-2.22
Spec size (greenfield) 4 eng-weeks
Our coverage today ~0%
Estimated remaining 4.0 eng-weeks (0% saved by what exists)
Owning component writeback convert path
Release mvp

What we already have

Nothing. A grep for lead_convert/convert_lead returns zero files.

What is missing

The whole convert path. Blocked on E9: there is no writeback service to add a convert path to.


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.

Activity

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

    @athvin
    OwnerAuthor

    Design exists. docs/connectors.md §4.1 makes Lead a first-class object from the start (its Company carried as metadata), and §4.4 includes merge() on Lead/Contact/Account in the v1 writeback scope. backend-design.md §15 phase 5 names "cross-object Lead↔Contact resolution surfaced (with convert writeback)" as differentiation.

    The dependency on #514 is hard: there is no writeback service to add a convert path to.

  3. added
    salesforce-launch
    and removed
    mvp
    on Nov 9, 2026
  4. added
    pruned
    on Nov 27, 2026
  5. athvin commented on Nov 27, 2026

    @athvin
    OwnerAuthor

    Closed in the 2026-11-26 board prune. The board now targets a deduplication tool that works the same whatever the data's source. This card is Salesforce-specific, so it isn't needed for that. It's labelled pruned and can be reopened if it becomes relevant.

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

Metadata

Metadata

Assignees

Labels

epicprunedsalesforce-launch

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions