Skip to content

fix(kanban): keep graph tools orchestrator-only - #30022

Closed
mosaiq-systems wants to merge 1 commit into
NousResearch:mainfrom
mosaiq-systems:fix/kanban-option-a-graph-guard
Closed

fix(kanban): keep graph tools orchestrator-only#30022
mosaiq-systems wants to merge 1 commit into
NousResearch:mainfrom
mosaiq-systems:fix/kanban-option-a-graph-guard

Conversation

@mosaiq-systems

@mosaiq-systems mosaiq-systems commented May 21, 2026

Copy link
Copy Markdown

Summary

  • make kanban_create and kanban_link orchestrator-only graph-routing tools instead of exposing them to dispatcher-scoped workers
  • enforce the same orchestrator boundary inside the handlers, so stale schemas or direct dispatch cannot mutate graph topology from worker scope
  • mark environment-sensitive Kanban tool gates as uncached to prevent orchestrator visibility from leaking into later worker schema builds in long-lived processes
  • update worker prompt guidance to record follow-up work through comments, completion metadata, or blocking instead of spawning tasks

Tests

  • uv run --with pytest --with pytest-asyncio --with pytest-timeout python -m pytest tests/tools/test_kanban_tools.py tests/hermes_cli/test_kanban_db.py -q -o 'addopts=' (244 passed)
  • uv run python -m py_compile tools/registry.py tools/kanban_tools.py agent/prompt_builder.py tests/tools/test_kanban_tools.py
  • independent review checked the diff for project-specific leakage, local paths, secrets, and cache/gate regressions

tier-1: option a strict kanban graph fanout control
@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint labels May 21, 2026
@mosaiq-systems mosaiq-systems changed the title fix(kanban): restrict graph mutation to software-engineer fix(kanban): keep graph tools orchestrator-only May 22, 2026
@mosaiq-systems

Copy link
Copy Markdown
Author

Closing this PR and replacing it with a sanitized generic Kanban bug-fix PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants