@@ -19,20 +19,33 @@ Acceptance criteria:
1919
2020## 2. Resolve the unused consent mode setting
2121
22- - [ ] Define the intended behavior for ` explicit ` , ` implicit ` , and ` cookie_popup `
22+ - [x ] Define the intended behavior for ` explicit ` , ` implicit ` , and ` cookie_popup `
2323 modes.
24- - [ ] Decide whether each mode has distinct runtime behavior.
25- - [ ] Implement the defined behavior, or remove modes that do not represent real
24+ - [x ] Decide whether each mode has distinct runtime behavior.
25+ - [x ] Implement the defined behavior, or remove modes that do not represent real
2626 behavior and keep a single consent-enabled switch.
27- - [ ] Keep defaults, settings UI, validation, migrations, documentation, and
27+ - [x ] Keep defaults, settings UI, validation, migrations, documentation, and
2828 translations synchronized.
29- - [ ] Add PHP tests for every supported setting and loader selection path.
29+ - [x] Add PHP tests for every supported setting and loader selection path.
30+
31+ Decision:
32+
33+ - Immediate loading and consent-controlled loading are the only observable
34+ policies. The retired ` explicit ` , ` implicit ` , and ` cookie_popup ` values all
35+ selected the same loader and have been removed without changing existing
36+ sites' consent gate.
37+ - Basicrum supplies an integration gate, not a consent popup, legal-basis
38+ decision, or compliance guarantee.
39+ - In consent-controlled loading, the site's external consent tool is the source
40+ of truth on every page. Its adapter loads after the consent loader and calls
41+ exactly one of the two public callbacks. Basicrum does not persist consent
42+ across page loads.
3043
3144Acceptance criteria:
3245
33- - [ ] Every consent option shown to an administrator has observable and documented
46+ - [x ] Every consent option shown to an administrator has observable and documented
3447 runtime behavior.
35- - [ ] No unused consent settings remain in stored options or the UI.
48+ - [x ] No unused consent settings remain in stored options or the UI.
3649
3750## 3. Add JavaScript consent and loader tests
3851
@@ -41,10 +54,8 @@ Acceptance criteria:
4154- [x] Test that opt-in loads Boomerang exactly once.
4255- [x] Test that repeated opt-in calls do not load duplicate scripts.
4356- [x] Test that opt-out disables Boomerang when it is already loaded.
44- - [x] Test removal of Boomerang cookies during opt-out.
45- - [x] Test consent cookie behavior on HTTP and HTTPS.
46- - [x] Test consent cookie behavior for normal hostnames, localhost, and relevant
47- subdomain cases.
57+ - [x] Test removal of Boomerang RT and BA cookies during opt-out.
58+ - [x] Test measurement-cookie cleanup for the current host and parent domains.
4859- [x] Run the same behavioral assertions against minified and unminified loaders.
4960- [x] Add JavaScript tests to CI.
5061
0 commit comments