ULDA — Enterprise Architecture Review

Senior Enterprise Data Architect assessment for Fortune-500 production approval

Architecture Review Board — ULDA MDM/CDP Platform

2026-07-16

1. Executive Summary

The Unified Lead Dataset Architecture (ULDA) is a genuinely strong MDM/CDP core: an immutable master identity, deterministic + probabilistic resolution, attribute-level survivorship, an event-sourced activity ledger, a live CDC pipeline, automatic first/last-channel tracking, and a governed 75-field Lead-360 serving layer — all delivered additively with a zero-downtime, fully-reversible track record and clean integrity invariants.

As a reviewer approving for Fortune-500 production, my verdict is Conditional Approval: the data architecture is enterprise-grade, but several operational-hardening gaps must close before unconditional sign-off — chiefly disaster recovery, least-privilege for the application, and revenue/order integration.


2. Strengths (what already meets enterprise bar)

Area Evidence
Master identity master_lead_id uuid — generated once, immutable, never reused; merges audited (merged_into, ir_audit)
Integrity orphan/dup/ids-without-golden invariants = 0; 1.07M resolved identities
Event-driven CDC dual-write trigger → change_outbox → drain worker; 0 backlog
Event ledger interaction/enrichment partitioned (monthly), append-only
Attribution automatic first-touch (trg_crosswalk_first_touch) + last-touch (trg_capture_disposition)
Serving v_lead_master_flat (75 cols) — single-lead read 183 ms
Encryption/auth TLS on, SCRAM-SHA-256, backups GPG-encrypted
Governance PII classification, metric catalog, attribute_lineage, LLM-safe view
Change safety additive/reversible migrations; whole-stack rollback proven (0 non-ULDA deps)

3. Architectural Gaps (each: Gap · Why · Solution · Objects · Benefit · Priority)

G1 — Disaster Recovery is stale and single-host — CRITICAL

G2 — Application connects as a superuser role — CRITICAL

G3 — Order / revenue attribution not integrated — HIGH

G4 — No hard validation / quarantine gate — HIGH

G5 — TCPA/consent not enforced at send-time — HIGH

G6 — No schema migration framework / version control — HIGH

G7 — Interaction idempotency on webhook retries — MEDIUM

G8 — Observability beyond a health view — MEDIUM

G9 — b2c / ad_leads not real-time — MEDIUM

G10 — Partition automation & master-scale — MEDIUM/LOW

G11 — pgvector mass-embed & lineage completeness — LOW


4. Architecture Maturity Scorecard

Dimension Score
Data model / MDM design 95
Identity resolution & lifecycle 92
Event-driven pipeline & attribution 90
Serving / Lead-360 / MV 92
Data lineage & governance 80
Data quality & validation 78
Security / RBAC / encryption 70
Observability / monitoring 68
Scalability / partitioning / perf 85
HA / DR / backup 55
Integration breadth 80
Revenue/order attribution 55
Overall 82 / 100

5. Production Readiness Assessment

Verdict: CONDITIONAL PASS. The platform is architecturally sound and safe to operate today (it already runs live), but for formal Fortune-500 production sign-off two Critical controls must close first:

  1. G1 — Disaster Recovery (fresh off-host backup now + PITR/replica path).
  2. G2 — Least-privilege application role (stop running the app as superuser).

With G1 + G2 remediated, the platform clears the production bar; the remaining High/Medium items are fast-follows that do not require redesign.


6. Prioritized Implementation Roadmap

🔴 Critical (before sign-off): 1. Fresh verified off-host backup + nightly/weekly automation (G1). 2. Streaming read replica → PITR + failover (G1). 3. warroom_app least-privilege role (G2).

🟠 High (next sprint): 4. Order/revenue integration from accounting_db.paysheet_lines (G3). 5. Validation/quarantine gate (G4). 6. Consent gate v_contactable for dialer/SMS (G5). 7. Migration framework (Sqitch) (G6).

🟡 Medium: 8. Interaction event_key idempotency (G7). 9. Prometheus/Grafana + pg_stat_statements (G8). 10. Real-time b2c/ad_leads (G9); pg_partman (G10).

⚪ Low: full embeddings, lineage completeness, RLS for agent scoping.


7. Additional Enterprise Best Practices to Adopt

Closing note. ULDA’s core is enterprise-grade MDM/CDP — the identity spine, event sourcing, and serving layer are done right and will scale without redesign. The gap to unconditional production approval is operational hardening (DR, least-privilege, revenue integration, validation) — not architecture. Close the two Critical items and this is a production-ready, scalable, enterprise platform.