Files
Chan/docs/PRODUCT_SPEC/ECR-002-runtime-split.md
T
jackyu66gitandCursor df27b4dde8 refactor: ECR-002 拆分 runtime 包并加深 analyze 契约(已审)
将 web/services/runtime.py 拆为 runtime/ 子模块并保持门面兼容;补齐 ESS 文档、门面/契约/TF_DF 测试与 CODE_REVIEW Approve。

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 18:15:23 +08:00

24 lines
707 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.
# PRODUCT_SPEC — ECR-002(骨架)
**Status:** Draft(随 ECR-002
**Date:** 2026-08-06
## Goal
在**不改变**缠论识别结果与 `/api/analyze` 对外契约语义的前提下,降低 Web 服务层与(可选)主站图表模块的维护成本,并提高回归可测性。
## Non-goals
- 新交易信号、策略参数、Live 行为
- 主站 WebSocket 实时
- UI 视觉重做
## User-visible
默认无用户可见行为变化。若有意变更 API 文档说明或错误信息文案,须在 ECR Acceptance 列出。
## Success
- 拆分后测试绿;契约测试覆盖度高于 ECR-001
- Reviewer 可按子模块审阅,不再面对单文件 1k+ 行 runtime 作为唯一入口