Skip to content
Back to skills

2372 2026 02 07 Remove Orchestrator Tool Dispatcher Ab61bb20

ASecurity

Removed the now-dead node-based pydantic-ai orchestrator/tool-dispatcher stack after switching the request loop to consume tinyagent events directly. This reduces complexity and prevents accidental re-introduction of the legacy execution path.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
ai-agentsnode

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2372-2026-02-07_remove-orchestrator-tool-dispatcher_ab61bb20 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2372 2026 02 07 Remove Orchestrator Tool Dispatcher Ab61bb20?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2372 2026 02 07 Remove Orchestrator Tool Dispatcher Ab61bb20
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2372-2026-02-07-remove-orchestrator-tool-dispatche/badge)](https://www.skillsdirectory.com/skills/tools-only-2372-2026-02-07-remove-orchestrator-tool-dispatche)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
---
title: Remove legacy pydantic-ai orchestrator/tool-dispatcher
link: remove-legacy-orchestrator-tool-dispatcher
type: delta
path: src/tunacode/core/agents
depth: 2
seams: [A, M]
ontological_relations:
  - relates_to: [[tinyagent-migration]]
  - affects: [[core-agents-main-loop]]
  - affects: [[agent-components-package]]
tags:
  - migration
  - tinyagent
  - cleanup
created_at: 2026-02-07T22:14:36.946737+00:00
updated_at: 2026-02-07T22:14:36.946737+00:00
uuid: 01861b97-0dfa-40b9-8497-8fc650e46bd2
---

## Summary

Removed the now-dead node-based pydantic-ai orchestrator/tool-dispatcher stack after switching the request loop to consume tinyagent events directly. This reduces complexity and prevents accidental re-introduction of the legacy execution path.

## Changes

- Deleted `src/tunacode/core/agents/agent_components/orchestrator/` (tool dispatcher, usage tracker, node processor).
- Simplified exports:
  - `src/tunacode/core/agents/agent_components/__init__.py`
  - `src/tunacode/core/agents/__init__.py`
- Removed legacy tests that only validated the deleted orchestrator behavior:
  - `tests/integration/tools/test_tool_dispatcher_coverage.py`
  - `tests/integration/core/test_tool_call_lifecycle.py`
  - `tests/unit/core/test_usage_tracker.py`
- Refactored `RequestOrchestrator._run_stream()` into small event-specific handlers to satisfy Ruff complexity gates.

## Behavioral Impact

- Tool execution and streaming are now exclusively driven by tinyagent event handling.
- No backward-compatibility is provided for orchestrator-specific internals/tests.

## Related Cards

- [[tinyagent-migration]]

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…