# ===== 临时与缓存 =====
tmp/
__pycache__/
*.pyc
*.py[cod]
*$py.class
*.so
.hypothesis/
.pytest_cache/
pytest-cache-files-*/
logs/
*.log
*.jsonl

# Playwright MCP 浏览器日志与页面快照
.playwright-mcp/

# 小程序字体补丁临时目录
apps/miniprogram/.font_patch_tmp/

# ===== 审计文件 =====
docs/audit/*
# 白名单：允许追踪审计变更记录与仪表盘
!docs/audit/changes/
!docs/audit/changes/*.md
!docs/audit/audit_dashboard.md

# ===== 运行时产出 =====
export/
reports/
scripts/logs/


# ===== 环境配置（保留模板） =====
.env
.env.local
!.env.template

# ===== Node =====
node_modules/

# ===== Python 虚拟环境 =====
.venv/
venv/
ENV/
env/

# ===== Python 构建产物 =====
.Python
build/
develop-eggs/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
dist/

# ===== 测试覆盖率 =====
.coverage
htmlcov/

# ===== 测试 =====
tests/

# ===== infra 敏感文件 =====
infra/**/*.key
infra/**/*.pem
infra/**/*.secret

# ===== IDE =====
.idea/
.vscode/
.vite/
*.swp
*.swo
*~

# ===== Claude Code 本地配置 =====
.claude/settings.local.json

# ===== AI 历史会话归档（原文本地，索引入仓） =====
# 原文摘要量大（每会话数百行），仅本机保留：
docs/ai-env-history/sessions/
docs/claude-history/
# conversation_index.csv 与 file_impact_index.csv 已脱敏，作为索引入仓（2026-05-02 反向迁移调整）

# ===== Windows 杂项 =====
*.lnk
.Deleted/

# ===== 归档目录（用户定期手动清理） =====
_DEL/

# ===== 运维脚本运行时状态 =====
scripts/ops/.monitor_token

# ===== 小程序打包产物 =====
apps/*.zip
