feat(web,legal): aggressive legal-compliance release for market launch #4104
ccantynzcommented Apr 16, 2026
Originally written by @vercel[bot] on GitHub.
The latest updates on your projects. Learn more about Vercel for GitHub.
| Project | Deployment | Actions | Updated (UTC) |
|---|---|---|---|
| 48co.ai | Preview, Comment | Apr 16, 2026 10:23am | |
| alec-rae-com-admin | Preview, Comment | Apr 16, 2026 10:23am |
Cross-repo impact
See what breaks downstream if this PR merges.
⮌ Merged
This pull request was merged into main.
c comment · e edit title · m merge · a approve · r request changes · ? shortcuts
Originally written by @ccantynz-alt on GitHub.
Imported from https://github.com/ccantynz-alt/AlecRae.com/pull/27
Summary
Aggressive legal-compliance surface so AlecRae can ship to market with maximum regulatory cover across EU, UK, US (federal + California), Canada, Australia, Brazil, and Germany.
Cross-cutting infrastructure
apps/web/lib/consent.ts) — version-stamped records, default-deny for non-essential categories, GPC + DNT auto-respect, 11 regulatory-critical vitest tests (jsdom)ConsentBannercomponent — granular toggles, equal-weight Accept / Reject / Manage buttons (no dark patterns), listens foralecrae:open-consenteventLegalFootercomponent with 17 legal links + cookie-preferences trigger/.well-known/security.txt+ PGP key + repo-rootSECURITY.mdwith scope, safe harbour, CFAA/DMCA waiver/.well-known/gpc.jsonsignalling Global Privacy Control supportNine new legal pages under
app/(legal)//do-not-sell/california-notice/children/accessibility/security/refund/ai-transparency/impressum/complianceAffirmative opt-in + policy updates
ConsentGatedRegistrationwraps passkey + email sign-up with three checkboxes: age attestation (13+/16+ EEA/UK), terms/privacy/AUP/cookie acceptance, optional marketing opt-in. GDPR Art 7 + UK ICO Age-Appropriate Design Code compliantsitemap.ts+robots.tsupdated (robots now allows/.well-known/)alecrae.dev→alecrae.comacross terms, AUP, DMCA, DPA, SLA, cookies, subprocessors, privacy, dashboard/domainsCloses Known Issues #15–#22 in
CLAUDE.md.Test plan
bun run buildgreen — 31 static pages including all 17 legal routesbun run test— 11/11 consent-library tests pass (jsdom environment)packages/uierrors untouched; zero new errors in the 17 new files)/register→ form disabled until age + terms checkboxes ticked/.well-known/security.txtresolves and validates against RFC 9116