25 lines
1.3 KiB
Markdown
25 lines
1.3 KiB
Markdown
# dacli Architecture Decision Records (ADR)
|
|
|
|
> 记录 dacli 关键设计选择的完整理由 + 替代方案 + 后果, 含来源 (drift round / BS 编号 / 实战 app)。
|
|
|
|
## 规则
|
|
|
|
- 每篇 ADR 标准结构 (见 template.md): Context / Decision / Alternatives / Consequences / Cross-refs
|
|
- 编号 4 位数, 顺序递增 (0001, 0002, ...)
|
|
- 不撤销旧 ADR; 改设计时新增 ADR 引用旧 ADR 并说明变化
|
|
- 不入 git 的临时调试日志不属于这里
|
|
|
|
## 索引
|
|
|
|
| 编号 | 标题 | 状态 |
|
|
|------|------|------|
|
|
| [0001](./0001-fk-relation-form-required.md) | FK 字段必显式 relationForm | Accepted |
|
|
| [0002](./0002-form-create-ai-4-limitations.md) | form create --ai 4 限制 | Accepted |
|
|
| [0003](./0003-form-update-fields-no-alter-table.md) | form update 不同步物理表 | Accepted |
|
|
| [0004](./0004-menu-create-type3-moduleid.md) | menu type=3 必传 moduleId | Accepted |
|
|
| [0005](./0005-dict-typecreate-uniqueness.md) | dict typeCreate 全平台唯一 | Accepted |
|
|
| [0006](./0006-workflow-create-startformid.md) | workflow 必传 startFormId | Accepted |
|
|
| [0007](./0007-dacli-form-ai-not-in-dependency.md) | form --ai 不按依赖顺序 | Accepted |
|
|
| [0008](./0008-test-run-no-fk-injection.md) | test run 不自动注入 FK 数据 | Accepted |
|
|
| [0009](./0009-code-comment-hygiene.md) | 代码注释卫生规则 | Accepted |
|