Repository navigation
Description
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:
- E9: Materialize merge previews and persist approval #993 — persisted merge previews and approval.
- E9: Add delegated Salesforce authorization for writeback #994 — delegated Salesforce authorization.
- E9: Apply approved Salesforce merges with a durable journal #995 — approved merges with a durable journal.
- E9: Restore merged records and revert approved master changes #996 — restore merged records and revert approved master changes.
- E9: Add manual, batch and policy-driven writeback review #997 — manual, batch and policy-driven review.
- E9: Apply approved upserts through the writeback journal #998 — approved upserts through the journal.
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.
Activity
athvin commentedon Nov 5, 2026
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 plusupsert; 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.athvin commentedon Nov 9, 2026
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.
[-]E9 — Merge engine and Undo[/-][+]E9 — Approved Salesforce writeback and recovery over shared resolution results[/+]athvin commentedon Nov 27, 2026
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
prunedand can be reopened if it becomes relevant.