From f9e79239820450436ffcd4760974003c7b0eef12 Mon Sep 17 00:00:00 2001 From: zh Date: Wed, 23 Sep 2026 21:02:10 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=8C=89=E6=96=B0=E7=BB=93=E6=9E=84?= =?UTF-8?q?=E9=87=8D=E5=86=99=20.gitignore?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 81 行降到 21 条规则,按 Node/TS、环境密钥、运行数据、Python、IDE 五组组织;删掉指向已不存在路径的旧规则(apps/web/dist、apps/desktop/release、poc/pi-fallback、_shots、video、_refs、beihai-shipyard-aps-data 等),补上 .aps/、server/data/、coverage/、.env.* 白名单 .env.example。旧项目残留(.venv、apps/、tests/、server 下旧 Python 目录与运行数据)已移出工作区,未入库。 --- .gitignore | 96 +++++++++++++++--------------------------------------- 1 file changed, 26 insertions(+), 70 deletions(-) diff --git a/.gitignore b/.gitignore index 2d1e670..cca1ab2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,81 +1,37 @@ # ============================================================ -# APS 智能体 · Git 忽略清单 +# 多系统智能体平台 · Git 忽略清单 +# 2026-09-23 按新结构重写(client / server / providers / contracts) # ============================================================ -# ---- Python ---- + +# ---- Node / TypeScript ---- +node_modules/ +dist/ +*.tsbuildinfo +coverage/ +*.log + +# ---- 环境与密钥(绝不入库)---- +.env +.env.* +!.env.example + +# ---- 运行数据(可再生成,不入库)---- +# 桌面端本地数据:会话 JSONL 与 SQLite 库(ADR-0007) +.aps/ +# 服务端运行数据目录 +server/data/ + +# ---- Python(APS 侧搬迁适配时使用)---- __pycache__/ *.py[cod] .venv/ -.sidecar-venv/ venv/ +.sidecar-venv/ .pytest_cache/ -# ---- Node / 前端 ---- -node_modules/ -*.tsbuildinfo -apps/web/dist/ -apps/desktop/release/ -apps/desktop/node_modules/ -build/ -dist/sidecar/ -dist/sbom/ -# ---- 环境与密钥(密钥绝不入库)---- -.env -# ---- 运行时数据(世界状态由种子自动生成)---- -server/data/ -# 用户级桌面目录(勿提交) -.aps/ -# ---- 需求材料(原始 docx/ppt/pdf 与本地提取文本,不入库)---- -demand/ -# ---- Pi 兜底 PoC:运行产物与本机配置不入库(代码/文档/测试脚本入库)---- -poc/pi-fallback/runtime/node_modules/ -poc/pi-fallback/runtime/pi-home/ -poc/pi-fallback/runs/ -poc/pi-fallback/smoke/site*/ -poc/pi-fallback/smoke/*.log -poc/pi-fallback/smoke/*.sse -poc/pi-fallback/probes/*.out -poc/pi-fallback/probes/*.marker -# ---- 本地运行日志(勿提交)---- -.codex-*.log -_shots/*.log -_shots/v2-discard/ -# ---- IDE / 系统 ---- + +# ---- IDE 与系统 ---- .idea/ .vscode/ .serena/ Thumbs.db -.DS_Store - -# ---- Local build, test, and generated delivery artifacts ---- -*.log -*.err.log -*.bak* -.pytest-*.txt -.tmp-* -apps/desktop/build-logs/ -outputs/ -artifacts/ -apps/*.dxf -tests/golden/_*.json -beihai-shipyard-aps-data/ - -# ---- Generated presentation and media drafts (do not commit) ---- -/video/ -/_refs/ -*.mp4 -*.mov -*.avi -*.mkv -*.webm -*.wmv -*.m4v -*.mp3 -*.wav -/APS智能体演讲稿*.md -/APS智能体演示讲解稿.md -/Pi-Agent兜底能力详细方案.md -/Pi-Agent接入计划.md -/Pi-Agent接入详细计划.md - -# ---- 新平台构建产物(TS 项目引用输出)---- -dist/ -*.tsbuildinfo +.DS_Store \ No newline at end of file