refactor: 缠论引擎包化与 Web 分层(ECR-001)

将根目录引擎迁入 chanlun/ 并保留兼容 shim;拆分 TF_DF 与 web 服务;
前端模块化;strategies 改用 chanlun 导入;补充 ESS 文档与 golden 回归。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
jackyu66git
2026-08-05 18:48:20 +08:00
co-authored by Cursor
parent e2e45bc1bc
commit 74dec4e50b
160 changed files with 25576 additions and 23104 deletions
+30
View File
@@ -0,0 +1,30 @@
# CHANGELOG
## 2026-08-05 — ECR-001
### Added
- 正式包 `chanlun/`core / pipeline / builders / indicators / analysis
- ESS 文档树 `docs/`PROFILE / ECR-001 / SPEC / ADR / HANDOFF
- Web `config.py``services/``api/` blueprints
- 前端 `web/static/js/app/` 模块
- Golden 回归 `tests/generate_golden.py` + fixtures
### Changed
- 根目录 `Chan*.py` / `TF_DF.py` 改为兼容 shim
- `TF_DF` 实现拆至 builders,门面签名保持
- `web/app.py` 瘦身为 `create_app()`
- `index.html` 去掉巨型 inline 业务 JS
- HTTP 代理改为环境变量配置
### Fixed
- 恢复缺失的 `TF_DF.get_zs_list`(委托 `get_seg_zs_list`
### 2026-08-05 — ECR-001 follow-through
- strategies / web / tests / examples → `from chanlun...` 导入;绝对 `sys.path` 改为相对仓库根
- `chart.js``chart_format/view/tv/sync/tables.js`
- `chan_engine` / `datafeed` / `chan_indicator` 迁入 `static/js/app/``chan_tv` 与主站共用
- 根目录 shim 保留作兼容;正式入口为 `chanlun`