STILL FIXING
This commit is contained in:
@@ -24,13 +24,13 @@ class TestArchBoundaryPhase2(unittest.TestCase):
|
||||
if tool not in ("set_file_slice", "py_update_definition", "py_set_signature", "py_set_var_declaration"):
|
||||
# Non-mutating tools should definitely be handled
|
||||
pass
|
||||
|
||||
def test_toml_mutating_tools_disabled_by_default(self) -> None:
|
||||
"""Mutating tools (like replace, write_file) MUST be present in models.AGENT_TOOL_NAMES."""
|
||||
"""Verify that the core set of read-only tools is present."""
|
||||
from src.models import AGENT_TOOL_NAMES
|
||||
# Current version uses different set of tools, let's just check for some known ones
|
||||
self.assertIn("run_powershell", AGENT_TOOL_NAMES)
|
||||
self.assertIn("set_file_slice", AGENT_TOOL_NAMES)
|
||||
# Our architecture now uses a fixed set of high-signal tools
|
||||
self.assertIn("read_file", AGENT_TOOL_NAMES)
|
||||
self.assertIn("list_directory", AGENT_TOOL_NAMES)
|
||||
self.assertIn("py_get_skeleton", AGENT_TOOL_NAMES)
|
||||
|
||||
def test_mcp_client_dispatch_completeness(self) -> None:
|
||||
"""Verify that all tools in tool_schemas are handled by dispatch()."""
|
||||
|
||||
Reference in New Issue
Block a user