The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test(e2e): custody drivers boot through hermes_bootstrap like a launch
Tekniume8b3fd8439dd
diff --git a/tests/e2e/core/windows_update/test_pause_custody.py b/tests/e2e/core/windows_update/test_pause_custody.pyindex 211662c4503..05d7cc79f35 100644--- a/tests/e2e/core/windows_update/test_pause_custody.py+++ b/tests/e2e/core/windows_update/test_pause_custody.py@@ -39,11 +39,14 @@ _STEM = ".hermes-update-paused-gateways"_RESTARTING = "Restarting gateway(s) paused by an interrupted"_MISSING_SERVICE = "hermes-e2e-no-such-gateway-service"-# Every driver: the installed module, and a hook that stops on one line of it (kill or park).+# Every driver: the installed module behind the same bootstrap a launch runs (a resume imports+# hermes_cli.main, whose bootstrap would otherwise re-enter this script mid-resume), and a hook that+# stops on one line of it (kill or park)._DRIVER = """import inspect, json, os, sys, timefrom pathlib import Pathsys.path.insert(0, sys.argv[1])+import hermes_bootstrap # as every launch does: re-enters the managed interpreter with its dependenciesfrom hermes_cli import update_pause_record as rdef stop_at(fn, texts, action, flag=None):