Skip to content

The agent that grows with you

test: keep core review checks independent of optional ACP

Teknium5f88f0e9c3ce
diff --git a/tests/hermes_cli/test_kanban_review_surfaces.py b/tests/hermes_cli/test_kanban_review_surfaces.py
index 01d4a040f4e..d828c11106d 100644
--- a/tests/hermes_cli/test_kanban_review_surfaces.py
+++ b/tests/hermes_cli/test_kanban_review_surfaces.py
@@ -106,14 +106,19 @@ def test_review_tools_are_gated_and_visible_to_kanban_workers(
assert "kanban_request_review" in names
assert "kanban_request_changes" in names
- from acp_adapter.tools import _POLISHED_TOOLS
from agent.transports.hermes_tools_mcp_server import EXPOSED_TOOLS
- assert "kanban_request_changes" in _POLISHED_TOOLS
assert "kanban_request_changes" in EXPOSED_TOOLS
assert "kanban_request_changes" in resolve_toolset("kanban")
+def test_review_changes_are_exposed_in_acp() -> None:
+ pytest.importorskip("acp", reason="ACP adapter requires the optional acp extra")
+ from acp_adapter.tools import _POLISHED_TOOLS
+
+ assert "kanban_request_changes" in _POLISHED_TOOLS
+
+
def test_review_cli_round_trip_preserves_handoff(
monkeypatch: pytest.MonkeyPatch,
tmp_path: Path,