Files
quant-os/docs/adr/0001-independent-project-and-three-planes.md

36 lines
1.2 KiB
Markdown
Raw Permalink 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.
# ADR-0001Quant OS 独立仓与三平面模块化单体
- 状态:Accepted
- 日期:2026-07-30
## 背景
Quant OS 原位于 `quants-strategies/quant-os`,把操作系统框架和具体策略仓库
混在一起;包名 `quant60` 又把成熟度写进产品身份。继续迭代到 80 会造成路径、
CI、发布 URL、import 和 artifact 身份持续破坏。
## 决策
1. Quant OS 迁为独立项目 `boat/quant-os`
2. `quant-os` / `quant_os` 是长期产品 CLI/import。
3. `baseline-60` / `production-80` 是 profile,不是新包。
4. 使用三平面模块化单体,专有 SDK 通过 adapter/runtime 隔离。
5. `quant60` 和 V1 artifact 至少保留两个兼容发布周期。
6. 迁仓和大模块重构分成独立提交;先证明行为等价,再按 vertical slice 拆分。
## 后果
正面:
- 策略仓与框架生命周期解耦;
- 80 分标准成为机器可验收控制面;
- QMT mutation authority 可以独立封闭;
- 历史证据和 Colab/平台入口有稳定产品名。
代价:
- 一段时间内同时存在 `quant_os``quant60`
- 根级 legacy adapters/platforms 仍需逐步迁移;
- 新旧公开 URL 需要并行和重定向;
- subtree split 会重写原路径提交 SHA,必须保存映射。