mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-11-23 14:04:41 +00:00
* fix(agents): make the todo completion reminder match the guard's terminal statuses The reminder told the model to finish everything and only mark items completed, while the guard also accepts blocked and waiting. A step that cannot continue in this run was retried or falsely marked completed to get past the guard. Offer blocked/waiting and name the same terminal set the exit check uses. * test(agents): state that the reminder test checks the instruction, not the response * fix(agents): include the completion reminder template in the assembly fingerprint The fixed reminder is model-visible instruction text, but release_policy_parameters hashed only the system prompt and tool description, so a wording change left AgentAssemblyDescriptor.fingerprint unchanged. Hash the template rendered with an empty item list, keeping per-run todo content out. --------- Co-authored-by: Nan Gao <thunderggnn@gmail.com>