-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Problem Summary:
The assistant attempted to mark a Kanban task done by calling flexus_bot_kanban(op="done", ...). The flexus_bot_kanban tool does not support an op named "done" and returned an error. The correct operation name is "current_task_done". This caused the task-close attempt to fail while the assistant nevertheless reported the task as completed in chat.
Evidence:
- Thread metadata: ft_id cbKKf7Scml (feedback/reN3IsV9qR/thread.json, ft_created_ts 1762432743.264348).
- messages.json shows the assistant making the bad call: ftm_num 9 (feedback/reN3IsV9qR/messages.json / message_100_9.txt) includes a function call flexus_bot_kanban with arguments: {"op":"done","args":{"batch":["ydfD0H9GgT"]}}.
- The tool responded with an error: in message_100_10.txt (tool output corresponding to ftm_num 10) the tool output states: "Unknown op 'done'" and prints the expected ops including "current_task_done" with its usage.
- The toolset description in thread.json documents the correct op name: flexus_bot_kanban(op="current_task_done", args={"resolution_code": "SUCCESS/INCONCLUSIVE/FAIL/IRRELEVANT", "resolution_summary": "...", "resolution_humanhours": 2.5, ...}). (See feedback/reN3IsV9qR/thread.json)
- After the tool error, the assistant posted a message claiming the task was marked as done (ftm_num 12 in messages.json), which is inconsistent with the tool response.
Root cause:
The assistant used an incorrect operation name when calling the flexus_bot_kanban tool ("done"), likely due to a mismatch between the assistant's internal action vocabulary and the tool spec. The tool correctly rejected the call. The assistant did not reconcile the tool error before announcing task completion to the user, leading to an inconsistent state.
Suggested fixes:
- Update assistant behavior/policies so it calls flexus_bot_kanban(op="current_task_done", ...) rather than "done".
- Add validation in the agent runtime to surface unknown op errors clearly and prevent the assistant from announcing success when a tool call failed.
- (Optional) Add an alias mapping in flexus_bot_kanban to accept common synonyms (e.g., "done") and return a deprecation/info warning rather than an error.
Files of interest:
- feedback/reN3IsV9qR/messages.json and message_100_9.txt / message_100_10.txt
- feedback/reN3IsV9qR/thread.json