diff --git a/components/AuthPageShell.vue b/components/AuthPageShell.vue new file mode 100644 index 0000000..de7fbb9 --- /dev/null +++ b/components/AuthPageShell.vue @@ -0,0 +1,72 @@ + + + diff --git a/docs/superpowers/plans/2026-07-21-auth-pages-adaptive-migration.md b/docs/superpowers/plans/2026-07-21-auth-pages-adaptive-migration.md index c38b48c..224198a 100644 --- a/docs/superpowers/plans/2026-07-21-auth-pages-adaptive-migration.md +++ b/docs/superpowers/plans/2026-07-21-auth-pages-adaptive-migration.md @@ -28,7 +28,7 @@ - Test: `tests/auth-page-shell-contract.ps1` **Interfaces:** -- Produces: `AuthPageShell` 的单一职责合同,以及 A01/A04/A05/A06 禁止旧画布的合同 +- Produces: `AuthPageShell` 的单一职责合同,以及首个消费者 A01 禁止旧画布的合同;其余页面由各自任务的合同接管 - [ ] **Step 1: 写入失败合同** @@ -50,7 +50,7 @@ foreach ($required in @( 'min-height: var(--app-viewport-height);' )) { Assert-Contains $shell $required "AuthPageShell is missing: $required" } -foreach ($pageName in @('a01-entry.vue','a04-register.vue','a05-reset-password.vue','a06-auth-status.vue')) { +foreach ($pageName in @('a01-entry.vue')) { $page = Get-Content -LiteralPath (Join-Path $root "pages/auth/$pageName") -Raw -Encoding utf8 Assert-Contains $page ' +