Files
novalon-website/.gitignore
T
zhangxiang 8d84dca928 docs: 收尾轮文档同步(§20 / §5.68–5.69 / §13 / test:all 口径)
- qa-tracker §20:本轮 OPEN-12/14/15 的判定方法与一手读数,含
  OPEN-14 的 stash 逐项比对结果(7 个文件 0 缺失 = stash 是旧形态;
  6 处仍成立已移植;3 处属 feature/gitea-branding 与运维线不代改)。
- lessons §5.68:自证夹具里的路径是「第二份事实」,改名即漂移,
  且红得像判据坏了;恒红的自证闸比没有更坏,必须当 P0 修。
- lessons §5.69:改了默认值必须同时改所有断言它的地方 —— e2e 与单测
  是两套断言,而只在 test:e2e:prod 下执行的用例,本地全绿看不见它的红。
- quality-gates §13:视觉 15→35 页 / 225 例 / 227 张、headings 11→34 页、
  axe settle 修复、TA-11/12 的用例侧收口、GA consent 断言口径。
- testing.md:settle 与 headings 分母扩容的可复算口径。
- CLAUDE.md / AGENTS.md:test:all 的实际命令列表补上 check:package-keys /
  type-check:e2e / check:visual 三项。此前的漏记让「test:all 全绿」在
  check:visual 恒红期间无法被核对 —— 文档记的不是命令的全部,就没有判定力。
- .gitignore:补 2026-10-24 visual/*.png、2026-10-22-gitea-branding、
  infra/cicd/gitea{,-custom} 三组,逐条写明归属。
- axe-evidence.json:本轮复跑刷新 latest 指针(35 路由 × 4 组合全 0)。
2026-11-26 20:03:53 +08:00

415 lines
11 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# ============================================================
# Dependencies
# ============================================================
node_modules/
.pnpm-store/
.pnp/
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions
# ============================================================
# Build Outputs
# ============================================================
.next/
out/
.swc/
build/
dist/
.cache/
.turbo/
*.tgz
*.local
dist-ssr/
dist_backup/
# ============================================================
# Testing & Coverage
# ============================================================
coverage/
.nyc_output/
*.lcov
# Playwright
test-results/
playwright-report/
playwright/.cache/
*.traces/
playwright-traces/
# E2E test results
e2e/test-results/
e2e/playwright-report/
e2e/allure-results/
e2e/allure-report/
e2e/.last-run.json
e2e/junit.xml
e2e/test-report.md
# Test Framework
test-framework/node_modules/
test-framework/test-results/
test-framework/playwright-report/
test-framework/allure-results/
test-framework/allure-report/
test-framework/reports/
# Allure reports
allure-results/
allure-report/
# Legacy test directories
e2e-tests/.pytest_cache/
e2e-tests/__pycache__/
e2e-tests/.venv/
e2e-tests/venv/
e2e-tests/*.egg-info/
e2e-tests/results/
e2e-tests/reports/
# ============================================================
# Environment Variables & Secrets
# ============================================================
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.production
.env.*.local
*.env
# Debug & Security
*.pem
*.key
*.cert
*.crt
.auth/
# WorkBuddy 工作记忆目录(工具生成,不入库)
.workbuddy/
# ============================================================
# Database
# ============================================================
*.db
*.db-journal
# SQLite WAL 边车文件(WAL 模式下与 *.db 同目录生成;此前只挡了 *.db 与 *.db-journal,
# 导致 prisma/dev.db-shm / dev.db-wal 处于未跟踪且未忽略状态,`git add -A` 会把它们带进提交)
*.db-shm
*.db-wal
data.db
data/
# ============================================================
# Uploads & Storage
# ============================================================
uploads/
# ============================================================
# Logs
# ============================================================
logs/
*.log
npm-debug.log*
yarn-debug.log*
pnpm-debug.log*
lerna-debug.log*
deploy_*.log
# ============================================================
# TypeScript
# ============================================================
*.tsbuildinfo
next-env.d.ts
*.d.ts.map
# ============================================================
# IDE & Editors
# ============================================================
.idea/
.vscode/
*.swp
*.swo
*~
*.sublime-workspace
*.sublime-project
*.iml
.project
.classpath
.settings/
*.code-workspace
# ============================================================
# OS Generated Files
# ============================================================
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk
# ============================================================
# Runtime & Cache
# ============================================================
pids/
*.pid
*.seed
*.pid.lock
.eslintcache
.node_repl_history
.npm
# ============================================================
# Backup Files
# ============================================================
*.backup
*.bak
*.tmp
*.temp
# ============================================================
# Deployment Platforms
# ============================================================
.vercel/
# ============================================================
# Framework Specific
# ============================================================
# Vite
vite.config.ts.timestamp-*
# Tailwind CSS
*.css.map
# Framer Motion
*.framer-motion.json
# Three.js
*.three.json
# Trae IDE
.trae/
# ============================================================
# Python (if used for scripts/testing)
# ============================================================
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
develop-eggs/
downloads/
eggs/
.eggs/
lib/
lib64/
!src/lib/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
.pytest_cache/
.mypy_cache/
.coverage
htmlcov/
.tox/
.hypothesis/
.coverage.*
*.cover
coverage.xml
.dmypy.json
dmypy.json
.pyre/
.pytype/
cython_debug/
# Python Virtual Environments
venv/
env/
ENV/
env.bak/
venv.bak/
.venv/
virtualenv/
virtualenvs/
# ============================================================
# Project Specific Test Files
# ============================================================
test-email.js
test-screenshot.png
hero-check.png
playwright-test-not-portal.js
heading-hierarchy-report.json
# Test reports
reports/e2e/
reports/performance/
reports/coverage/
reports/mutation/
# Performance audit results
lighthouse-reports/
.lighthouseci/
performance-baseline.json
# Test data exports
test-data-*.json
test-results-*.json
# Stryker mutation testing temp files
.stryker-tmp/
# Pi framework temp files
.pi/
# Agent config (local only)
.agents/settings.local.json
# Additional E2E test artifacts
e2e/blob-report/
e2e/report/
e2e/.auth/
e2e/state/
e2e/storage-state.json
# Test execution artifacts
*.trace
*.trace.zip
trace.zip
network-logs/
# ============================================================
# Task Planning Files
# ============================================================
task_plan.md
progress.md
findings.md
# ============================================================
# IMPORTANT NOTES
# ============================================================
# Visual regression snapshots are committed to version control
# These are in: e2e/visual-snapshots/
# Git will track them because they are not in test-results/ or allure-results/
# AGENTS
AGENTS.md
# dogfood
dogfood-output*/
dogfood-bain/
dogfood-motion-audit/
dogfood-b2-verify/
# 硬编码颜色审计产物(暗黑模式 Phase 2)—— 只提交脚本与报告
dogfood-color-audit/
# UI/UX/UE 审计采集产物(截图 + probes.json,单轮可达 39MB)—— 只提交脚本与报告
dogfood-ui-audit/
# agent & skill artifacts
.nova-loop/
.qoder/
.impeccable/
.superpowers/brainstorm/
sessions/
# test outputs
# NOTE: visual regression baselines are intentionally tracked; see IMPORTANT NOTES above
responsive-test/
visual-test/
tests/screenshots/
# reference designs
novalon-accenture-redesign/
# 交付物本地件:判据、生成脚本、SVG 资产包、MANIFEST 已入库,以下留本地
# - *.html:由同名 .py 逐刀重生成的评审页,入库会让 diff 淹掉真源
# - fonts/:43MB 字体源与 woff2 子集,仅本机栅格化用(站内实际引用的字体在 public/fonts,已入库)
# - backup-*/:landing/apply.sh 自建还原点。只忽略其中的 png/ico/webmanifest/tsx 副本
# (内容都能从 git 取回),同目录的 svg 半份是已入库资产,不能用目录级规则一并屏蔽
deliverables/**/*.html
# 字体源与 woff2 子集留本地(43MB,仅本机栅格化用;站内实际引用的字体在 public/fonts)
# 但授权文本与清单必须入库:OFL 要求随分发附带,且它们是「用了哪几套字」的唯一记录
deliverables/logo-redesign-2026-10-13/fonts/*
!deliverables/logo-redesign-2026-10-13/fonts/FONT-MANIFEST.md
!deliverables/logo-redesign-2026-10-13/fonts/LICENSES.md
!deliverables/logo-redesign-2026-10-13/fonts/OFL-*.txt
deliverables/logo-redesign-2026-10-13/landing/backup-*/public/*.png
deliverables/logo-redesign-2026-10-13/landing/backup-*/public/*.ico
deliverables/logo-redesign-2026-10-13/landing/backup-*/public/site.webmanifest
deliverables/logo-redesign-2026-10-13/landing/backup-*/src/*.tsx
deliverables/logo-redesign-2026-10-13/landing/backup-*/added.txt
deliverables/logo-redesign-2026-10-13/landing/*.png
deliverables/logo-redesign-2026-10-13/landing/*.ico
deliverables/logo-redesign-2026-10-13/assets-delivery/*.png
deliverables/logo-redesign-2026-10-13/assets-delivery/*.ico
# 企业微信资产包同理:18 张 PNG 全部由 wecom-pack.cjs 从**已入库的** SVG 源重新栅格化
# 得到(判据见 WECOM-MANIFEST.md 与 check-wecom.py 的 64 项),二进制留本地即可。
# 生成脚本、校验脚本、清单与 pack-report.json 必须入库 —— 那才是「怎么做的」真源。
deliverables/logo-redesign-2026-10-13/assets-wecom/*.png
# 公司介绍包:PPTX 二进制走交付网盘不进 git,大纲 md 属对外文案稿
deliverables/company-deck/
# 历史 PR 描述稿与一次性线上探针
.pr-seal-*.md
.tmp-*.mjs
/src/generated/prisma
# ============================================================
# 验收证据的体积边界(2026-11-25 收尾轮裁定)
# ============================================================
# 规则:docs/acceptance/<日期>-<主题>/ 的**文字与结构化读数**(README / FIXES /
# defects*.json / summary.json / coverage-matrix / axe 结果 / 复现脚本)一律入库 ——
# 它们才是「这条结论怎么来的」的可复查部分;而**逐页截图**只在排查当时有用,
# 全量截图一次 60–80MB,入 git 会把每次 clone 与 diff 都拖垮(本仓已有
# 2026-10-20-prod-about 等 2.9MB 级目录入库,但 77MB/95MB 这一档不属同一量级)。
# 因此只忽略下面这些**明确点名的大块二进制目录**,不做按扩展名的一刀切:
# · 按扩展名忽略 *.png 会把 e2e/visual-snapshots/** 的基线一起挡掉(那批必须入库)。
docs/acceptance/2026-10-21-full-qa/screenshots/
docs/acceptance/2026-10-21-full-qa/contact-sheets/
docs/acceptance/2026-10-21-full-qa/prod-compare/
docs/acceptance/2026-10-24-full-qa/sweep/screenshots/
docs/acceptance/2026-10-24-full-qa/sweep-after-fix/screenshots/
docs/acceptance/2026-10-24-full-qa/contact-sheets/
docs/acceptance/2026-10-24-full-qa/prod-readonly/
# 2026-10-24 修复轮的**逐页取证截图**(v3 页修复前后、admin 390 档、指标裁切等 13 张 1.4MB)。
# 同一条规则:文字与 JSON 读数(defects.json / coverage-matrix.md / tools/*.mjs / 各 probe.json)入库,
# 只挡像素。注意这里的 .json 是同目录里 probe 的**读数**,必须留在库里,不能按扩展名一刀切。
docs/acceptance/2026-10-24-full-qa/visual/*.png
# Gitea 品牌化线的验收产物:4 张截图 + README + 探针脚本。整目录归 `feature/gitea-branding`
# (逐文件 sha256 与该分支一致,见 qa-tracker §18.7),本分支不提交,故整目录忽略以免污染 git status。
# 注意:忽略不等于删除 —— 文件仍在工作树里,切到那条分支时它们由该分支自己的提交负责。
docs/acceptance/2026-10-22-gitea-branding/
# Gitea 品牌化线的实现文件(44 个)。逐文件 sha256 与 `feature/gitea-branding` 上已提交版本
# **完全一致**(qa-tracker §18.7 实测 50/50),本分支不提交以免同一批文件出现两份历史。
# 规则对**已跟踪**文件无效,所以切到那条分支时这些文件照常由该分支的提交管理。
infra/cicd/gitea/
infra/cicd/gitea-custom/
# 首页主图备选素材(ImageGen 草图,本机产物,不入库)
# 用途记录在 deliverables/logo-redesign-2026-10-13/quan.py:277 的「形研究来源」注释里;
# 站内实际引用的图在 public/images/,这里只是生成过程中的中间件。
vibe_images/
# DeepSeek Harness 的运行期 job 日志(每次会话数千个小文件),非项目产物
.pi-dsh/