The Patchwork Problem Is Now an Engineering Problem
The United States does not have a federal comprehensive privacy law. What it has instead is a thickening quilt of state statutes, each with its own applicability thresholds, consumer rights catalogs and enforcement mechanisms. As of 2026, more than twenty states have enacted comprehensive data privacy legislation, with several more bills moving through legislative chambers.
For privacy lawyers, this is a jurisdictional mapping exercise. For engineers, it is an architecture problem with real production consequences. A system built to satisfy California's opt-out model might fail under Connecticut's opt-in requirement for sensitive data processing. A rights-request workflow designed for Virginia's 45-day response window might break under a stricter state deadline.
The naive response is to build state-by-state. That approach collapses under its own weight within a year. The correct response is to build one system that can satisfy all current laws and extend cleanly to accommodate future ones. That requires a compliance matrix, a structured mapping from legal obligations to technical controls, and an architecture that treats the matrix as a first-class engineering artifact.
This post lays out how to build that system. The framing draws on Dr. Patrick Fisher's work on Personal Data Asset Origination Systems and the consent architecture principles documented across the The Invisible Series, particularly Volume 6, The Invisible Data.
Mapping the Compliance Matrix: What the Laws Actually Require
Before writing a line of code, the team needs a structured legal-to-technical translation. The compliance matrix is that translation. It maps each law's obligations across a fixed set of technical dimensions.
The core dimensions that appear across all major state laws are:
- Applicability thresholds: Revenue limits, data volume thresholds, percentage-of-revenue tests
- Consumer rights: Access, correction, deletion, portability, opt-out of sale or targeted advertising, opt-out of profiling
- Sensitive data categories: Health, biometric, precise geolocation, racial/ethnic origin, sexual orientation, citizenship status, children's data
- Consent model: Opt-in (affirmative) vs. opt-out (right to object)
- Data minimization and purpose limitation requirements
- Data Protection Assessments (DPAs) or Risk Assessments
- Response windows for rights requests
- Contractor/processor agreement requirements
Populate the matrix by column (law) and row (dimension). California's CPRA, Colorado's CPA, Connecticut's CTDPA, Virginia's CDPA, Texas's TDPSA, Oregon's OCPA and the laws that followed them each have distinct values in several of these rows. The matrix makes those differences visible at a glance.
This is not a legal opinion document. It is a system design input. The matrix gets versioned in your repository alongside the code it governs. When Montana or a new state law changes a response window, the matrix updates and the downstream system change is traceable.
The Strictest Common Denominator Architecture
Once the matrix exists, the architectural strategy becomes clear. Find the strictest value in each row and build to that standard as the default system behavior. Then layer state-specific exceptions where a law permits more permissive behavior.
This is the opposite of how most compliance teams approach the problem. They start with the most permissive baseline and try to bolt on restrictions. That produces brittle systems full of conditional logic scattered across the codebase.
Building to the strictest common denominator means:
- Opt-in consent as the default for sensitive data categories, since several states require it even when others do not
- The shortest response window across all applicable laws becomes your SLA for rights requests
- The broadest definition of sensitive data. Typically including precise geolocation, health inferences and biometric identifiers. Governs your data classification schema
- Data Protection Assessments are conducted for all high-risk processing, not just in states that legally require them
- Processor agreements contain the full set of required clauses from the strictest applicable law
The strictest-common-denominator approach does not mean you expose all users to the most restrictive UX regardless of their location. It means your system capabilities are built to the highest standard. Jurisdiction detection (covered below) then determines which capabilities are surfaced to which users.
The NIST Privacy Framework, specifically its Govern-MAP-CONTROL core functions, provides a useful structural model for organizing these capabilities. The NIST Privacy Framework is a living reference that maps organizational privacy outcomes to engineering controls in a way that translates well to the matrix approach described here.
Building Consent Receipt Infrastructure That Scales
Consent is the most legally consequential data your system produces. In most state laws, the validity of a consent claim is what determines whether downstream processing is lawful. Yet most engineering teams treat consent as a boolean flag in a user record. That approach fails under audit and fails under litigation.
A consent receipt is a structured, timestamped, cryptographically signed record of what a user agreed to, under which legal basis, for which purposes, at which version of a privacy notice. The W3C's work on privacy-preserving web standards and the Kantara Initiative's Consent Receipt Specification provide the foundational schema for this structure.
An engineering team building consent receipt infrastructure should implement:
- Immutable consent logs: Append-only storage with cryptographic chaining so that consent records cannot be silently altered
- Purpose binding: Each consent receipt binds to a specific, named processing purpose. Not a blanket agreement to all current and future uses
- Version-aware notices: Consent is linked to the exact version of the privacy notice in effect at the time of collection, stored as a hash reference
- Withdrawal mechanics: The system must support consent withdrawal with the same granularity as consent grant, and withdrawal must propagate to downstream processors
- Jurisdictional metadata: Each receipt records the user's jurisdiction at time of consent, enabling accurate legal basis determination later
This infrastructure is the foundation that MyDataKey operationalizes as a personal data key. A portable, user-held consent artifact that travels with the individual rather than being held exclusively by the data controller. The Personal Data Asset Origination System (PDAOS) model extends this by treating consent receipts as provenance records for data assets, enabling downstream auditability at the asset level.
Engineering a Modular Rights-Request Pipeline
Every comprehensive state privacy law grants consumers some combination of access, deletion, correction and portability rights. The details differ. Response windows range from 30 to 60 days, with varying extension allowances. Authentication requirements differ. The scope of what must be returned in a data access response differs.
A monolithic rights-request handler breaks when a new state law introduces a novel right or a shorter deadline. A modular pipeline does not.
The pipeline architecture separates these concerns:
- Request ingestion layer: Receives requests via authenticated web form, API or email. Applies jurisdiction detection to tag the request with the governing law.
- Identity verification layer: Applies verification requirements appropriate to the request type and jurisdiction. Avoid over-collecting. Verification should use the minimum data needed to confirm identity.
- Request router: Routes verified requests to the appropriate fulfillment handler based on right type. Each handler is an independently deployable module.
- Fulfillment handlers: Separate handlers for access, deletion, correction and portability. Each handler queries the relevant data stores and applies jurisdiction-specific scoping rules.
- Deadline tracker: A separate service that monitors open requests against jurisdiction-specific SLAs and escalates approaching deadlines.
- Response packager: Formats the response in the required form (machine-readable for portability, human-readable for access) and delivers via a secure, authenticated channel.
- Audit log writer: Records every action taken on a request, from receipt through fulfillment, in an immutable log.
This modularity means that when a new state law introduces a right to appeal a deletion refusal, as several laws now include, you add an appeal handler module without touching the rest of the pipeline.
Jurisdiction Detection and Dynamic Policy Application
The compliance matrix defines what each jurisdiction requires. Jurisdiction detection is what applies those requirements to the right users at the right time.
IP geolocation is the most common approach but it is insufficient alone. Users travel. VPNs are common. More importantly, several state laws define applicability based on the consumer's state of residence, not their current location. A California resident accessing your service from Texas is still protected under the CPRA.
A robust jurisdiction detection system combines:
- Self-declared residency: Collected at account creation and stored as a user attribute. This is the authoritative signal for applicability under residence-based laws.
- IP geolocation as a proxy: Used for unauthenticated users where residency is unknown. Apply the law of the detected state when residency is not available.
- Conservative fallback: When jurisdiction is ambiguous, apply the strictest applicable law. This is the correct default from both a legal risk and an engineering simplicity standpoint.
Jurisdiction detection feeds a policy engine that determines, at request time, which consent model applies, which rights are available, which data categories require heightened treatment and which disclosures must be made. The policy engine is not business logic scattered through application code. It is a dedicated service with its own test suite, versioned policies and an audit trail.
The W3C's work on ODRL (Open Digital Rights Language) provides a machine-readable policy expression format that can encode jurisdiction-specific rules in a structured, interoperable way. Expressing your compliance matrix as ODRL policies makes them testable, auditable and shareable with downstream processors who need to operate under the same constraints.
Data Minimization by Design Across All Jurisdictions
Data minimization is present in every comprehensive state privacy law. The specific language varies but the requirement is consistent: collect only what is necessary for the disclosed purpose, retain it only as long as necessary and do not use it for incompatible purposes.
For engineers, data minimization is not a policy document. It is a set of structural constraints that must be enforced at the data model level, not the application level.
Enforcing minimization at the data model level means:
- Purpose tagging at collection: Every field in every data store is tagged with the purpose for which it was collected. This tag travels with the data through transformations and pipelines.
- Schema-level access controls: Fields tagged to one purpose cannot be read by processes serving a different purpose. This is enforced in the data layer, not by application convention.
- Retention policies as code: TTL rules and deletion schedules are defined in code, versioned and automatically enforced. Manual deletion processes are not reliable at scale.
- Data inventory as a living artifact: The organization's Record of Processing Activities (ROPA), required under several frameworks, is generated automatically from schema annotations and pipeline metadata, not maintained manually in a spreadsheet.
These controls also directly support Data Protection Assessments. When a DPA requires demonstrating that data collection is limited to what is necessary, a purpose-tagged schema and an auto-generated ROPA are the evidence. Manual assertions without technical backing do not survive regulatory scrutiny.
The philosophy underlying these controls connects directly to what Dr. Fisher describes in The Invisible Data as the provenance problem: data that enters a system without a documented origin, purpose and consent chain is structurally unaccountable. No amount of policy language fixes a system that cannot answer the question "why do we have this, and who agreed to it?" The PDAOS model answers that question by treating every data asset as having an origination record. A technical artifact that binds the asset to its consent basis and purpose from the moment of collection.
Building the compliance matrix is not a one-time project. State privacy laws are amended. New laws pass. Enforcement guidance shifts the practical meaning of statutory terms. The matrix must be a living document, reviewed on a defined cadence, with a clear owner on the engineering team responsible for translating legal changes into technical change requests.
The teams that treat privacy compliance as a periodic audit event will continue to scramble when new laws pass. The teams that treat the compliance matrix as a core system artifact, versioned, tested and integrated into the development lifecycle, will find that each new state law requires a configuration change, not a rewrite.
That is the difference between a brittle compliance posture and a sovereign data architecture.
