zhangxiang
6c9900ffed
docs(qa): 视觉转绿后的四处文档同步,并更正 quality-gates 的 -u 模式假事实
...
- quality-gates.md §6.2:原文称裸 --update-snapshots 取 missing,实为 changed
(program.js:202 preset);missing 是完全不带旗标时的缺省(common/index.js:584)。
两种触发条件差异改写,读数补 125/0 与「例数 ≠ 张数」「归因须对采集树 vs 当前树」口径
- docs/testing.md:参照计数 107→132(每 project 21→26),原「用例数−参照数=覆盖空洞」
算式已不成立,改为三个 shot 归组来源;N-15 空洞标注已闭合
- README.md:撤下「视觉 94/31」现行口径(改历史 + 125/0),例外清单移出视觉基线,
新增 2026-10-08 轮次条目,台账指针 §8→§9
- qa-tracker 新增 §9.6:本树一手复测 type-check EXIT=0 / lint 0 error 104 warning
(此前 PR 引用沿用他轮读数,不满足「命令实际执行过」条)+ 四处同步清单 +
PR 描述 .pr-seal-2026-10-08.md 过门禁 EXIT=0
2026-10-08 17:18:06 +08:00
zhangxiang
1b8ffd5486
docs(seal): 2026-09-30 封版验收判定与证据入库 + 台账假事实更正
...
代码封版点仍是 a0328a6;本提交只含验收证据与文档,用于把台账
§0 的「未达可判验收通过(唯一阻断 AUTH-D1)」改判为「封版通过
(含例外清单)」。
补齐 sealed 树上从未跑过的 5 项门禁并如实记录非全绿:
- 全站 check:axe EXIT=0(34 路由 × 双引擎 × 双主题,violation=0)
- 产物安全头 EXIT=0(每头单次,WARN 仅 HSTS 边缘注入)
- 生产目标 E2E 91 passed / 1 failed(唯一红 = firefox 并发墙钟,
隔离与 4-project 复跑均绿;dev.db 指纹前后一致,未写库)
- 视觉只读 94 passed / 31 failed(20 缺参照 + 11 已过时参照,
逐条归因;未写任何基线)
- check:motion EXIT=1 / 23 处(与周期 2 同数,未新增)
更正 4 处文档假事实:DEC-N21b(/admin 实有服务端 gating,入口是
src/proxy.ts 而非 middleware.ts)、视觉基线「85 张未提交」(实测
107 张全在库)、「无需重跑 db:seed」(seed 改过 modelCode 而
permissions 精确匹配)、lint 105→104。
2026-09-30 23:41:22 +08:00
zhangxiang
a0328a623f
chore(qa): 验收台账与证据入库 + 构建/部署配置同步
...
- docs/acceptance/qa-tracker.md:跨周期缺陷单一真源台账(§7=第五轮)。
- 周期 1/2 + iPhone SE/axe 验收证据目录、ACCEPTANCE_REVIEW 快照入库。
- 同步 README/CONTEXT/CLAUDE/DESIGN/testing/deployment/lessons-learned 口径;
next.config/Dockerfile/nginx/Jenkinsfile/docker-compose/sentry/prisma 对齐
standalone 产物装配与部署形态。
2026-09-28 10:48:09 +08:00
zhangxiang
03ed066c6c
chore(repo): 移植 PR-First 提交流程门禁(脚本 + Gitea PR 模板)
...
对齐 novavis AGENTS.md §27,逐项按本仓实测改写,不照抄不存在的命令:
- scripts/check-pr-checklist.sh:三种模式(模板结构 / 单 PR 文件 / --pr-dir 扫描)
与退出码 0/1/2 保持同源;模板根改为按脚本自身位置解析并保留 AGENT_PROJECT_DIR
覆写;修上游 --pr-dir 的参数解析缺陷(for arg in "$@" 内 shift 不消费值,
目录会被再当成 PR 文件),改 while+shift
- .gitea/PULL_REQUEST_TEMPLATE.md:30 项 checklist 全部换成本仓真实门禁命令
(type-check / lint / test:unit / test:coverage 阈值 / Playwright / visual /
check:contrast / check:headings / lighthouse / test:security:headers),并补
CMS 字段-需重跑 seed 声明、:3000 旧预览不作数、暗黑 token、动效 180–280ms、
品牌红触达、数字 basis 口径等本仓专有约束
- 文档同源:docs/development/quality-gates.md 新增「提交与 PR 流程」权威副本
(AGENTS.md 被 .gitignore 排除,不可依赖)、CLAUDE.md 补 Submission Flow 节
门禁自检:脚本 bash -n 通过;11 个用例覆盖三模式 + 缺节/缺文件/子项不足/非 PR
文件/未知选項/--quiet 等负路径,均带正控制以防「匹配零的假绿」。
2026-09-20 11:50:58 +08:00
张翔
498bb3a3c8
refactor: reorganize project structure and improve code quality
...
- Move CI/CD configs to config/ci/ directory
- Reorganize scripts into categorized directories (deployment, monitoring, testing, utils)
- Consolidate documentation into docs/ directory with proper structure
- Update linting and testing configurations
- Remove obsolete test reports and performance summaries
- Add new documentation for code quality tools and contact form security
- Improve project organization and maintainability
- Fix lint-staged config to only lint JS/TS files
- Disable react/react-in-jsx-scope rule for Next.js compatibility
- Ignore scripts and test config directories in ESLint
2026-03-24 13:38:58 +08:00
张翔
c06ac08510
docs: add quality gates documentation
2026-03-24 13:32:01 +08:00