The 22 files that build, run and track delegated children leave tools/ for
agent/subagents/, and the two completion-notice files go to
agent/completion_notices/. Every file is a rename: the lines that change in
them are imports, module names in strings, and comments or docstrings that
name a sibling module. tools/delegate_task_tool.py and
tools/delegate_tool_tasks.py, the tool and its argument handling, stay.
42 test files whose only subject is a moved module move to
tests/agent/subagents/, whose conftest imports the autouse fixtures they ran
under in tests/tools/.
Six old module names stay importable through hermes_agent/compat/moves.py
because pinned catalog plugins import them: tools.async_delegation,
tools.delegate_tool, tools.delegate_tool_config, tools.delegate_tool_registry,
tools.delegation_live_log and tools.process_registry_awaiting. The last one
also keeps a generated file at its old path: releases v0.22.3 to v0.23.5
import it inside ProcessRegistry._prune_if_needed, which runs on every
background process start, and no idle process of those releases has it loaded.
Loggers follow their modules, so delegation's log lines are under
`hermes logs --component agent` and no longer under `--component tools`.