Files
jiu/.gitignore
T
wangjia 6641517104 feat(tools): Phase 0.2 fidelity 保真闸(Flutter golden vs 原型,替掉 golden 自比)
- tools/fidelity.mjs:逐屏注册表 → 注入统一字体截原型基准 → 与 Flutter golden
  pixelmatch diff,超逐屏校准阈值即红。这才是真·跟原型比的保真证据。
- design-distill skill shoot-prototype.mjs 加 --inject-css(注入字体覆盖 --font)
- 验证:inventory 当前屏 vs 原型 diff=28.4% > 阈,立刻抓到「缺整个外壳」——
  正是旧 golden 自比(永远 0%)发现不了的结构性差异
- 原型基准入库 client/test/golden/proto/;差异图 design/_fidelity/ 进 gitignore

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TSKEiHsvauyxYUW2itzUXX
2026-07-01 20:46:52 +08:00

79 lines
1.3 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.
# 环境变量
.env
.env.local
.env.*.local
# 部署密钥文件(不进代码库)
deploy/production.env
backend/jiu-server
# Go 构建产物
backend/bin/
backend/*.exe
backend/seed
# 上传的图片(本地存储,不进代码库)
backend/uploads/
# UI 设计资源
ui/
# Flutter 开发工具配置
client/devtools_options.yaml
# Flutter 构建产物
client/build/
# CI 构建产物
dist/
# 营销站构建产物
web/dist/
web/node_modules/
client/.dart_tool/
client/.flutter-plugins
client/.flutter-plugins-dependencies
# macOS
.DS_Store
**/.DS_Store
data/
# IDE
.idea/
.vscode/
*.swp
*.swo
# 日志
*.log
scripts/.logs/
# 测试覆盖率
*.out
coverage/
# 编译产物(后端可执行文件)
backend/issue
backend/gencode
# 全局 todo skill 的本地数据(看板/任务,不入库)
/todo/
# Claude 私有文件
.claude/commands/
.claude/worktrees/
# iOS 证书私钥(绝不入库)
.ios-certs/
# superpowers 工作目录:brainstorm/sdd 是草稿不入库;
# prototype 是设计像素真源 + 设计系统守门闸(check-ds.mjs),入库供 CI 跑。
.superpowers/*
!.superpowers/prototype/
# design-distill 保真目检对比图(可重生,见 tools/ds-compare.mjs
design/_compare/
# fidelity diff 差异图(可重生,见 tools/fidelity.mjs);原型基准 proto/ 仍入库
design/_fidelity/