Add Massachusetts privacy law citations to removal templates - #5
Open
brandonganem wants to merge 2 commits into
Open
Add Massachusetts privacy law citations to removal templates#5brandonganem wants to merge 2 commits into
brandonganem wants to merge 2 commits into
Conversation
Merge decisions from inbox into canonical decisions.md: - LAN-only deployment directive (Brandon) - Deploy infrastructure decisions (Roy): 6 new deploy files - Config wiring findings (Pris): 2 blocking issues identified Created orchestration logs: - 2026-04-02T01-10-roy.md: Infrastructure deployment completion - 2026-04-02T01-10-pris.md: Config wiring investigation results Created session log: - 2026-04-02T01-10-deploy-infra.md: Full session summary Retained as reference: - .squad/decisions/inbox/deckard-proxmox-deployment-plan.md Cleaned up merged inbox files: - Deleted roy-deploy-configs.md - Deleted pris-config-wiring.md - Deleted copilot-directive-2026-04-02T00-35.md Deploy infrastructure files created in eraser/deploy/: - README.md: Deployment guide - setup-lxc.sh: LXC provisioning - eraser.service: systemd unit - deploy.sh: Deploy automation - eraser-backup.sh: Backup cron - eraser-health.sh: Health check cron Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Add state-conditional language for Massachusetts residents citing:
- MGL Chapter 93A §§ 2, 9 (unfair/deceptive practices, private right of action, treble damages)
- 201 CMR 17.00 (data security standards, prohibition on unnecessary retention)
Uses existing {{.State}} template variable with Go conditional — zero code changes required.
Block renders only when State equals "MA", placed after legal citations and before signature.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds state-conditional Massachusetts privacy law language to the generic and CCPA data removal request templates. When a user's state is
MA, an additional legal notice section renders automatically.Why
Massachusetts residents have meaningful privacy protections that strengthen data removal requests:
Citing these gives data brokers concrete legal incentive to comply promptly.
How
Uses the existing
{{.State}}template variable with a Go{{if eq .State "MA"}}conditional block. Zero code changes — only template files are modified:internal/template/templates/generic.tmpl— MA block added after legal citations, before signatureinternal/template/templates/ccpa.tmpl— MA block added for dual-jurisdiction coverage (CA + MA)The conditional block renders only for MA residents and is invisible to all other users.
Context
Massachusetts is actively considering the Massachusetts Data Privacy Act (MDPA, S.2608), which would create CCPA-equivalent comprehensive privacy rights. In the meantime, Chapter 93A and 201 CMR 17.00 are the primary legal tools available to MA residents. This PR ensures eraser leverages them.
Testing