$ErrorActionPreference = 'Stop' $root = Split-Path $PSScriptRoot -Parent $page = [System.IO.File]::ReadAllText((Join-Path $root 'pages/family/f02-publish-feed.vue'), [System.Text.Encoding]::UTF8) foreach ($expected in @( 'background: url("/static/assets/modules/family/transparent/module-content-frame.png") center / 100% 100% no-repeat', 'background: url("/static/assets/modules/family/transparent/module-field-frame.png") center / 100% 100% no-repeat', 'min-height: min(640px, calc((100vw - 16px) * 1.48))' )) { if (-not $page.Contains($expected)) { throw "F02 document-flow contract missing: $expected" } } if ($page -match ']*\s)?class="publish-panel__skin"|publish-field[^>]*>\s*