WorkBuddy Test Aligns 137 Files Across Mac and Windows
A Juejin author reported that a scheduled WorkBuddy task on a Mac completed a two-way AI memory fusion for the 20-liantieerji project in 101.9 seconds, with an exit code of 0. The run pushed two items, pulled four, merged one log, required no manual handling, and matched all 137 files while passing file-, content-, and structure-level checks. The resulting summary was appended to the project's WorkBuddy memory directory for use in a later AI session.
The report presents a concrete pattern for preserving AI context across computers, including graded push, pull, merge, and manual handling rules plus three-stage validation rather than simple file synchronization.
21:00 的自动任务,101 秒跑完
2026 年 11 月 11 日 21:00,Mac 终端里 WorkBuddy 定时任务触发,开始对 20-liantieerji 项目做每日双向融合。130 秒后(内部计时 101.9s),退出码 0 弹出:推 2、拉 4、日志并集 1、需人工 0,137 个文件全命中,核验 PASS。整个过程零人工介入。
摘要被追加到 .workbuddy/memory/2026-11-11.md,第二天早上 Mac 端打开 AI 助手时,它已经知道 Windows 端 11 月 10 日刚落地的 配料秤校验-三量改造-落地对照-20261110.md 里写了什么。没有这个 101 秒,第二天 Mac 端的助手翻遍本地记忆库,只会返回一句"未找到相关上下文"。
问题不是"同步",是"融合"
git pull 能解决代码文件的同步,但 AI 助手的记忆库不是纯代码。它包含任务日志、阶段摘要、对照文档、全局索引——这些东西没有"谁覆盖了谁"的简单规则。
- 如果只单向推(Mac→Windows),Windows 端永远是旧世界观,看不到 Mac 侧新产出的 2 条记录。
- 如果只单向拉(Windows→Mac),Mac 端缺失自己刚写的内容。
- 如果全量覆盖,任何一端的本地修改直接丢失。