From dddfe6e4a3cf7b21fa210818928ba592b6476036 Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Tue, 28 Jul 2026 04:12:48 -0500 Subject: [PATCH] test(gateway): expect display on skill-bundle slash payloads command.dispatch / slash.exec now project a display invocation for bundle sends; update the protocol assertions to match. --- tests/tui_gateway/test_protocol.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/tui_gateway/test_protocol.py b/tests/tui_gateway/test_protocol.py index a32fea2768f..7e55821301f 100644 --- a/tests/tui_gateway/test_protocol.py +++ b/tests/tui_gateway/test_protocol.py @@ -1592,6 +1592,8 @@ def test_slash_exec_routes_custom_skill_bundle_away_from_worker(server): "type": "send", "message": fake_msg, "notice": "⚡ Loading bundle: analysis-pack (2 skills)", + # UIs render this invocation; `message` stays model-facing scaffolding. + "display": "/analysis-pack", } assert worker.calls == [] @@ -2018,6 +2020,8 @@ def test_command_dispatch_returns_custom_bundle_payload(server): "type": "send", "message": fake_msg, "notice": "⚡ Loading bundle: review-suite (3 skills)", + # UIs render this invocation; `message` stays model-facing scaffolding. + "display": "/review-suite", } build_bundle.assert_called_once_with( "/review-suite",