业务架构 · 总览

_index

业务架构以代码为锚:文档头里的四端签名一变,保鲜闸就逼人回看这份设计。

真相源:.claude/arch/business/_index.md · 本页是它的构建产物,改内容改那份文件、重新构建即更新

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/orderecommerce/order/ARCH.mdcoreall
ecommerce/dispatchecommerce/dispatch/ARCH.mdcoreall(client 师傅端未建)
system/loginsystem/login/ARCH.mdcoreall
system/agreementsystem/agreement/ARCH.mdcoreall
system/mobilesystem/mobile/ARCH.mdcoreclient 类(多移动端 × backend 轴:微信 / Donut / H5,系统层母本 x-core/mobile/core + backend 层 x-core/mobile/backends 入 describes;业务域包不入本域 —— x-core/mobile/{kits,biz}/* 归各业务域,S15/S16 已改指 · 其余端 null)
system/membersystem/member/ARCH.mdcoreall(client 消费面归 login/mobile · client null)
system/account-cancellationsystem/account-cancellation/ARCH.mdcoreall(设计态 · 四端零代码 · srcHash 全 null 即实证)
system/avatarsystem/avatar/ARCH.mdcoreall(client 无独占目录 · 消费面在 customer 的 user-panel/settings 内 · client null)
customercustomer/ARCH.mdcoreall
ecommerce/spuecommerce/spu/ARCH.mdcoreall(client 侧 goods 源自 S15 起住业务域包 x-core/mobile/biz/goods,describes 已改指包源)
suppliersupplier/ARCH.mdcoreall(client 无独立模块·供给方展示经 spu 派生)
ecommerce/promotion/couponecommerce/promotion/coupon/ARCH.mdpromotionall
ecommerce/goods-flowecommerce/goods-flow/ARCH.mdcoreclient(商品数据链·端内流转层,商品本体归 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