feat(gui): expand AGENT_TOOL_NAMES to all 26 MCP tools with mutating tools grouped
This commit is contained in:
@@ -55,3 +55,15 @@ def test_default_project_mutating_tools_disabled():
|
||||
for tool in MUTATING_TOOLS:
|
||||
assert tool in tools, f"{tool} missing from default_project"
|
||||
assert tools[tool] is False, f"Mutating tool '{tool}' should default to False"
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Task 2.2: AGENT_TOOL_NAMES in gui_2.py exposes all dispatch tools
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
def test_gui_agent_tool_names_exposes_all_dispatch_tools():
|
||||
"""AGENT_TOOL_NAMES in gui_2.py must include every tool in mcp_client.dispatch()."""
|
||||
from gui_2 import AGENT_TOOL_NAMES
|
||||
gui_tools = set(AGENT_TOOL_NAMES)
|
||||
missing = ALL_DISPATCH_TOOLS - gui_tools
|
||||
assert not missing, f"Tools missing from gui_2.AGENT_TOOL_NAMES: {missing}"
|
||||
|
||||
Reference in New Issue
Block a user