Files
Neo-ZQYY/.gitignore
Neo ec8f7d4e03 chore(audit): 清理 changes/changes/ 嵌套误产物目录 — audit-gap-recovery 收尾
按 docs/specs/audit-gap-recovery/tasks.md 阶段 2/4 完成:

阶段 2(B 类内容漂移,1 份)
决策:保留主目录版 2026-04-06__v1-cleanup-ddl-consolidation.md。
两版仅差 1 行路径(第 128 行):
  - 主目录版:cd c:/NeoZQYY && python tools/db/gen_consolidated_ddl.py
  - 嵌套版:   cd c:/Project/NeoZQYY && ...
主目录版是 2026-04-06 审计当天原始写法(与 v1 整理 commit 779b2f6 同期),
忠于历史真相;嵌套版是开发机迁移后批量路径替换过的版本,舍弃。
差异过小,不单独备份。

阶段 4(删除嵌套目录)
- rm -rf docs/audit/changes/changes/(本地删除,目录本就被 .gitignore 屏蔽,
  无 git 历史需清理)
- .gitignore 移除 docs/audit/changes/changes/ 临时屏蔽规则(嵌套目录已不复存在)
- 刷新 docs/audit/audit_dashboard.md,当前 128 条记录
  (主目录 129 份 md 中有 1 份 2026-03-24_fix_cfg_skill_type_missing_records.md
   因单下划线命名异常被 dashboard 脚本忽略,后续可重命名)

验证
- ls docs/audit/changes/*.md | wc -l = 129(原 33 + D 补追 96 = 129 ✓)
- ls docs/audit/changes/changes/ 返回 "No such file"(✓)
- git log --oneline -- "docs/audit/changes/" 有本次补追 + 清理 commit(✓)

audit-gap-recovery PRD 至此全部 4 阶段执行完毕。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-20 06:38:11 +08:00

95 lines
1.2 KiB
Plaintext

# ===== 临时与缓存 =====
# tmp/
__pycache__/
*.pyc
*.py[cod]
*$py.class
*.so
.hypothesis/
.pytest_cache/
pytest-cache-files-*/
logs/
*.log
*.jsonl
# ===== 审计文件 =====
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
# ===== Windows 杂项 =====
*.lnk
.Deleted/
# ===== 归档目录(用户定期手动清理) =====
_DEL/
# ===== 运维脚本运行时状态 =====
scripts/ops/.monitor_token
# ===== 小程序打包产物 =====
apps/*.zip