Consent compliance: docs, agent guide, skills, changelog, shared behaviour spec, browser check, reference e2e

- docs/consent.md: compliance defaults, Global Privacy Control, withdrawal, consent log on by default and the SQL
  migration; no more "UODO requirement" or "GPC not needed". docs/analytics.md: what Consent Mode advanced sends.
- docs/consent-behaviour-spec.md: the behaviour IAPL and IAWL share, with the 13-item test list.
- CHANGELOG 1.17.0: the SQL migration first, a before → after table for an existing site.
- AGENT.md, iapl-setup / iapl-upgrade / iapl-reference / iapl-consent-check, PROGRAMISTA item 78; reference skills copy.
- iapl-consent-check: Global Privacy Control, equal prominence and withdrawal runs; Google asset warnings.
- Reference site uses the new defaults; e2e for GPC, a stale grant, equal prominence, withdrawal; e2e:built runs every
  consent test in both bundlers. YouTubeEmbed warns in development without a poster.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-26 13:48:19 +01:00
co-authored by Claude Opus 5.5
parent 99036eb70c
commit f5c53e4523
33 changed files with 821 additions and 112 deletions
@@ -46,16 +46,15 @@ export default async function LocaleLayout({ children, params }: Props) {
//: analytics={{ consentMode: 'basic' }} // no request to Google before consent (AGENTS.md → Project decisions)
// @starter:endif
// @starter:if bannerInline
//: banner={<CookieBanner controls="switch" equalChoice settings="inline" />}
//: banner={<CookieBanner controls="switch" settings="inline" />}
// @starter:endif
// @starter:if bannerModal
//: banner={<CookieBanner controls="switch" equalChoice settings="modal" />}
//: banner={<CookieBanner controls="switch" settings="modal" />}
// @starter:endif
// @starter:if bannerDetailed
banner={<CookieBanner controls="switch" equalChoice settings="detailed" />}
banner={<CookieBanner controls="switch" settings="detailed" />}
// @starter:endif
lightbox
logEndpoint="/api/ipal/consent"
shell={shell}
theme
>
+1 -1
View File
@@ -112,7 +112,7 @@ export default buildConfig({
//: agency: { name: 'Example Agency', url: 'https://agency.example' },
// @starter:endif
indexNow: true,
consentLog: true,
// consentLog: on by default (1.17.0) — Privacy → Consent records; `consentLog: false` turns it off
// Privacy → Cookie review: scan + approval; crawl needs IAPL_COOKIE_SCAN_URL / IAPL_COOKIE_SCAN_TOKEN
// @starter:if crawl
cookieScanner: { crawl: true },