Commit 6127a63
committed
feat(spec)!: 双源清账 C13+C15 —— 退役 L1「Simple Sync」整层,integration 冲突枚举改名
`DataSyncConfig(Schema)` 曾由 `./automation` 与 `./integration` 各导出一个声明,
`ConflictResolution(Schema)` 三个入口三个声明(#4411 陷阱)。按维护者裁决
(#4535 前锋判定 + 2026-08-03 批复,L1 否决位默认通过)三动作一单:
- **automation 侧整体死删**:`automation/sync.zod.ts` + `sync.test.ts`(L1
「Simple Sync」层,17 个导出名)。三仓(objectstack / cloud / objectui)
import 语句级零消费者、无父 schema 嵌入,8 个 def 全部不再发出 ——
39 个 authorable key 删行由 #4650 门禁按路径 3(整 def 消失)自证,
归 manifest ratchet(#2978 蓄意移除,8 键逐个列于 PR)+ check:api-surface
管辖。
- **integration 侧 D9(a) 改名**:`ConflictResolution(Schema)` →
`ConnectorConflictResolution(Schema)`,走 `RENAMED_DEFS` 承接(0-key carry,
枚举值逐字不变);`DataSyncConfig` integration 侧保名不动
(`ConnectorSchema.syncConfig` 活解析路径)。
- **ui 侧保留正名一字不动**:objectui `useOffline.ts` + `types/index.ts:1054`
re-export + parity ratchet 钉住;`api/ConflictResolutionStrategy` 第四亲戚
未动。
- dual-source-exports.baseline.json:删 4 行(认领时点账面 12 → 8;C16 #4752
先行合入 −2,rebase 到 5647006 后实跑 10 → 6)
- 回归 pin(sync-retirement.test.ts):compiler-API 符号身份 + exports-map
全入口枚举 + 唯一属主断言 + 防空转守卫;S1(重加导出)/ S2(禁止的裸名
re-export 收敛)/ S3(动 ui 侧名字)三组 sabotage 均红后还原
- SYNC_ARCHITECTURE.md:三层 → 两层 + 显式 L1 退役记录;PROTOCOL_MAP /
quick-reference / etl.zod / connector.zod / shared/mapping.zod 头注连带更新
- expression-conformance.ledger.ts:删 stale cover(automation/sync.zod.ts:condition)
- 严格性台账:automation 86 → 74 sites(check:strictness-ledger 实跑)
- changeset:@objectstack/spec major(TS2305),零元数据迁移(integration 值域
逐字节不变;automation 侧无解析站点即无作者,conversion 不可达)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0176qgxgCXTJCUv4YFLtusP9ConnectorConflictResolution,ui 侧保名 (#4738)1 parent 5647006 commit 6127a63
29 files changed
Lines changed: 454 additions & 1458 deletions
File tree
- .changeset
- content/docs
- getting-started
- references
- automation
- integration
- docs/audits
- packages
- qa/dogfood/test
- spec
- docs
- scripts/lib
- src
- automation
- integration
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | 160 | | |
162 | 161 | | |
163 | 162 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | 50 | | |
53 | 51 | | |
54 | 52 | | |
55 | 53 | | |
56 | | - | |
57 | | - | |
58 | | - | |
| 54 | + | |
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | | - | |
16 | | - | |
17 | 14 | | |
18 | 15 | | |
19 | 16 | | |
| |||
This file was deleted.
0 commit comments