test(hermes): delivery gate accepts the enforced HUX posture

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BvMSXH8VH2tMWXanb8SJdf
This commit is contained in:
jenkins 2026-08-24 06:22:26 -03:00
parent 4a6d4fdf0d
commit 17037773bf

View File

@ -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"