ROUTE MAP / SESSION → TURN → DELIVERY等待播放
tool_calls · 回到 03
01
入口与会话
host → state.db
02
回合准备
build_turn_context
stable身份 / 规则
context项目 / worktree
volatile技能 / 记忆
03
请求装配
assemble_api_request
messagestool schemacache
→pre
flight
04
调用模型
perform_api_call
05
响应摄入
check / normalize
06
分支判断
tool_calls or text
07
工具轮
run_tool_round
08
预算回边
500 + grace call
09
收尾闸门
stop gates × 4
10
回合落盘
finalize_turn
SQLite
append-onlyMEMORY.md
11
后台复盘 fork
AIAgent / no main cache
12
交付与 resume
host render → turn end
MESSAGE