This commit is contained in:
2026-05-19 20:05:59 +02:00
parent 82fb5ad653
commit e90c251d0b
28 changed files with 777 additions and 2158 deletions

View File

@@ -0,0 +1,23 @@
Mode: full
Scope: entire repository
Timestamp: 2026-05-19 14:47:48 +02:00
codebase-memory-mcp:
- CLI version: 0.6.1
- Project: C-visual-studio-code-projekty-krolewskie-miody.pl
- Root: C:/visual-studio-code/projekty/krolewskie-miody.pl
- Nodes: 292163
- Edges: 823931
- Node labels: Method 154690, File 32478, Module 32467, Variable 28627, Class 25654, Function 9719, Folder 6494, Interface 1556, Section 380, Route 78
- Edge types: CALLS 369589, DEFINES 253118, DEFINES_METHOD 154690, CONTAINS_FILE 32484, CONTAINS_FOLDER 5881, THROWS 3139, USAGE 1845, IMPORTS 1208
Degraded notes:
- Broad search_graph queries for checkout/payment/API/database timed out after 120s.
- index_status timed out after 120s.
- Repository is vendor-heavy WordPress/WooCommerce tree, so targeted scope is required for future scans.
Fallback findings:
- 73 plugin directories in wp-content/plugins.
- 4 theme directories in wp-content/themes.
- Main custom plugin identified: wp-content/plugins/ws-inpost-map.
- jscpd and ast-grep skipped by policy.

View File

@@ -0,0 +1,14 @@
Mode: plan
Scope: inpost-pay IPPWidgetOptions missing / wp_body_open in Betheme header
Timestamp: 2026-05-19T15:32:42+02:00
Findings:
- wp-content/themes/betheme/header.php contains `<body <?php body_class(); ?>>` and does not call `wp_body_open()`.
- wp-content/plugins/inpost-pay/src/hooks/front/FrontWidgetV2.php registers `add_root_script_after_body_open` on `wp_body_open`.
- FrontWidgetV2::add_root_script_after_body_open outputs `const IPPWidgetOptions = {...}`.
- wp-content/plugins/inpost-pay/src/InpostPay.php enqueues `assets/js/woocommerceizi.js`, which matches the console error source.
Tool status:
- Targeted rg/file reads used.
- codebase-memory-mcp broad searches are avoided for this plan because previous full-map broad queries timed out on the vendor-heavy repository.
- jscpd and ast-grep disabled by policy in .paul/config.md.

View File

@@ -0,0 +1,20 @@
Mode: post-apply
Scope: .paul/plans/20260519-1532-naprawa-inpost-pay-wp-body-open/PLAN.md
Timestamp: 2026-05-19T15:35:26+02:00
Modified by this apply:
- wp-content/themes/betheme/header.php
Verification:
- rg confirmed:
- line 37: <body <?php body_class(); ?>>
- line 38: <?php wp_body_open(); ?>
- php -l was not run because PHP CLI is not available in PATH.
- Manual frontend checkpoint remains required on an environment where WordPress and inpost-pay are active.
Boundary check:
- No planned edit was made to wp-content/plugins/inpost-pay/.
- Existing git status already contains many modified inpost-pay files unrelated to this apply; they were not reverted or edited by this apply.
Radar status:
- post-apply degraded: targeted file verification completed; no broad codebase-memory search due known timeout risk on vendor-heavy repository.