arch 业务架构注册表(声明式 · 单一真相源)
本文件是.claude/arch/business/业务架构层的注册表 + 三层分类图例。声明式登记「已固化业务域 → 架构文档」。
registry opt-in:只登记已建文档的域;未登记域不受存在性闸约束(避免 big-bang 考古洪水,存量域走 Stage 3 逐个纳管)。
三层架构分类:
- 框架架构 =.claude/harness-engineering.md(单文件真相源,L0–L5 控制系统)
- 系统架构 =.claude/arch/system/+ 规则书 + 规范(系统四件套:设计、条款、判据、执法;检测器逐字比对代码)
- 业务架构 = 本目录(DDD bounded context,与 x-data 归类层 1:1,业务设计真相)
已固化业务域(registry)
| 业务域 | 架构文档 | 子域 | 端范围 |
|---|---|---|---|
| ecommerce/order | ecommerce/order/ARCH.md | core | all |
| ecommerce/dispatch | ecommerce/dispatch/ARCH.md | core | all(client 师傅端未建) |
| system/login | system/login/ARCH.md | core | all |
| system/agreement | system/agreement/ARCH.md | core | all |
| system/mobile | system/mobile/ARCH.md | core | client 类(多移动端 × backend 轴:微信 / Donut / H5,系统层母本 x-core/mobile/core + backend 层 x-core/mobile/backends 入 describes;业务域包不入本域 —— x-core/mobile/{kits,biz}/* 归各业务域,S15/S16 已改指 · 其余端 null) |
| system/member | system/member/ARCH.md | core | all(client 消费面归 login/mobile · client null) |
| system/account-cancellation | system/account-cancellation/ARCH.md | core | all(设计态 · 四端零代码 · srcHash 全 null 即实证) |
| system/avatar | system/avatar/ARCH.md | core | all(client 无独占目录 · 消费面在 customer 的 user-panel/settings 内 · client null) |
| customer | customer/ARCH.md | core | all |
| ecommerce/spu | ecommerce/spu/ARCH.md | core | all(client 侧 goods 源自 S15 起住业务域包 x-core/mobile/biz/goods,describes 已改指包源) |
| supplier | supplier/ARCH.md | core | all(client 无独立模块·供给方展示经 spu 派生) |
| ecommerce/promotion/coupon | ecommerce/promotion/coupon/ARCH.md | promotion | all |
| ecommerce/goods-flow | ecommerce/goods-flow/ARCH.md | core | client(商品数据链·端内流转层,商品本体归 spu;client 侧源自 S16 起住分包业务域包 x-core/mobile/biz/goods-lazy,describes 已改指包源) |
待固化业务域(未登记 · Stage 3 考古逐个 opt-in 纳管)
technician · sop · system/{company}(注:auth/menu 的 RBAC 判定 / 路由守卫技术契约是系统架构 = x-auth / x-route 的系统四件套,非业务 arch,不入 arch/;role/user/anonymous 的成员-角色-资源领域治理模型已固化为 system/member/ARCH.md,见 registry——治理模型入 arch,技术契约仍归系统四件套,两不复述) · ecommerce/{category,cart,favorite,footprint}(spu/sku/spu-supplier 已合并入 ecommerce/spu/ARCH.md 商品核心;brand/supplier 已合并入 supplier/ARCH.md 供给方域;promotion/coupon 已固化,见 registry) · 端专属:admin/{finance,decision,logs} · client/{mall,community}
端专属域(非四端共有)在其文档 frontmatter 标 endScope: admin|client。