You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Composer dependency overlays with a consumer-side wrapper path relocate only PSR-4 source directories. For Blocks Engine, the standalone package maps src/ while Static Site Importer consumes php-transformer/src/. WP Codebox moves src/ but leaves php-transformer.php and the package Composer autoloader at the root.
The mounted bootstrap loads the nested authoritative classmap, which still resolves classes under the now-missing root src/. A real Lab recipe emitted 138 PHP autoload warnings before its structured payload and reached the runtime output ceiling mid-JSON. The fixture collector consequently reported ssi_validation: null, import_report: null, and missing provenance even when running the structured-output repair from #2048.
When consumer PSR-4 paths add a common package wrapper, stage the coherent package layout under that wrapper so bootstraps, source files, and package-local Composer metadata continue to agree. Preserve generic relocation behavior for non-wrapper path changes. Add deterministic coverage that executes or validates the package bootstrap/autoloader layout, not only the relocated class path.
Problem
Composer dependency overlays with a consumer-side wrapper path relocate only PSR-4 source directories. For Blocks Engine, the standalone package maps
src/while Static Site Importer consumesphp-transformer/src/. WP Codebox movessrc/but leavesphp-transformer.phpand the package Composer autoloader at the root.The mounted bootstrap loads the nested authoritative classmap, which still resolves classes under the now-missing root
src/. A real Lab recipe emitted 138 PHP autoload warnings before its structured payload and reached the runtime output ceiling mid-JSON. The fixture collector consequently reportedssi_validation: null,import_report: null, and missing provenance even when running the structured-output repair from #2048.Evidence
10b9a5f5-4782-4f77-9b29-cf2afe61d1ac789b5aa5806f914afd4f0c1684af690f4947f930from Preserve structured WP-CLI recipe results #20541dc2de341beb689dcbc6b37373ed2dcafecd25b3d28534f9567362e7b27409be/wordpress/wp-content/plugins/static-site-importer/vendor/automattic/blocks-engine-php-transformer/vendor/composer/../../src/...Expected
When consumer PSR-4 paths add a common package wrapper, stage the coherent package layout under that wrapper so bootstraps, source files, and package-local Composer metadata continue to agree. Preserve generic relocation behavior for non-wrapper path changes. Add deterministic coverage that executes or validates the package bootstrap/autoloader layout, not only the relocated class path.