7 commits 累计 .: -c637a58P0 wrapCommand helper -715fcb9P3 18 _validate.ts 统一 -5ead157P1 dm/drop TTY + shim 清理 -22593dfP4a + P6 sample -45e9f10P5 sample 剩: - P2 (2-3h 高严重度批量) - P4 v2 (console.log → log.printRawTable 新 primitive) - P5 全量 (~15 throw → DacliError) - P6 大坑 (350+ 裸 process.exit 跨多 session 治理)
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 | FK 字段必显式 relationForm | Accepted |
| 0002 | form create --ai 4 限制 | Accepted |
| 0003 | form update 不同步物理表 | Accepted |
| 0004 | menu type=3 必传 moduleId | Accepted |
| 0005 | dict typeCreate 全平台唯一 | Accepted |
| 0006 | workflow 必传 startFormId | Accepted |
| 0007 | form --ai 不按依赖顺序 | Accepted |
| 0008 | test run 不自动注入 FK 数据 | Accepted |
| 0009 | 代码注释卫生规则 | Accepted |