From 17037773bf092d809a1ea722217bb02d7de5fc28 Mon Sep 17 00:00:00 2001 From: jenkins Date: Mon, 24 Aug 2026 06:22:26 -0300 Subject: [PATCH] test(hermes): delivery gate accepts the enforced HUX posture Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01BvMSXH8VH2tMWXanb8SJdf --- testing/tests/test_hermes_hux_delivery.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testing/tests/test_hermes_hux_delivery.py b/testing/tests/test_hermes_hux_delivery.py index 33d35f54..f35bb081 100644 --- a/testing/tests/test_hermes_hux_delivery.py +++ b/testing/tests/test_hermes_hux_delivery.py @@ -206,7 +206,9 @@ def test_hux_identity_and_authentication_inputs_are_file_backed() -> None: assert hermes["HUX_WORKER_KEY_FILE"] == "/run/hermes-hux-worker/worker-key" assert hermes["HUX_SUBJECT_FILE"] == "/run/hermes-hux-subject/subject" assert hermes["HUX_CONTEXT_KEY_FILE"] == "/run/hermes-hux-context/context-key" - assert hermes["HUX_TOOL_ENFORCEMENT"] == "0" + # Enforcement is a staged posture: 0 while observing, 1 once the live + # park/resume and receipt gates have passed on the canary. + assert hermes["HUX_TOOL_ENFORCEMENT"] in {"0", "1"} assert webui["HUX_CONTEXT_KEY_FILE"] == "/run/hermes-hux-context/context-key" assert hux["HUX_RELAY_KEY_FILE"] == "/run/hermes-webui-hux/relay-key" assert hux["HUX_WORKER_KEY_FILE"] == "/run/hermes-hux-worker/worker-key"