This commit is contained in:
rain
2026-07-24 18:03:02 +08:00
parent c7f278fe79
commit ec8486b035
86 changed files with 7943 additions and 1841 deletions
+8 -4
View File
@@ -5,10 +5,14 @@ $style = [regex]::Match($page, '(?s)<style[^>]*>(.*?)</style>').Groups[1].Value
$positions = [regex]::Matches([regex]::Replace($style, '(?s)/\*.*?\*/', ''), '(?m)\bposition\s*:\s*([^;]+);')
if ($positions.Count -ne 0) { throw "G08 join flow must use document flow; found $($positions.Count) position declarations" }
foreach ($required in @(
'<GenealogyPageBackground />',
'@include adaptive.adaptive-genealogy-state-panel;',
'@include adaptive.adaptive-genealogy-form-field;',
'background: url("/static/assets/foundation/transparent/a01-scroll-primary-v3.png")'
)) { if ($page -notmatch [regex]::Escape($required)) { throw "G08 is missing real asset background: $required" } }
if ($page -match 'class="join-panel__skin"') { throw 'G08 must not retain the decorative panel image layer' }
if ($page -notmatch '(?s)<textarea[^>]*auto-height') { throw 'G08 application message must grow from its text data' }
'appApi.applyToJoin',
'createRequestController',
'auto-height'
)) { if ($page -notmatch [regex]::Escape($required)) { throw "G08 is missing: $required" } }
foreach ($retired in @('findGenealogyFixture', 'join-panel__skin', 'uni.showToast', 'uni.showModal')) {
if ($page -match [regex]::Escape($retired)) { throw "G08 must not retain retired local-preview owner: $retired" }
}
Write-Output 'G08-DOCUMENT-FLOW-CONTRACT PASS'