Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
91 commits
Select commit Hold shift + click to select a range
5b54a88
Create sync-research.md
cyfung1031 Jun 11, 2026
b4fda86
📄 docs(sync): document cloud sync correctness design
cyfung1031 Jun 11, 2026
db2d563
✅ test(sync): cover failed task digest preservation
cyfung1031 Jun 11, 2026
85c32dd
🐛 fix(sync): preserve failed task digests
cyfung1031 Jun 11, 2026
a6042cd
✅ test(sync): cover status merge before write
cyfung1031 Jun 11, 2026
7af330a
🐛 fix(sync): merge latest status before write
cyfung1031 Jun 11, 2026
2cc67e4
✅ test(sync): cover status sync best effort
cyfung1031 Jun 11, 2026
8386702
✅ test(sync): cover legacy sync status file
cyfung1031 Jun 11, 2026
0d14a0d
🐛 fix(sync): tolerate legacy sync status file
cyfung1031 Jun 11, 2026
0da9e0e
✅ test(sync): cover status write failure isolation
cyfung1031 Jun 11, 2026
5e5f39b
🐛 fix(sync): isolate status file write failures
cyfung1031 Jun 11, 2026
5d3fd07
✅ test(sync): cover corrupt status file isolation
cyfung1031 Jun 11, 2026
b6788e3
🐛 fix(sync): isolate unreadable status file
cyfung1031 Jun 11, 2026
841ab63
✅ test(fs): cover dropbox typed errors
cyfung1031 Jun 11, 2026
0322251
🐛 fix(fs): use typed dropbox errors
cyfung1031 Jun 11, 2026
caf4c3b
✅ test(fs): cover baidu errno classification
cyfung1031 Jun 11, 2026
d0a89d5
🐛 fix(fs): classify baidu errno precisely
cyfung1031 Jun 11, 2026
fa29bb3
✅ test(fs): cover raw response typed errors
cyfung1031 Jun 11, 2026
6a65acb
🐛 fix(fs): type raw provider response errors
cyfung1031 Jun 11, 2026
0713644
✅ test(fs): cover typed transient retries
cyfung1031 Jun 11, 2026
cd6f2d4
🐛 fix(fs): retry typed transient errors
cyfung1031 Jun 11, 2026
355e0a6
✅ test(sync): cover delete notification throttling
cyfung1031 Jun 11, 2026
b1ad94f
🐛 fix(sync): throttle delete notifications
cyfung1031 Jun 11, 2026
b107035
✅ test(fs): cover filesystem capabilities
cyfung1031 Jun 11, 2026
abbd80d
🐛 fix(fs): expose filesystem capabilities
cyfung1031 Jun 11, 2026
b26a2c5
✅ test(fs): cover dropbox raw read errors
cyfung1031 Jun 11, 2026
90ba062
🐛 fix(fs): type dropbox raw read errors
cyfung1031 Jun 11, 2026
aa007ac
✅ test(fs): cover s3 transient errors
cyfung1031 Jun 11, 2026
feaf735
🐛 fix(fs): type s3 transient errors
cyfung1031 Jun 11, 2026
089d8ed
✅ test(fs): cover webdav transient errors
cyfung1031 Jun 11, 2026
3f23955
🐛 fix(fs): type webdav transient errors
cyfung1031 Jun 11, 2026
dfd23f7
✅ test(fs): cover s3 conditional operations
cyfung1031 Jun 11, 2026
889d08d
🐛 fix(fs): support s3 conditional operations
cyfung1031 Jun 11, 2026
5ba7db8
✅ test(fs): cover webdav conditional operations
cyfung1031 Jun 11, 2026
8778b19
🐛 fix(fs): support webdav conditional operations
cyfung1031 Jun 11, 2026
a52998c
✅ test(fs): cover onedrive conditional operations
cyfung1031 Jun 11, 2026
41c07ed
🐛 fix(fs): support onedrive conditional operations
cyfung1031 Jun 11, 2026
a3ec5e1
✅ test(sync): cover conditional push options
cyfung1031 Jun 11, 2026
4d4355f
🐛 fix(sync): use provider conditional writes when safe
cyfung1031 Jun 11, 2026
03250cd
✅ test(sync): cover conditional cloud delete
cyfung1031 Jun 11, 2026
1aa8b4b
🐛 fix(sync): use provider conditional delete when safe
cyfung1031 Jun 11, 2026
5aad551
✅ test(fs): cover webdav create-only conflict
cyfung1031 Jun 11, 2026
e59ea1f
🐛 fix(fs): type webdav create-only conflict
cyfung1031 Jun 11, 2026
c63bfb4
✅ test(sync): cover status write after file failure
cyfung1031 Jun 11, 2026
1a2ab69
🐛 fix(sync): preserve failed script status while syncing others
cyfung1031 Jun 11, 2026
4a8380c
✅ test(fs): cover s3 conditional conflicts
cyfung1031 Jun 11, 2026
74c2ce2
docs(sync): update implemented provider status
cyfung1031 Jun 11, 2026
ce0400c
✅ test(sync): cover conflict error classification
cyfung1031 Jun 11, 2026
2b4ab24
🐛 fix(sync): classify per-file sync failures
cyfung1031 Jun 11, 2026
683f4b8
✅ test(fs): cover conditional write retry
cyfung1031 Jun 11, 2026
3eae169
🐛 fix(fs): retry protected conditional writes
cyfung1031 Jun 11, 2026
0f61332
docs(sync): reflect protected write retry
cyfung1031 Jun 11, 2026
b87a55c
✅ test(sync): cover sync error kind mapping
cyfung1031 Jun 11, 2026
41b9110
✅ test(sync): cover install push transient failure
cyfung1031 Jun 11, 2026
28c50a8
🐛 fix(sync): classify queued sync failures
cyfung1031 Jun 11, 2026
70c6a59
docs(sync): record queued failure classification audit
cyfung1031 Jun 11, 2026
0828472
docs(sync): refine remaining rollout plan
cyfung1031 Jun 12, 2026
93bad78
✅ test(sync): cover queued delete typed failures
cyfung1031 Jun 12, 2026
a8a1487
✅ test(fs): cover dropbox opaque digest
cyfung1031 Jun 12, 2026
0b3d134
docs(sync): document manual verification path
cyfung1031 Jun 12, 2026
aedc3a8
🐛 fix(fs): classify dropbox structured not found
cyfung1031 Jun 12, 2026
f96958d
✅ test(fs): cover dropbox structured conflict
cyfung1031 Jun 12, 2026
7c1bd37
docs(sync): keep rollout checklist current
cyfung1031 Jun 12, 2026
d1be557
✅ test(fs): cover non-atomic provider capabilities
cyfung1031 Jun 12, 2026
178eea1
docs(sync): record non-atomic provider coverage
cyfung1031 Jun 12, 2026
2264d9e
fix(sync/fs): address remaining provider verification gaps
cyfung1031 Jun 12, 2026
917a30c
docs(sync): record provider gap closure
cyfung1031 Jun 12, 2026
39cf65b
docs(sync): record manual verification result
cyfung1031 Jun 12, 2026
2cdf928
docs(sync): record real provider verification
cyfung1031 Jun 12, 2026
34d6c5f
fix(sync/fs): address real provider verification findings
cyfung1031 Jun 12, 2026
dec82aa
docs(sync): finalize rollout status
cyfung1031 Jun 12, 2026
be5e794
Delete sync-research.md
cyfung1031 Jun 12, 2026
eac7b8d
📄 docs(sync): document cloud sync implementation
cyfung1031 Jun 12, 2026
2936822
AI Audit 0617
cyfung1031 Jun 17, 2026
f5a0aff
Merge branch 'main' into pr/sync-fix/100
cyfung1031 Jul 5, 2026
7a80222
Merge origin/main into pr/sync-fix/100
CodFrm Jul 13, 2026
ad8a493
🐛 修复云同步分片失败/本地编辑漏传导致的永久 CAS 冲突 #1504
CodFrm Jul 13, 2026
43e3aea
✅ 补 #1 端到端测试:本地编辑经 syncOnce 真实上云且稳态不重复推送 #1504
CodFrm Jul 13, 2026
afde8bf
🐛 修正云盘 provider 错误分类:Baidu 2xx 非 JSON 报错、Dropbox 409 收窄、501 不再重试 #1504
CodFrm Jul 13, 2026
ac51457
📝 cloud-sync 文档同步错误分类修正:瞬时 5xx 集合、Dropbox 409 收窄、Baidu 2xx 解析、capabil…
CodFrm Jul 13, 2026
42c5dfd
✅ OneDrive 空内容 simple PUT 条件写入头断言(补 review 矩阵覆盖缺口)#1504
CodFrm Jul 13, 2026
4c56c7e
🐛 本轮 list 已确认不存在的文件走 create-only,不再用过期 digest 做 CAS #1504
CodFrm Jul 13, 2026
44f51fb
📝 cloud-sync 文档同步补偿 push/CAS 快照语义/并发冲突停走说明 #1504
CodFrm Jul 13, 2026
a610ec4
🐛 Google Drive 501 等永久性 5xx 不再标记可重试(补齐第六家 provider)#1504
CodFrm Jul 13, 2026
4819c76
🐛 pull 时本地 updatetime 采用云端文件时间,消除补偿 push 振荡 #1504
CodFrm Jul 13, 2026
b851542
🐛 云同步两处遗留收敛:队列 digest 收窄防漏 pull + CAS 自我 412 内容身份收敛 #1504
CodFrm Jul 13, 2026
980c069
🐛 云同步 push_content_md5 随 file_digest 收敛清理,避免只增不删 #1504
CodFrm Jul 13, 2026
3c32615
🐛 WebDAV/S3/OneDrive 条件写删能力全线保守关闭,回落无条件读写最终一致 #1504
cyfung1031 Jul 14, 2026
1227c43
🐛 云同步方向判定改用本地内容基线,修复同秒竞态误覆盖并增加冲突停走通知 #1504
cyfung1031 Jul 14, 2026
c75ea8b
📝 cloud-sync 文档:能力关闭依据、内容基线方向判定、冲突通知与功能范围说明 #1504
cyfung1031 Jul 14, 2026
5a45dc8
Merge branch 'main' into pr/sync-fix/100
cyfung1031 Jul 14, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/DOC-MAINTENANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ Aspirational / feature-branch content belongs in that branch's docs, or is clear
| [`design.md`](./design.md) | The design system: theme mechanism, shadcn component selection, new-page recipe; tokens split to [`references/design-tokens.md`](./references/design-tokens.md), component palette to [`references/design-components.md`](./references/design-components.md), layout/motion/state/a11y patterns to [`references/design-patterns.md`](./references/design-patterns.md). |
| [`verification.md`](./verification.md) | Lightweight end-to-end functional verification — throwaway scratch scripts driving the real built extension; report template split to [`references/verification-report-template.md`](./references/verification-report-template.md), debugging FAQ to [`references/verification-debugging.md`](./references/verification-debugging.md). |
| [`architecture.md`](./architecture.md) | Deep internals: process model, message passing; subsystem deep-dives split to [`references/architecture-services.md`](./references/architecture-services.md), [`references/architecture-data.md`](./references/architecture-data.md), [`references/architecture-gm-api.md`](./references/architecture-gm-api.md), [`references/architecture-execution.md`](./references/architecture-execution.md), [`references/architecture-build.md`](./references/architecture-build.md). |
| [`cloud-sync.md`](./cloud-sync.md) | Cloud sync internals: sync files, digest/status semantics, provider differences, error classification, retry policy. |
| [`translation.md`](./translation.md) | Translation / localization single source of truth. |
| [`DOC-MAINTENANCE.md`](./DOC-MAINTENANCE.md) | This guide: doc-set organization rules + fact-check / anti-drift discipline. |
| [`README.md`](./README.md) | The index that points to all of the above. |
Expand Down Expand Up @@ -98,7 +99,7 @@ git ls-files eslint-rules/; git grep -l "require-last-error-check" -- eslint.con
Link integrity — confirm every relative markdown link in the core docs resolves:

```bash
for doc in AGENTS.md docs/README.md docs/DOC-MAINTENANCE.md docs/develop.md docs/references/develop-testing.md docs/design.md docs/references/design-tokens.md docs/references/design-components.md docs/references/design-patterns.md docs/architecture.md docs/references/architecture-services.md docs/references/architecture-data.md docs/references/architecture-gm-api.md docs/references/architecture-execution.md docs/references/architecture-build.md docs/verification.md docs/references/verification-debugging.md docs/references/verification-report-template.md docs/translation.md; do
for doc in AGENTS.md docs/README.md docs/DOC-MAINTENANCE.md docs/develop.md docs/references/develop-testing.md docs/design.md docs/references/design-tokens.md docs/references/design-components.md docs/references/design-patterns.md docs/architecture.md docs/references/architecture-services.md docs/references/architecture-data.md docs/references/architecture-gm-api.md docs/references/architecture-execution.md docs/references/architecture-build.md docs/verification.md docs/references/verification-debugging.md docs/references/verification-report-template.md docs/cloud-sync.md docs/translation.md; do
# the sed pipeline drops fenced code blocks and inline code spans first, so illustrative sample
# links inside ```md snippets or `single-backtick` text (e.g. references/verification-report-template.md's
# screenshot/resource examples, verification.md's "Evidence location" spans) aren't false-flagged as broken
Expand Down
1 change: 1 addition & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
| [`design.md`](./design.md) | 设计系统参考:主题机制、shadcn 组件选型、新建页面配方总览;令牌完整值拆到 [`references/design-tokens.md`](./references/design-tokens.md),组件清单拆到 [`references/design-components.md`](./references/design-components.md),布局/响应式/动效/状态/无障碍范式拆到 [`references/design-patterns.md`](./references/design-patterns.md)。**做页面/对话框/区块前先读。** |
| [`verification.md`](./verification.md) | 功能验证指南:用一次性 scratch 脚本驱动真实扩展做端到端验证(不跑全量 E2E、不加永久用例);报告模板拆到 [`references/verification-report-template.md`](./references/verification-report-template.md),调试 FAQ 拆到 [`references/verification-debugging.md`](./references/verification-debugging.md)。**验证改动是否真正跑通时读。** |
| [`architecture.md`](./architecture.md) | 内部原理总览:多进程模型、消息传递;各子系统深入拆到 [`references/architecture-services.md`](./references/architecture-services.md)(服务层)、[`references/architecture-data.md`](./references/architecture-data.md)(数据层)、[`references/architecture-gm-api.md`](./references/architecture-gm-api.md)(GM API)、[`references/architecture-execution.md`](./references/architecture-execution.md)(脚本执行)、[`references/architecture-build.md`](./references/architecture-build.md)(构建管线)。 |
| [`cloud-sync.md`](./cloud-sync.md) | 云同步实现说明:同步文件语义、主流程、状态合并、provider 差异、错误分类、retry 策略和维护注意事项。 |
| [`DOC-MAINTENANCE.md`](./DOC-MAINTENANCE.md) | 文档维护与事实核对指南:组织规则、逐条核对清单、一键校验脚本。**改/审文档前先读。** |

## 翻译 / Translation
Expand Down
Loading
Loading