- Introduced `MYSQL_CORE_DATABASE` in `.env.example` and `settings.py` for core database configuration. - Added `CoreReadOnlyRepository` for read-only access to the `jinrong_core` database. - Updated `AGENTS.md`, `README.md`, and various documentation files to reflect new agent onboarding processes and project structure. - Revised requirements in `requirements.txt` to include `langgraph` and `langchain-core`. - Enhanced `FLOW.md` with local bootstrap instructions for setting up the core simulation environment. - Added new scripts for database creation and seeding for the core simulation library. - Improved overall documentation for clarity on project architecture and memory management. - Updated `TODO.md` to reflect current development priorities and tasks.
1.3 KiB
1.3 KiB
Agent
无上下文时先读 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/项目框架设计/表设计/ - 技术选型 / JWT:
docs/项目框架设计/技术选型和版本/ - Core 模拟底座:
docs/项目框架设计/Core模拟底座/ - 业务记忆分层:
docs/业务记忆管理/业务记忆管理手册.md
代码入口
app/main.py # FastAPI;当前仅 /health
app/config/settings.py # 双库 jinrong_agent + jinrong_core
app/repository/core_ro.py # Core 只读(已实现)
scripts/core/reset.ps1 # 本地灌 Core 模拟库
技术选型硬阀门见 MEMORY 第 3、7 节。Cursor 以 .cursor/rules/project-memory.mdc 为准。