fix(tools): preserve Kanban lifecycle tools for task workers - #62887
fix(tools): preserve Kanban lifecycle tools for task workers#62887OddBallin wants to merge 1 commit into
Conversation
|
Thanks for the focused regression fix. The premise is confirmed on current main: The proposed exception is narrow. Worker lifecycle tools remain gated by Automated hermes-sweeper review. |
Related: closes a gap left by the merged #28396. On current |
What changed
HERMES_KANBAN_TASK, even when the assignee profile disables the ordinary-chatkanbantoolset.AIAgenttool assembly, and worker prompt guidance.Why
Assignee profiles may intentionally disable Kanban tools during ordinary chat. That same profile restriction was also applied after the dispatcher scoped a process as a Kanban worker, stripping the lifecycle tools the worker needs to inspect, heartbeat, comment, create/link child tasks, block, and complete its assigned task.
The worker environment is already constrained by Kanban task-scoped
check_fnguards. This change makes that task scope the narrow exception while preserving the profile restriction everywhere else.How to test
Verified locally:
upstream/mainmodel_tools.pyandtests/tools/test_kanban_tools.pyPlatform tested