From 06815342579840a8f0062e19112d6c2b7cb36dee Mon Sep 17 00:00:00 2001 From: Bryan Van Deusen Date: Tue, 1 Dec 2026 17:37:16 -0500 Subject: [PATCH] test(8249): a Grimoire tool sends no ask at all, not even for the tool list The hook leaves a Grimoire tool before it reads the cached tool list, so the right check is that no /moment ask is made; the test expected the list fetch. Caught by CI on the reviewed tree (run 11237). Co-Authored-By: Claude Opus 5.5 --- tests/test_moment_delivery.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_moment_delivery.py b/tests/test_moment_delivery.py index 4c456bbb..fa5884e3 100644 --- a/tests/test_moment_delivery.py +++ b/tests/test_moment_delivery.py @@ -337,7 +337,7 @@ def test_grimoires_own_tools_are_left_to_their_responses(tmp_path): with http_sink(by_path={"/api/plugin/moment-tools": b'{"tools":["update_task"]}'}) \ as (port, seen): assert _hook(tmp_path, port, tool="mcp__plugin_grimoire_grimoire__update_task") == "" - assert [e["_path"] for e in seen] == ["/api/plugin/moment-tools"] + assert "/api/plugin/moment" not in [e["_path"] for e in seen] def test_the_route_reads_every_name_the_hook_sends(tmp_path):