Skip to content

Strengthen php-transformer contract fixtures#41

Merged
chubes4 merged 1 commit into
trunkfrom
cook/php-transformer-pure-contract-fixtures
Jun 21, 2026
Merged

Strengthen php-transformer contract fixtures#41
chubes4 merged 1 commit into
trunkfrom
cook/php-transformer-pure-contract-fixtures

Conversation

@chubes4

@chubes4 chubes4 commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Rename the canonical HTML gap fixture to remove downstream converter acronym leakage from the fixture path/name.
  • Add generic artifact report consistency assertions to parity coverage for materialization-plan totals and conversion-report summaries.
  • Add a mixed site-artifact fixture covering canonical schema preservation, rejected unsafe input, HTML/block/Markdown pages, template parts, assets, visual repair CSS, and source report alignment.

Verification

  • composer validate
  • composer test
  • git diff --check -- php-transformer

Contract changes

  • Strengthens test-enforced consistency between source_reports.materialization_plan.totals and source_reports.conversion_report.source_summary.
  • Keeps artifact navigation, assets, routes, template parts, and visual repair reporting product-neutral.

AI assistance

  • AI assistance: Yes
  • Tool(s): openai/gpt-5.5 + OpenCode
  • Used for: Auditing php-transformer product-neutral boundaries, editing contract fixtures/tests, running verification, and drafting this PR description.

@chubes4 chubes4 merged commit ed2f148 into trunk Jun 21, 2026
1 check passed
@chubes4 chubes4 deleted the cook/php-transformer-pure-contract-fixtures branch June 21, 2026 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant