Skip to content

The agent that grows with you

test(bot-relay): typed-reason fixture carries the profile identity marker

teknium144c0b3c65204
diff --git a/tests/tools/test_bot_turn_lock.py b/tests/tools/test_bot_turn_lock.py
index d94e868e5cd..18c3b7173f0 100644
--- a/tests/tools/test_bot_turn_lock.py
+++ b/tests/tools/test_bot_turn_lock.py
@@ -380,6 +380,7 @@ def test_every_relay_refusal_carries_its_typed_reason(tmp_path, monkeypatch, fai
h = tmp_path / "h"
(h / "profiles" / "ops").mkdir(parents=True)
+ (h / "profiles" / "ops" / "config.yaml").touch() # identity marker: bare dirs are not profiles
monkeypatch.setenv("HERMES_HOME", str(h))
monkeypatch.setattr(bot_relay, "local_delivery_command", lambda prof, tmp: ["__delivery__", prof])