Skip to content

fix(kanban): preserve worker tools with restricted toolsets - #26846

Closed
haran2001 wants to merge 1 commit into
NousResearch:mainfrom
haran2001:fix/kanban-worker-toolset
Closed

fix(kanban): preserve worker tools with restricted toolsets#26846
haran2001 wants to merge 1 commit into
NousResearch:mainfrom
haran2001:fix/kanban-worker-toolset

Conversation

@haran2001

Copy link
Copy Markdown
Contributor

Summary

  • Ensure dispatcher-spawned kanban workers always include the kanban toolset when HERMES_KANBAN_TASK is set, even if the assignee profile restricts enabled toolsets.
  • Keep board-routing tools hidden from task-scoped workers via the existing kanban tool check_fn gates.
  • Include the kanban worker mode in the quiet tool-definition cache key so cached schemas do not cross the normal-chat/worker boundary.

Test Plan

  • python -m pytest tests/tools/test_kanban_tools.py::test_kanban_worker_env_overrides_profile_toolset_filter -q -o 'addopts='
  • python -m pytest tests/tools/test_kanban_tools.py -q -o 'addopts='

Closes #26730

@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/tools Tool registry, model_tools, toolsets labels May 16, 2026
@teknium1

Copy link
Copy Markdown
Contributor

Merged via PR #28396 (cherry-picked onto current main with your authorship preserved via rebase-merge — commit c30608c). Thanks for the contribution!

@teknium1 teknium1 closed this May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/tools Tool registry, model_tools, toolsets P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kanban workers fail due to context pollution from parent session

3 participants