Skip to content

E9 — Approved Salesforce writeback and recovery over shared resolution results #514

Not planned
7 of 7 issues completed

Description

@athvin

Product stack rank 9 of 37 · roadmap #1008 · priority P1 · release salesforce-launch

Outcome

Turn shared resolution results into explicitly authorized Salesforce actions. Customers can already receive value through duplicates, golden records, lineage and exports; external writeback is an additional Salesforce capability.

Scope and ownership

Keep this epic as the writeback parent. The pure proposal builder is represented by #992; inspect its current state before assuming persistence or provider mutation exists. Preserve the existing breakdown:

Acceptance boundary

  • Reuse core configuration/results and keep provider identity, permissions, field limits and mutations at the adapter boundary.
  • Preview → approval → current-state validation → journaled apply → recovery is proven with failure/retry cases; a computed lake merge alone cannot authorize external writes.
  • Validate deletion convergence with feat(extract): deletion propagation — getDeleted poll and a full-refresh landing mode #880 and customer-facing recovery behavior before claiming the commercial writeback workflow complete.

Depends on #511 and relevant shared results/configuration contracts. Optional Duplicate Record Set publishing is #1016, not part of generic exports. Parent estimate is unset to avoid double-counting child implementation work.

Historical planning — superseded scope, ordering and estimates

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

Spec units 2.11-2.14, 2.18-2.19, 2.23, 2.25, 2.32, 2.34
Spec size (greenfield) 16 eng-weeks
Our coverage today ~45%
Estimated remaining 9.0 eng-weeks (44% saved by what exists)
Owning component Rust writeback service acting as user; back-off; Recycle Bin undo
Release mvp

What we already have

The survivorship half: golden_record, golden_lineage, golden_override, record_overlay, fixup, plus er-golden and er-reconcile and a working correction pass. Merges are computed and ledgered today.

What is missing

The writeback service. Nothing in this repo writes to Salesforce. No acting-as-user, no API back-off, no Recycle Bin undo. This is the epic that turns our computed merges into customer value, and most of the MVP depends on it.


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

7 of 7 Issues completed
Loading 7 sub-issues

Activity

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

    @athvin
    OwnerAuthor

    docs/connectors.md §3.3 says this out loud: "The apply service (§4.3) is specified here and in backend-design.md §10 but is not yet implemented — it is the central delta from today's read-only product and the reason the Salesforce connector is the first real build on this seam."

    §4.3 and §4.4 carry the v1 scope: writeback via merge() on Lead/Contact/Account plus upsert; preview → approve → apply with a journal and a staleness guard; manual/mass/auto tiers; undo/restore. §6's Writeback phase is this epic.

    So the design exists and this is implementation. Worth knowing that backend-design.md §15 phase 4 names the same thing, so three documents describe this one service.

  3. athvin commented on Nov 9, 2026

    @athvin
    OwnerAuthor

    Implementation breakdown uses repository designs and issue acceptance criteria as authorized by the user. Children: #992 deterministic proposals; #993 persisted previews/approval; #994 delegated authorization; #995 journaled apply; #996 undo; #997 manual/batch/auto UI; #998 upserts. The parent stays open until these capabilities are demonstrated. Starting #992 in #999. Existing extraction uses client credentials; it is not delegated writeback authorization. Master election remains owned by er-golden.

  4. added
    salesforce-launch
    on Nov 9, 2026
  5. changed the title [-]E9 — Merge engine and Undo[/-] [+]E9 — Approved Salesforce writeback and recovery over shared resolution results[/+] on Nov 9, 2026
  6. removed
    mvp
    on Nov 9, 2026
  7. added
    pruned
    on Nov 27, 2026
  8. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicprunedsalesforce-launch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions