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