Skip to content

Fix nested index entrypoint routing - #693

Merged
chubes4 merged 1 commit into
trunkfrom
fix/691-nested-index-entrypoints-v2
Jul 24, 2026
Merged

Fix nested index entrypoint routing#693
chubes4 merged 1 commit into
trunkfrom
fix/691-nested-index-entrypoints-v2

Conversation

@chubes4

@chubes4 chubes4 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • preserve artifact-level entrypoint authority regardless of file order
  • distinguish explicitly declared entry roles from inferred nested index roles
  • materialize nested */index.html documents at directory routes relative to the artifact entry root
  • retain explicit per-file entrypoint support

Closes #691.

Testing

  • cd php-transformer && composer test:canonical
  • php -l src/ArtifactCompiler/ArtifactNormalizer.php
  • php -l src/StaticSite/MaterializationPlanBuilder.php
  • php -l tests/contract/wordpress-site-plan.php

AI assistance

OpenAI GPT-5.6 Sol via OpenCode helped inspect the entrypoint normalization and materialization flow, draft the focused implementation and regression coverage, and run verification. Chris Huber reviewed and is responsible for the change.

@chubes4
chubes4 merged commit 5e73700 into trunk Jul 24, 2026
4 checks passed
@chubes4
chubes4 deleted the fix/691-nested-index-entrypoints-v2 branch July 24, 2026 23:00
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.

Nested index pages are all promoted to artifact entrypoints

1 participant