Files
group_xinghuo_jinrong/AGENTS.md
T
zhanghongyu_0626 3fb0ceb334 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.
2026-09-07 11:15:30 +08:00

35 lines
1.4 KiB
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.
# Agent
**无上下文时先读** [docs/memory/MEMORY.md](docs/memory/MEMORY.md) **§0 交接清单**(5 分钟了解仓库地图、bootstrap、禁止项、下一步)。
## 阅读顺序
| 顺序 | 文件 | 何时 |
| --- | --- | --- |
| 1 | `docs/memory/MEMORY.md` | 每次任务 |
| 2 | `docs/memory/TODO.md` | 取当前待办 |
| 3 | `docs/memory/REQUIREMENTS.md` | 对照场景 ID(F/C/A/D/R) |
| 4 | `docs/memory/FRAMEWORK.md` | 分层、选型、**实现状态表** |
| 5 | `docs/memory/FLOW.md` | 端到端链路 + §0 bootstrap |
| 6 | `docs/memory/ENVIRONMENT.md` | As-Is;Core 为模拟库 |
## 原文与深度文档
- 业务需求:`docs/需求拆解/`
- 表结构 SQL:`docs/项目框架设计/表设计/`(画像 **06**、适当性 log **07**)
- 技术选型 / JWT:`docs/项目框架设计/技术选型和版本/`
- Core 模拟底座:`docs/项目框架设计/Core模拟底座/`
- 业务记忆分层:`docs/业务记忆管理/业务记忆管理手册.md`
## 代码入口
```text
app/main.py # FastAPI;当前仅 /health
app/config/settings.py # 双库 jinrong_agent + jinrong_core
app/repository/core_ro.py # Core 只读 + check_suitability(已实现)
app/model/suitability.py # R-02 → risk_suitability_log 映射(已实现)
scripts/core/reset.ps1 # 本地灌 Core 模拟库
```
技术选型硬阀门见 MEMORY 第 3、7 节。Cursor 以 `.cursor/rules/project-memory.mdc` 为准。