Conversation
- 切号弹窗新增「同步设置与文件」开关:settings.json claw.users 深合并(源补齐到 目标)、storage/user-* 与画像缓存「目标缺失才补」的单向对齐、my-files.json 全账号并集合并(禁止单向覆盖防丢 favoriteIds 键)、界面主题跟随目标账号 (本地 leveldb 注入 + 云端外观选择改写,根治切回后主题回跳) - SECRET_KEYS 命中的键整棵跳过(凭据/身份类绝不跨账号复制,防串号),SECRET 文件名(master.key / credential)整文件不搬 - 落盘前自动备份 workbuddy.db + settings.json;storage 被覆盖的文件在覆盖前 另存 backups/storage/<ts>/<user目录>/<相对路径>(唯一还原点),备份失败不裸 覆盖(宁缺同步不丢还原点);备份轮转每类留最近 20 份 - 新增 align.rs(数据对齐 L1/L4/L5)/ ui_theme.rs(主题跟随)模块;随带 automations.rs / oplog.rs / discover.rs / auth_file.rs(与先行 PR 同份代码, 先合的生效,重复改动幂等) - 切号流程经 align::post_close_sync 统一入口接线,switch.rs 保持薄包装
wh-1
force-pushed
the
pr/align-files
branch
from
September 19, 2026 13:10
3a5e41c to
df3c3e7
Compare
This was referenced Sep 25, 2026
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
做了什么
切号弹窗新增「同步设置与文件」开关(默认开):
claw.users深合并(源补齐到目标),SECRET_KEYS 命中的键整棵跳过(凭据/身份类绝不跨账号复制,防串号),SECRET 文件名(master.key / credential)整文件不搬storage/user-*与画像缓存做「目标缺失才补」的单向对齐;my-files.json全账号并集合并(禁止单向覆盖,防丢 favoriteIds 键)实现
align.rs(数据对齐 L1/L4/L5)/ui_theme.rs(主题跟随)模块align::post_close_sync统一入口接线,switch.rs保持薄包装(SwitchOptions增加alignFiles)automations.rs/oplog.rs/discover.rs/auth_file.rs(与 feat: 账号发现——识别本机未入册账号并一键补录 #65 / feat: 切号带走定时任务 #66 同份代码,先合的生效,重复改动幂等)reqwest增加blockingfeature(云端外观改写用)验证
cargo check(core + server)✅tsc --noEmit✅