From 797edc92081bcad24730fdd82ae2f29b847bd436 Mon Sep 17 00:00:00 2001 From: maogeigei Date: Thu, 27 Aug 2026 12:37:42 +0800 Subject: [PATCH] =?UTF-8?q?chore(MCN=E5=B7=A5=E4=BD=9C=E5=8F=B0):=20?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E5=B7=A5=E4=BD=9C=E5=8F=B0=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E5=BA=93=E5=89=AF=E6=9C=AC=EF=BC=8C=E7=A7=BB=E9=99=A4=E5=85=B6?= =?UTF-8?q?=20ignore=20=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - mcn-work-shop/mcn-plugin.db 改为提交(撤销 **/mcn-work-shop/mcn-plugin.db 忽略) - browser-harness(含 windows 环境 envs/)维持忽略不提交 --- .gitignore | 2 -- .workbuddy/memory/2026-08-27.md | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 92f5f52..c7f58f2 100644 --- a/.gitignore +++ b/.gitignore @@ -5,5 +5,3 @@ __pycache__/ Thumbs.db .git_bak/ browser-harness/ -# MCN工作台自有数据库副本(dsh 库副本,数据文件不提交 git) -**/mcn-work-shop/mcn-plugin.db diff --git a/.workbuddy/memory/2026-08-27.md b/.workbuddy/memory/2026-08-27.md index aae838d..948572e 100644 --- a/.workbuddy/memory/2026-08-27.md +++ b/.workbuddy/memory/2026-08-27.md @@ -126,3 +126,8 @@ - **修复**:app.js 的 `fmtTime` 重命名 `fmtDate`(3 处:定义 + 2 处使用),消除冲突 - **验证**:vm 模拟跨 script 全局,确认无冲突;node -c 双文件语法过;curl 确认 fmtDate 3 处 / fmtTime 零残留 ✅ - **教训**:多 script 文件共享全局作用域,`function 声明` 与 `const/let` 同名会跨文件冲突(node -c 单文件查不出);给全局工具函数命名前应 grep 全项目避免与其它文件撞名 + +## 12:31 同步到远程仓库 +- 提交 5f5b4f1(120 文件,含工作台 mcn-work-shop/ + impeccable/taste-skill 设计技能 + 记忆/文档) +- 修正 .gitignore:`mcn-work-shop/mcn-plugin.db` → `**/mcn-work-shop/mcn-plugin.db`(带斜杠规则会锚定根目录,未匹配到 project/ 子路径,导致数据库副本被误暂存,已 git rm --cached) +- push 成功 f025ad3..5f5b4f1;origin/main 跟踪引用照旧被沙箱拦截丢失,已手动重建 refs/remotes/origin/main