fix(todo): address todo_write review feedback

This commit is contained in:
Tianyi Cui
2026-06-29 19:44:38 +08:00
parent 55088d1cfc
commit 9f1caf7c5b
8 changed files with 36 additions and 29 deletions

View File

@@ -146,6 +146,7 @@ forever:
session('assistant/message' {content, usage?}) log records what tool dispatch uses
each tool-call (sequential, abort-checked between calls):
session('tool/call'); ctx.tools.execute() ⟵ waterfall tools/execute
tool execution may append tool-owned session events, e.g. `todo/write`
session('tool/result')
drain steering → session('steering/message'); emit agent/steering
emit agent/step-end