fix(php-transformer): compact composed site plan views - #1643
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Breaking Contract
compact()accepts only the canonicalblocks-engine/wordpress-site-plan-view/v1view and produces compact v2.materialize()accepts only compactblocks-engine/wordpress-site-plan-view/v2and reconstructs canonical v1. v1 serialized views are not accepted as persisted compact input.Release Coordination
This breaking pre-1 Blocks Engine PHP Transformer contract should ship as a SemVer minor release. Static Site Importer PR #1578 consumes it directly. SSI's Composer pin remains intentionally unchanged here; its parent must supply the actual released BE version in a follow-up dependency edit. No release, deployment, version, or changelog change is included.
Evidence
composer testpasses, including package-install proof against this candidate.blocks-engine/wordpress-site-plan/v2plans, not serialized views. No checkpoint or artifact-run was mutated, invalidated, or migrated.AI Assistance
Implemented with
openai/gpt-5.6-terravia OpenCode for contract correction, testing, and review.