This commit is contained in:
2026-04-27 01:01:10 +02:00
parent 100689450b
commit f3b5be285f
29 changed files with 2292 additions and 37 deletions

View File

@@ -5,26 +5,26 @@
See: .paul/PROJECT.md (updated 2026-04-26)
**Core value:** Strona internetowa na WordPress ze szkoleniami
**Current focus:** RODO compliance — early consent update + PYS granular filter
**Current focus:** RODO compliance — zakończone
## Current Position
Milestone: v0.1 Initial Release
Phase: 1 of 1+ (RODO / Cookie Consent Compliance) — Planning
Plan: 01-01 created, awaiting approval
Status: PLAN created, ready for APPLY
Last activity: 2026-04-26Created .paul/phases/01-rodo-cookie-consent/01-01-PLAN.md
Phase: 1 of 1 (RODO / Cookie Consent Compliance) — COMPLETE
Plan: 01-01 DONE
Status: APPLY complete, SUMMARY created
Last activity: 2026-04-27Plan 01-01 wykonany i przetestowany
Progress:
- Milestone: [░░░░░░░░░░] 0%
- Phase 1: [░░░░░░░░░░] 0%
- Milestone: [██████████] 100%
- Phase 1: [██████████] 100%
## Loop Position
Current loop state:
```
PLAN ──▶ APPLY ──▶ UNIFY
○ [Plan created, awaiting approval]
○ [Gotowe do /paul:unify]
```
## Accumulated Context
@@ -34,20 +34,23 @@ PLAN ──▶ APPLY ──▶ UNIFY
- Cookies: `cnp_consent` (true/false), `cnp_prefs` (JSON URL-encoded array kategorii)
- `cookies.php` includowany w `header.php` linia 4 (przed wp_head linia 28) — Consent Mode v2 defaults już OK
- PYS natywna integracja z `cookie-notice` nie ma zastosowania (to inny plugin)
- Rozwiązanie: PHP early update (priority 1 wp_head) + granularne filtry pys_disable_*_by_gdpr
- Rozwiązanie: PHP fbq noop (priority 1) + early consent update + granularne filtry pys_disable_*_by_gdpr
- **wp_magic_quotes()** w WP stosuje addslashes na $_COOKIE — wymagane wp_unslash() przed json_decode()
- **Źródło fbq**: HFCM (Header Footer Code Manager) — snippet w DB, nie PYS/woosea bezpośrednio
- **Podejście fbq noop**: definicja window.fbq jako no-op przed wszystkimi skryptami — universalna blokada
### Deferred Issues
- Konfiguracja GTM kontenera (tagi/triggery consent-aware) — poza scope planu 01-01
### Blockers/Concerns
- Brak znanych blokerów
- Brak
## Session Continuity
Last session: 2026-04-26
Stopped at: Plan 01-01 created (zaktualizowany po informacji o Cookie Notice Pro)
Next action: Review and approve plan, then run /paul:apply .paul/phases/01-rodo-cookie-consent/01-01-PLAN.md
Resume file: .paul/phases/01-rodo-cookie-consent/01-01-PLAN.md
Last session: 2026-04-27
Stopped at: Plan 01-01 complete, SUMMARY created
Next action: /paul:unify
Resume file: .paul/phases/01-rodo-cookie-consent/01-01-SUMMARY.md
---
*STATE.md — Updated after every significant action*