CRM Bulk CSV Deduplication, Formula-Disarm Guardrail & Merge HITL
Screens bulk CRM CSV imports for leading spreadsheet formula-injection vectors and fuzzy domain/email duplicates, synthesizes pre-flight DPO immunity rules on rejected rows, and gates master-record merges on HITL.
Governed Workflow Steps (4)
- 1. Disarm Spreadsheet Formula Cells &
Disarm Spreadsheet Formula Cells & Synthesize Pre-Flight Immunity Rule: consume [rawCsvPayload] via ingest.evolving_brain_csv_guardrail to emit [disarmedRows, dpoPairRecorded]. Verify invariant: disarmedRows.formulaThreatsRemaining === 0.
- 2. Compute Exact/Fuzzy Duplicate
Compute Exact/Fuzzy Duplicate Clusters & Surviving Master Record Count: consume [disarmedRows] via vault.vault-csv-import-dedupe-hygiene-gate to emit [cleanUniqueRows, duplicatePairsCount, hygieneScoreBps]. Verify invariant: cleanUniqueRows > 0 && hygieneScoreBps >= 8500.
- 3. Approval Gate: Human Review
Pause for explicit human review and signed approval token before executing external write "Approval-Gated Master Account/Contact Merge & SQLite WAL Commit" (webhook.crm_sqlite_bulk_merge_commit).
- 4. Approval-Gated Master · [Airlock Approval Required]
Approval-Gated Master Account/Contact Merge & SQLite WAL Commit: consume [cleanUniqueRows, duplicatePairsCount] via webhook.crm_sqlite_bulk_merge_commit to emit [mergeAuditHash]. Verify invariant: approvalTokenVerified === true.