From 90f5be04953ba1cec43c39b7d9112ef8e9ab6352 Mon Sep 17 00:00:00 2001 From: Ouroboros <311266734+ouroboros-agent@users.noreply.github.com> Date: Sun, 13 Sep 2026 11:43:54 +0300 Subject: [PATCH] Align tool capability test with Nano schema projection Co-authored-by: Ouroboros <311266734+ouroboros-agent@users.noreply.github.com> --- tests/test_tool_capabilities.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_tool_capabilities.py b/tests/test_tool_capabilities.py index 240405e1c..9eae14904 100644 --- a/tests/test_tool_capabilities.py +++ b/tests/test_tool_capabilities.py @@ -28,7 +28,9 @@ def test_tool_policy_defines_no_local_tool_sets(): import ouroboros.tool_policy as tp source = inspect.getsource(tp) assert not re.search(r"^(CORE_TOOL_NAMES|META_TOOL_NAMES)\s*[:=]", source, re.MULTILINE) - assert "frozenset({" not in source + # Nano's schema-residency projection is intentionally a derived set in + # this module; capability sets themselves remain owned by tool_capabilities. + assert "NANO_SCHEMA_META_NAMES = META_TOOL_NAMES | frozenset" in source def test_loop_execution_imports_from_capabilities():