Skip to content

The agent that grows with you

test(gateway): expect display on skill-bundle slash payloads

Brooklyn Nicholsondddfe6e4a3cf
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",