Skip to content

Support canonical php-transformer site artifact schema#40

Merged
chubes4 merged 1 commit into
trunkfrom
cook/php-transformer-canonical-site-artifact-schema
Jun 21, 2026
Merged

Support canonical php-transformer site artifact schema#40
chubes4 merged 1 commit into
trunkfrom
cook/php-transformer-canonical-site-artifact-schema

Conversation

@chubes4

@chubes4 chubes4 commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Exposes ArtifactCompiler::INPUT_SCHEMA as the canonical blocks-engine/php-transformer/site-artifact/v1 site artifact schema.
  • Adds a contract assertion that canonical site artifact inputs are accepted and preserved in source_reports.artifact.original_schema.
  • Updates Static Site Importer migration adapter docs/tests to consume the canonical transformer result envelope instead of BAC-shaped result/input schemas.

Verification

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

Downstream impact

  • Static Site Importer can switch away from block-artifact-compiler/website-artifact/v1 and use blocks-engine/php-transformer/site-artifact/v1 as the canonical input schema.
  • BAC references remain only in compatibility-wrapper guidance, not in canonical SSI adapter schema expectations.
  • No tag or release included.

AI assistance

  • AI assistance: Yes
  • Tool(s): openai/gpt-5.5 via OpenCode
  • Used for: Auditing schema contracts, editing php-transformer docs/tests/contracts, running verification, and drafting this PR description.

@chubes4 chubes4 merged commit 79fe4fb into trunk Jun 21, 2026
1 check passed
@chubes4 chubes4 deleted the cook/php-transformer-canonical-site-artifact-schema branch June 21, 2026 19:18
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