Files
ai4se-harness-suite/harness-installer/templates/docs/facts/README.md
ning-inspire 2fb2fc3361 refactor: 案例项目目录规范化并同步 harness
将 apps/、docs/facts(+business/tech-topic)、.overnight-runner 收敛为统一布局,并刷新安装器默认值与 skill 占位符(DESIGNS_DIR→FACTS_DIR)。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-11-17 10:34:28 +08:00

23 lines
819 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 事实文档(Facts)
本目录描述系统 **当前的真实状态**,必须与代码保持一致。
## 子目录
| 路径 | 内容 |
|---|---|
| `api.yaml` | OpenAPI 格式的接口定义 |
| `db-schema.md` | 数据库表结构与索引说明 |
| `domain-model.md` | 领域模型:聚合、实体、值对象、关系 |
| `business/` | 业务事实(流程等) |
| `tech-topic/` | 技术专题(鉴权、状态机、业务规则、数据字典……) |
## 维护规则
- 改了接口 → 更新 `api.yaml`
- 改了表结构 → 更新 `db-schema.md`
- 改了业务规则 → 更新 `tech-topic/businessrule.md`
- 改了数据字典 → 更新 `tech-topic/data-dict.md`
- 新增业务事实 → 在 `business/` 下新建文件
- 新增专题 → 在 `tech-topic/` 下新建文件,并在本表登记