技术债 E-P2-3:工具目录 .trae/.dsh/.workbuddy 去跟踪并加 .gitignore #330
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
来源
台账 §四 来源 E E-P2-3:仓库夹带工具目录 .dsh/.workbuddy/.trae 被 git 跟踪(应移除跟踪并加 .gitignore)。
实测(2026-10-15)
git 仍跟踪 15 文件:
.trae/documents/8 +.trae/specs/2 +.dsh/skills/3 +.workbuddy/memory/1。.gitignore仅含.workbuddy/,缺.trae/、.dsh/。处置(依据 AGENTS.md 铁律 14《仓库入库规范》)
工具私有状态/一次性任务现场(C4/C7)不入 git:
git rm -r --cached .trae .dsh .workbuddy.gitignore增补.trae/、.dsh/验收标准
git ls-files | grep -E '^(\\.trae|\\.dsh|\\.workbuddy)/'为空.gitignore含.trae/、.dsh/关闭凭证核验 (2026-10-15)
git ls-files | grep -cE '^(\\.trae|\\.dsh|\\.workbuddy)/'0(推送后 main 已生效)grep -nE '^\\.(trae|dsh)/' .gitignore.trae/与.dsh/ls .trae/documents | wc -l/ls .dsh/skills | wc -lrm --cached,未删磁盘)代码:commit
f87998e(chore(repo): #330 工具目录 .trae/.dsh/.workbuddy 去跟踪 + .gitignore),17 files changed / 3206 deletions(index-only)。发布:
git-20261015090830 → git-20261015145654。结论: 全部验收标准达成,凭证可复现。