Gamedev Hub

Focused responsive tutorial layout audit

Runtime changes are limited to the CSS insertion and body layout class in index.html. All existing inline/external script tags, navigation metadata and topic index markup remain byte-identical. The Git-tree contract checks every existing non-index file and mode against release fe6a5a1e01be41121eee30247c495e7aea192ae4, permitting only the seven explicit new QA files.

This PR-only workflow has read-only repository permissions, pinned official actions, pinned Playwright, official Chrome, no saved checkout credentials, no secrets, no publishing step, an eight-minute job limit, a four-minute browser limit, and three-day artifacts. Never run the browser script locally.

Coverage

The artifact summary.json includes hashes, per-case geometry, interaction results, request blocks and any errors. Baseline observations do not pass the candidate readability gate; their narrow/clipped text is retained as regression evidence.

Local source-only checks

Set TUTORIAL_LAYOUT_BASELINE to the released index directory and TUTORIAL_LAYOUT_CANDIDATE to the candidate repository directory, then run node --test tools/layout-audit/test.cjs and node tools/layout-audit/contract.cjs. With complete Git trees, add --repository for the repository-wide preservation check. No browser is invoked by those commands.