Repository navigation
Document box-tree wrapper evidence and consolidate transformer contracts - #7564
Merged
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.
Summary
The ADRs said box-tree intake had been removed, while the compiler still uses captured evidence for wrapper folds and a separate purchase-affordance visibility check. ADRs 0005 and 0006 now describe those limits, and the current contracts live together under
php-transformer/docs/contracts.What changed
Verification
( if git diff --quiet --no-renames 4167bd1f4a31fa6fb49c966126859c8772b04b26 -- ':(literal)php-transformer'; then :; els…): passed ond734405. Basetrunk@4167bd1advanced to4f74b53(base_behind_by: 3; rebase onto the current base before merging). 426828 ms; retained gate metadata.Cook run
wf-cook-batch-58aa2d924b02-cook-i1-n0-a1wf-cook-batch-58aa2d924b02-cook-i1-n0-a1-attempt-1-6f34ff49b8db503bde87a6dbf1f21cbaf04d966fc2631aa1Evidence
BoxTree::read()for wrapper folds and purchase-affordance visibility; importer smoke fixtures also construct v2 sidecars from the shared contract.convertReport()output and is consumed byconvert()and the report validator. The v2 identifier is used in a rejection test, not as a replacement. No Static Site Importer consumer was found.fromResult()emits it, and compact v2 materialization restores it. Static Site Importer uses the direct compiler view and the restored compact view before consuming the enclosed site plan.webfont_contract, but its inferred Google Fonts fallback still inspects top-levelimportsfrom the legacy projection.AI disclosure
Tool: Homeboy Cook. Agent: Homeboy (roadie). Model: roadie · route cook-heavy · served gpt-6.2-sol. Cook time: 3h20m.
AI traced the implementation and downstream consumers, updated the documentation and contract paths, and ran focused checks, under the direction of the Cook requester. Gates were run by Homeboy. A human reviews before merge.
Refs #7560