feat(dev-workflow): 添加 Cross 模式统计报告功能

- stats.py: record_event, get_stats, format_stats_report
- dev_workflow.py: stats 和 record-event CLI 命令
- 安全特性: 文件权限 600, 文件锁, 敏感数据过滤
- .gitignore: 排除数据文件
This commit is contained in:
2026-03-09 16:00:55 +08:00
parent 3850bc33dc
commit f86bb7043c
3 changed files with 441 additions and 0 deletions
+41
View File
@@ -0,0 +1,41 @@
# 统计数据文件
stats.json
*.json.bak
# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
# 虚拟环境
venv/
ENV/
env/
# IDE
.vscode/
.idea/
*.swp
*.swo
*~
# 操作系统
.DS_Store
Thumbs.db