refactor: 收敛公开工作区运行时契约
This commit is contained in:
1 parent
d5e63be074
commit
9b61047ec6
13 files changed
+93
-64
No files matched your search
@@ -0,0 +1,18 @@
|
||||
# 进度
|
||||
|
||||
- 任务:public/workspace 契约加固
|
||||
- 形态:single-full
|
||||
- 进度:4/4
|
||||
- 当前:唯一 Runtime Workspace 契约已落地,等待提交
|
||||
- 真相文件:`TODO.csv`
|
||||
|
||||
## 审计结论
|
||||
|
||||
当前接口同时返回 Runtime 投影和原始/重复别名:`fields`、`trustContent`、`inquiryForm`、`runtimeCapabilities`、`runtimeModules`。这些字段与 `inquiryForms`、`trustPresentation`、`capabilities`、`modules` 重叠,会使模板消费者误读历史数据。
|
||||
|
||||
## 已完成
|
||||
|
||||
- `/public/workspace` 只返回 canonical Runtime Workspace 字段。
|
||||
- Miniapp 已移除 `workspace.fields` 和 `workspace.trustContent` fallback。
|
||||
- API client 类型与 API 回归断言已同步。
|
||||
- 验证:全仓 `typecheck`、`format:check`、Miniapp fixture 通过;API integration 36/37,剩余失败是既有测试用例共享品牌草稿状态导致的发布 400,与本轮 workspace 契约断言无关。
|
||||
Reference in new issue
Block a user