Skip to content

The agent that grows with you

test(hooks): synthetic payload carries the new profile field like production

Tekniumbdb5bf96f397
diff --git a/tests/hermes_cli/test_hooks_cli.py b/tests/hermes_cli/test_hooks_cli.py
index 0ffb6ad0478..f86379b33b2 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"