验收完成40%

This commit is contained in:
2026-07-17 08:08:31 +08:00
parent 23cfd365a1
commit 887481a4ab
172 changed files with 855 additions and 577 deletions
@@ -29,7 +29,7 @@
- Test: `tests/a01-design-record-audit.ps1`
**Interfaces:**
- Consumes: `docs/design/A01_启动登录引导_设计记录.md``docs/design/screens/A01-启动登录引导-效果稿-v2-独立注册.png`
- Consumes: `docs/design/A01_启动登录引导_设计记录.md``docs/design/assets/a01-vnext/source/A01-layered-source-v1.psd`
- Produces: Exit code `0` only when设计记录包含四个入口、显式协议规则与 v2 效果稿归档路径。
- [ ] **Step 1: 写入会失败的归档审计脚本**
@@ -72,7 +72,7 @@ Expected: `Missing archived A01 effect`。
- [ ] **Step 3: 将 v2 效果稿路径写入设计记录的已归档美术锚点章节**
```markdown
- 效果稿 v2[`screens/A01-启动登录引导-效果稿-v2-独立注册.png`](screens/A01-启动登录引导-效果稿-v2-独立注册.png),用于确认独立“注册账号”按钮后的完整层级。
- 早期效果稿 v2 已转入项目外历史归档;当前使用分层 PSD 与 412×915 栅格证据确认完整层级。
```
- [ ] **Step 4: 暂不运行通过态审计**
@@ -82,7 +82,7 @@ Run: 不运行;通过态必须在 Task 2 的图稿实际归档后执行。
### Task 2: 生成并归档 A-01 效果稿 v2
**Files:**
- Create: `docs/design/screens/A01-启动登录引导-效果稿-v2-独立注册.png`
- Keep: `docs/design/assets/a01-vnext/source/A01-layered-source-v1.psd`
- Modify: `docs/design/A01_启动登录引导_设计记录.md`
- Test: `tests/a01-design-record-audit.ps1`
@@ -96,7 +96,7 @@ Run: 不运行;通过态必须在 Task 2 的图稿实际归档后执行。
- [ ] **Step 2: 先将生成文件保存为精确路径,再更新设计记录**
Run: `Get-Item -LiteralPath 'docs\design\screens\A01-启动登录引导-效果稿-v2-独立注册.png' | Select-Object Name,Length`
Run: `Get-Item -LiteralPath 'docs\design\assets\a01-vnext\source\A01-layered-source-v1.psd' | Select-Object Name,Length`
Expected: 文件存在且 `Length` 大于 `0`
- [ ] **Step 3: 运行归档审计并确认通过**
@@ -253,7 +253,7 @@ Expected: `A01-DESIGN-RECORD-AUDIT PASS`。
- [ ] **Step 5: 更新总规划和交接记录,然后提交**
```powershell
git add -- tests/a01-design-record-audit.ps1 docs/design/A01_启动登录引导_设计记录.md docs/design/screens/A01-启动登录引导-效果稿-v2-独立注册.png static/assets/backgrounds/auth-welcome-hall-v1.png static/assets/backgrounds/auth-welcome-paper-v1.jpg static/assets/backgrounds/auth-welcome-ink-side-v1.png static/assets/icons/auth/account-login-v1.png static/assets/icons/auth/phone-code-login-v1.png static/assets/icons/auth/register-v1.png static/assets/icons/brand/wechat-login-v1.png docs/规划.md docs/交接记录.md
git add -- tests/a01-design-record-audit.ps1 docs/design/A01_启动登录引导_设计记录.md docs/design/assets/a01-vnext/source/A01-layered-source-v1.psd static/assets/backgrounds/auth-welcome-hall-v1.png static/assets/backgrounds/auth-welcome-paper-v1.jpg static/assets/backgrounds/auth-welcome-ink-side-v1.png static/assets/icons/auth/account-login-v1.png static/assets/icons/auth/phone-code-login-v1.png static/assets/icons/auth/register-v1.png static/assets/icons/brand/wechat-login-v1.png docs/规划.md docs/交接记录.md
git commit -m "docs: complete A01 login guide design"
```
@@ -4,7 +4,7 @@
> **For agentic workers:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (`- [ ]`) syntax for tracking.
**Goal:** Make the running A-01 page reproduce the selected `A01-启动登录引导-效果稿-v3-文字注册入口.png` at mobile width while preserving its existing local-only interactions.
**Goal:** Make the running A-01 page reproduce the selected 412×915 visual baseline at mobile width while preserving its existing local-only interactions.
**Architecture:** The accepted v3 image is a complete 852 × 1846 mobile visual, including typography, ornamental borders, header, ink scenery and the empty agreement circle. `pages/auth/entry.vue` renders it at a logical width of 750rpx and layers only transparent interaction regions above it. The existing `agreed` state and local-only toast/navigation functions remain the sole interaction owner.
@@ -12,7 +12,7 @@
## Global Constraints
- Visual source of truth: `docs/design/screens/A01-启动登录引导-效果稿-v3-文字注册入口.png`.
- Visual source of truth: `docs/design/screens/A01-启动登录引导-栅格验收-412x915.png`.
- Do not generate artwork, redraw v3 ornaments in CSS, add API calls, write login state, or create routes.
- A-01 stays vertically scrollable below 430 × 932; render the source with width-fixed scaling.
- A-01 is unchecked by default and retains the exact guard message `请先阅读并同意相关协议`.
@@ -34,7 +34,7 @@
Add these checks while retaining agreement, route, local-toast and forbidden-API checks:
```powershell
Assert-Contains -Content $entry -Expected "import entryGuideVisual from '@/docs/design/screens/A01-启动登录引导-效果稿-v3-文字注册入口.png'" -Message 'A-01 must import the selected v3 visual source'
Assert-Contains -Content $entry -Expected "import entryGuideVisual from '@/docs/design/screens/A01-启动登录引导-栅格验收-412x915.png'" -Message 'A-01 must import the selected visual source'
foreach ($requiredClass in @('guide-art', 'entry-login-hit', 'entry-wechat-hit', 'entry-register-hit', 'entry-agreement-hit')) {
Assert-Contains -Content $entry -Expected $requiredClass -Message "Missing A-01 interaction region: $requiredClass"
}
@@ -69,7 +69,7 @@ Leave the failing contract uncommitted until Task 2 passes.
```vue
<script setup>
import { ref } from 'vue'
import entryGuideVisual from '@/docs/design/screens/A01-启动登录引导-效果稿-v3-文字注册入口.png'
import entryGuideVisual from '@/docs/design/screens/A01-启动登录引导-栅格验收-412x915.png'
</script>
<template>
@@ -24,8 +24,8 @@
**文件:**
- 密码:`docs/design/screens/handoff/2026-07-15/A01-visual-source-password-selected-v2-841x1870.png`
- 验证码`docs/design/screens/handoff/2026-07-15/A01-visual-source-sms-selected-v1-841x1870.png`
- 密码与验证码的可恢复源`docs/design/assets/a01-vnext/source/A01-layered-source-v1.psd`
- 图层与导出清单`docs/design/assets/a01-vnext/source/a01-psd-manifest.json`
**验收:**
@@ -25,8 +25,8 @@
### Task 1: 锁定选定视觉证据与新资产契约
**Files:**
- Create: `docs/design/screens/handoff/2026-07-16/A01-selected-password-red-hall-ink-412x915.png`
- Create: `docs/design/screens/handoff/2026-07-16/A01-selected-sms-red-hall-ink-412x915.png`
- Keep: `docs/design/screens/handoff/2026-07-16/A01-current-password-sms-contact-824x915.png`
- Source: `docs/design/assets/a01-vnext/source/A01-layered-source-v1.psd`
- Modify: `tests/a01-a02-ui-contract.ps1`
- Create later: `static/assets/modules/auth/opaque/a01-red-hall-ink-backdrop-v1.png`