Integrate unfinished server-rs refactor worklists
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
## 2. 当前阶段说明
|
||||
|
||||
当前提交仅完成目录占位,不提前进入表结构、projection 与接口实现。
|
||||
当前已进入 DDD 分层拆分阶段,但仍以小切片推进,不提前改动未冻结的表结构、projection 与接口实现。
|
||||
|
||||
后续与本 package 直接相关的任务包括:
|
||||
|
||||
@@ -23,6 +23,22 @@
|
||||
3. 设计 `profile_played_world`、`profile_save_archive`、`user_browse_history`
|
||||
4. 落地存档、设置、资料页兼容接口
|
||||
|
||||
已落地的拆分切片:
|
||||
|
||||
1. `runtime settings` 的默认值、平台主题值对象与设置聚合已迁入 `src/domain.rs`,根入口通过 `pub use domain::*` 保持原有 crate API。
|
||||
2. runtime snapshot、profile dashboard、wallet、recharge、referral、played world、play stats、save archive 的快照、输入、过程结果与记录投影类型已迁入 `src/domain.rs`。
|
||||
3. settings、browse history、profile/save 三组字段错误和中文错误文案已迁入 `src/errors.rs`。
|
||||
4. settings、browse history、profile/save 等输入构造和写入归一化函数已迁入 `src/commands.rs`。
|
||||
5. settings、browse history、profile/save 等记录投影 builder 已迁入 `src/application.rs`。
|
||||
6. checkpoint、profile/save archive meta、充值/邀请/兑换/钱包等剩余纯规则已迁入 `src/application.rs`,`spacetime-module` 只保留表事务读写,`api-server` 只保留 HTTP/BFF 映射。
|
||||
7. 详细边界与验收记录见:
|
||||
- `docs/technical/SERVER_RS_DDD_WP_RT_RUNTIME_SETTINGS_DOMAIN_REFACTOR_2026-04-29.md`
|
||||
- `docs/technical/SERVER_RS_DDD_WP_RT_DOMAIN_SNAPSHOT_RECORD_REFACTOR_2026-04-29.md`
|
||||
- `docs/technical/SERVER_RS_DDD_WP_RT_ERROR_LAYER_REFACTOR_2026-04-29.md`
|
||||
- `docs/technical/SERVER_RS_DDD_WP_RT_COMMANDS_REFACTOR_2026-04-29.md`
|
||||
- `docs/technical/SERVER_RS_DDD_WP_RT_APPLICATION_RECORD_REFACTOR_2026-04-29.md`
|
||||
- `docs/technical/SERVER_RS_DDD_WP_RT_ADAPTER_API_CLOSURE_2026-04-29.md`
|
||||
|
||||
## 3. 边界约束
|
||||
|
||||
1. `module-runtime` 负责运行时状态真相与模块级 facade 编排,不把主状态继续留在旧式大 JSON repository 中。
|
||||
|
||||
Reference in New Issue
Block a user