# 密钥 —— 真实本地配置不入库;提交 .env.example 作为模板 *.pem .env !.env.example # Python __pycache__/ *.py[cod] .venv/ venv/ .pytest_cache/ *.egg-info/ # Node / web node_modules/ dist/ # 例外:海外机不装 node,前端构建产物入库直接托管 !app/frontend/dist/ !app/frontend/dist/** .next/ .vite/ # 媒体落盘 / 运行产物 —— 体积大,本地保留不入库 /data /legacy_data /runtime # 分类树 dump + embedding —— 本地保留不入库,可由 scripts/dump_trees.py + embed_trees.py 重生 scope_trees/ # 杂项 .DS_Store *.log