mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-10-24 15:19:44 +00:00
Failed scheduler tasks stayed in Error when their chats resumed outside the scheduler runner, even after successful replies and a persistence reload. Persist the owning task UUID in chat context data and reconcile successful main-agent monologues with the associated errored task. Save Idle, the recovered result and its completion timestamp through a checked update. Preserve planned launch progression, normal retry callbacks and unrelated, disabled, removed or reassigned tasks. Legacy dedicated chats resolve by context ID; legacy shared chats still require an explicit scheduler retry. Add regression coverage for failure, restoration, two successful chat steps, all task types, JSON/YAML persistence, cancellation and ownership guards. Update the scheduler and extension contracts. Validation: 31 scheduler tests passed in the localhost:32081 container's framework runtime. Broader lifecycle checks: 65 passed, with one unrelated nudge fixture failure reproduced with reconciliation disabled. No live provider/model-switch test or service restart. |
||
|---|---|---|
| .. | ||
| _functions | ||
| agent_init | ||
| banners | ||
| before_main_llm_call | ||
| error_format | ||
| hist_add_before | ||
| hist_add_tool_result | ||
| job_loop | ||
| message_loop_end | ||
| message_loop_prompts_after | ||
| message_loop_prompts_before | ||
| message_loop_result | ||
| message_loop_start | ||
| monologue_end | ||
| monologue_start | ||
| process_chain_end | ||
| reasoning_stream | ||
| reasoning_stream_chunk | ||
| reasoning_stream_end | ||
| response_stream | ||
| response_stream_chunk | ||
| response_stream_end | ||
| startup_migration | ||
| system_prompt | ||
| tool_execute_after | ||
| tool_execute_before | ||
| user_message_ui | ||
| util_model_call_before | ||
| webui_ws_connect | ||
| webui_ws_disconnect | ||
| webui_ws_event | ||
| .gitkeep | ||
| AGENTS.md | ||