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
@@ -1,7 +1,9 @@
$ErrorActionPreference = 'Stop'
$root = Split-Path -Parent $PSScriptRoot
$page = Get-Content -LiteralPath (Join-Path $root 'pages/genealogy/g03-create-genealogy.vue') -Raw -Encoding UTF8
foreach ($token in @('sexOptions', 'mode="selector"', 'mode="date"', 'ancestorForm.sex', 'auto-height')) {
if (-not $page.Contains($token)) { throw "G03 ancestor semantic field missing: $token" }
foreach ($token in @('sexOptions', 'mode="selector"', 'mode="date"', 'ancestorForm', 'createLocalGenealogyPreview')) {
if ($page.Contains($token)) { throw "G03 must not retain uncommitted first-ancestor flow: $token" }
}
if (-not $page.Contains('class="create-card__note"')) { throw 'G03 must retain a create-result guidance note' }
Write-Output 'G03-ANCESTOR-SEMANTIC-FIELDS-CONTRACT PASS'