Enhance suitability assessment and documentation
- Implemented `check_suitability` method in `CoreReadOnlyRepository` for suitability determination based on customer and product risk levels. - Added `build_suitability_log_row` function in `suitability.py` for mapping suitability check results to `risk_suitability_log`. - Updated `AGENTS.md`, `ENVIRONMENT.md`, and `FLOW.md` to reflect changes in suitability assessment processes and documentation. - Revised `FRAMEWORK.md` and `MEMORY.md` to clarify project structure and data flow related to suitability checks. - Expanded `TODO.md` with tasks related to logging and auditing suitability assessments.
This commit is contained in:
+4
-1
@@ -15,6 +15,7 @@
|
||||
- [ ] T-06 挂载 `app.api` 路由到 `main.py`;chat 最小闭环
|
||||
- [ ] T-07 LangGraph `agent_service` StateGraph 骨架 + DeepSeek
|
||||
- [ ] T-04 Core RO 封装为 Tool 节点;A-01 归属校验
|
||||
- [ ] T-31 R-02 风控 service:check_suitability → build_suitability_log_row → INSERT log + audit
|
||||
- [ ] T-21 Milvus Lite + kb_product_rules 首批入库
|
||||
- [ ] 前端 React 多 Agent 入口(HashRouter,`web/` init)
|
||||
|
||||
@@ -26,4 +27,6 @@
|
||||
- [x] 2026-09-05 Core 模拟库 `scripts/core/*` + `reset.ps1` + 文档
|
||||
- [x] 2026-09-05 `core_ro.py` + `settings.mysql_core_database` + sync 脚本
|
||||
- [x] 2026-09-05 Agent 编排依赖改为 LangGraph(requirements.txt)
|
||||
- [x] 2026-09-05 memory 文件夹更新(新 Agent 交接清单)
|
||||
- [x] 2026-09-07 Core DDL/种子对齐客户手册(KYC、风评、C×R 矩阵、AML、产品起购期限;33 客户 / 14 产品)
|
||||
- [x] 2026-09-07 `check_suitability` + `risk_suitability_log` P0 字段 + `app/model/suitability.py` + 表设计/07
|
||||
- [x] 2026-09-07 画像框架文档 `表设计/06-用户画像L1-L3设计.md` + memory 同步
|
||||
|
||||
Reference in New Issue
Block a user