From bdb5bf96f39777e335a0fb8cd07145e6033991bb Mon Sep 17 00:00:00 2001 From: Teknium <127238744+teknium1@users.noreply.github.com> Date: Fri, 11 Sep 2026 12:11:03 -0700 Subject: [PATCH] test(hooks): synthetic payload carries the new profile field like production --- tests/hermes_cli/test_hooks_cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hermes_cli/test_hooks_cli.py b/tests/hermes_cli/test_hooks_cli.py index 0ffb6ad047..f86379b33b 100644 --- a/tests/hermes_cli/test_hooks_cli.py +++ b/tests/hermes_cli/test_hooks_cli.py @@ -102,7 +102,7 @@ class TestHooksTest: # Same top-level keys _serialize_payload produces at runtime assert set(seen.keys()) == { "hook_event_name", "tool_name", "tool_input", - "session_id", "cwd", "extra", + "session_id", "cwd", "extra", "profile", } # parent_session_id was routed to top-level session_id (matches runtime) assert seen["session_id"] == "parent-sess"