update
This commit is contained in:
35
.paul/codebase/impact_map.md
Normal file
35
.paul/codebase/impact_map.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# Impact Map
|
||||
|
||||
## Tryb
|
||||
|
||||
- Skan: bootstrap/no code changes
|
||||
- Status: wstepny
|
||||
|
||||
## Prawdopodobne domeny i moduly
|
||||
|
||||
- Rdzen WordPress w katalogu glownym.
|
||||
- Motyw `wp-content/themes/hello-elementor`.
|
||||
- Wlasne lub lokalne rozszerzenia w `wp-content/mu-plugins/`.
|
||||
- Dodatek `wp-content/plugins/elementor-addon`.
|
||||
|
||||
## Powiazane pliki
|
||||
|
||||
- `wp-config.php` - konfiguracja instalacji; traktowac jako wrazliwa.
|
||||
- `wp-content/mu-plugins/elementor-webhook-relay.php` - potencjalna logika integracyjna.
|
||||
- `wp-content/mu-plugins/cookie-notice-pro-loader.php` i `wp-content/mu-plugins/cookie-notice-pro/` - logika cookie notice.
|
||||
- `wp-content/plugins/elementor-addon/` - potencjalne widgety lub rozszerzenia Elementor.
|
||||
- `wp-content/themes/hello-elementor/` - motyw i zasoby frontendu.
|
||||
|
||||
## Obszary weryfikacji
|
||||
|
||||
- Widoki publiczne strony po zmianach w motywie lub Elementor.
|
||||
- Zachowanie `mu-plugins`, szczegolnie webhooki i komunikaty cookies.
|
||||
- Formularze, popupy i widgety Elementor po zmianach w `elementor-addon`.
|
||||
- Konfiguracja permalinkow i reguly `.htaccess`, jezeli praca dotyka routingu.
|
||||
- Dla planu `20260519-0928-fix-cookie-injectscripts`: klikniecie `#cookieAccept`, ponowne wejscie z istniejaca zgoda, otwarcie preferencji przez `#cookieSettings` i zminimalizowana ikone.
|
||||
|
||||
## Ukryte sprzezenia
|
||||
|
||||
- Elementor moze przechowywac krytyczna strukture stron w bazie danych, poza repozytorium.
|
||||
- `mu-plugins` laduja sie automatycznie i moga wplywac na cala instalacje.
|
||||
- Aktualizacje motywu lub pluginow WordPress moga nadpisac pliki spoza wlasnych rozszerzen.
|
||||
22
.paul/codebase/quality_risks.md
Normal file
22
.paul/codebase/quality_risks.md
Normal file
@@ -0,0 +1,22 @@
|
||||
# Quality Risks
|
||||
|
||||
## Status
|
||||
|
||||
Skan bootstrap jest lekki i nie wykonuje pelnej analizy duplikacji ani wzorcow AST. Pelniejsze ryzyka powinny zostac odswiezone przez `$paul-map-codebase`.
|
||||
|
||||
## Ryzyka wstepne
|
||||
|
||||
- `wp-config.php` moze zawierac sekrety i dane srodowiskowe; nie przenosic ich do dokumentacji ani logow.
|
||||
- `mu-plugins` maja globalny wplyw na WordPress i wymagaja ostroznej weryfikacji po zmianach.
|
||||
- Logika Elementor moze byc czesciowo w bazie danych, wiec sama analiza plikow nie pokazuje pelnego zachowania strony.
|
||||
- Wtyczki i motywy vendorowe moga byc aktualizowane z zewnatrz; preferowac zmiany w warstwie wlasnej.
|
||||
|
||||
## Narzedzia ciezsze
|
||||
|
||||
- `jscpd`: disabled by policy.
|
||||
- `ast-grep`: disabled by policy.
|
||||
|
||||
## Znane ograniczenia
|
||||
|
||||
- Codebase Knowledge Graph zwrocil sukces indeksowania, ale projekt nie byl widoczny w rejestrze przy odczycie architektury.
|
||||
- Raport nie zawiera pelnej listy tras, klas ani zaleznosci.
|
||||
19
.paul/codebase/radar/codebase-memory-full.txt
Normal file
19
.paul/codebase/radar/codebase-memory-full.txt
Normal file
@@ -0,0 +1,19 @@
|
||||
Mode: full
|
||||
Scope: bootstrap/no code changes
|
||||
Timestamp: 2026-05-19
|
||||
|
||||
MCP status:
|
||||
- codebase-memory-mcp tools are available in the session.
|
||||
- codebase-memory-mcp CLI version: 0.6.1.
|
||||
- Indexed projects before bootstrap: D-notatnik-ai.
|
||||
- Current repository was not listed as indexed before PAUL init.
|
||||
- index_repository(mode=fast) returned status indexed for project c-visual studio code-projekty-kregoslup.luxmedkrakow.pl.
|
||||
- Follow-up list_projects/get_architecture did not expose the project, so architecture extraction is degraded for this bootstrap.
|
||||
|
||||
Fallback discovery:
|
||||
- Repository shape: WordPress installation.
|
||||
- Visible custom areas: wp-content/mu-plugins, wp-content/plugins/elementor-addon, wp-content/themes/hello-elementor.
|
||||
- Git status before PAUL init: clean.
|
||||
|
||||
Deferred:
|
||||
- Run $paul-map-codebase for full repository indexing and richer impact graph.
|
||||
56
.paul/codebase/tooling_status.md
Normal file
56
.paul/codebase/tooling_status.md
Normal file
@@ -0,0 +1,56 @@
|
||||
# Tooling Status
|
||||
|
||||
## Bootstrap
|
||||
|
||||
- Timestamp: 2026-05-19
|
||||
- Scan mode: full
|
||||
- Scope: bootstrap/no code changes
|
||||
- Status: degraded
|
||||
|
||||
## Plan Scan: 20260519-0928-fix-cookie-injectscripts
|
||||
|
||||
- Timestamp: 2026-05-19T09:28:06+02:00
|
||||
- Scan mode: plan
|
||||
- Scope: `injectScripts is not defined` in `cookienoticepro.script.js`
|
||||
- Status: degraded
|
||||
- MCP: `search_code` failed because the current project is not visible in the MCP project registry.
|
||||
- Fallback: `rg` found `injectScripts()` calls at `wp-content/mu-plugins/cookie-notice-pro/assets/cookienoticepro.script.js:163` and `:206`; no definition was found.
|
||||
- User-provided reference checked: `c:\visual studio code\projekty\luxmedkrakow.pl\wp-content\mu-plugins\cookie-notice-pro\assets\cookienoticepro.script.js` contains `const injectScripts = () => {};` at line 401.
|
||||
- Reference file has other configuration/consent differences, so only the minimal missing-function fix should be carried over.
|
||||
- Additional comparison: both files have matching `analytics_storage` grant/deny logic; the reference adds `functionality_storage` and `personalization_storage`, which is outside this immediate bugfix.
|
||||
|
||||
## Post-Apply Scan: 20260519-0928-fix-cookie-injectscripts
|
||||
|
||||
- Timestamp: 2026-05-19T09:35:56+02:00
|
||||
- Scan mode: post-apply
|
||||
- Scope: `wp-content/mu-plugins/cookie-notice-pro/assets/cookienoticepro.script.js`
|
||||
- Status: degraded
|
||||
- Change: added `const injectScripts = () => {};` before `changeRootVariables`.
|
||||
- `node --check wp-content/mu-plugins/cookie-notice-pro/assets/cookienoticepro.script.js`: passed.
|
||||
- `git diff --check -- wp-content/mu-plugins/cookie-notice-pro/assets/cookienoticepro.script.js`: passed with LF/CRLF warning only.
|
||||
- `php -l wp-content/mu-plugins/cookie-notice-pro/cookie-notice-pro.php`: not run; `php` is not available in PATH.
|
||||
- Static consent review: `#cookieAccept` stores `cnp_prefs` before `googleConsentModeHandler()`, and `analytics_storage: granted` remains tied to `analytics` in preferences.
|
||||
|
||||
## Narzedzia
|
||||
|
||||
- `codebase-memory-mcp`: dostepne jako MCP oraz CLI `0.6.1`.
|
||||
- `codebase-memory-mcp index_repository`: zwrocil `status: indexed` dla projektu `c-visual studio code-projekty-kregoslup.luxmedkrakow.pl`, ale kolejne `list_projects` i `get_architecture` nie widzialy tego projektu w rejestrze.
|
||||
- `jscpd`: disabled by policy.
|
||||
- `ast-grep`: disabled by policy.
|
||||
|
||||
## Komendy i narzedzia uzyte
|
||||
|
||||
- MCP: `list_projects`
|
||||
- MCP: `index_repository`
|
||||
- MCP: `get_architecture`
|
||||
- Shell: `git status --short`
|
||||
- Shell: `rg --files`
|
||||
- Shell: `codebase-memory-mcp --version`
|
||||
|
||||
## Surowe wyniki
|
||||
|
||||
- `.paul/codebase/radar/codebase-memory-full.txt`
|
||||
|
||||
## Nastepna akcja
|
||||
|
||||
Uruchom `$paul-map-codebase`, aby wykonac pelny mapping i odswiezyc raporty radaru.
|
||||
Reference in New Issue
Block a user