The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
test: follow the branch contracts main tests were written against
teknium1761fb4ef28be
diff --git a/cli-config.yaml.example b/cli-config.yaml.exampleindex 77baaf2cfae..0038caad4b8 100644--- a/cli-config.yaml.example+++ b/cli-config.yaml.example@@ -7,7 +7,7 @@# Schema version of this file. The installers copy it to seed config.yaml, and# `hermes update` uses it to know which one-time migrations the file already# has. Hermes manages it: do not copy it into another config.-_config_version: 46+_config_version: 47# =============================================================================# Database Configurationdiff --git a/tests/acp_adapter/test_gateway_tool_projection.py b/tests/acp_adapter/test_gateway_tool_projection.pyindex 03b2cbde0ca..0cca23fef33 100644--- a/tests/acp_adapter/test_gateway_tool_projection.py+++ b/tests/acp_adapter/test_gateway_tool_projection.py@@ -68,6 +68,10 @@ def test_gateway_publishes_tool_arguments_and_result_for_live_viewers():runner.combined_tool_start_callback('call_1', 'read_file', ARGS)runner.combined_tool_complete_callback('call_1', 'read_file', ARGS, RESULT)start, complete = published- assert start == ('tool.start', {'tool_call_id': 'call_1', 'tool_name': 'read_file', 'args': ARGS})+ assert start[0] == 'tool.start'+ # Legacy keys the ACP projection reads, plus the ToolStartPayload contract every canonical client reads.+ assert {k: start[1][k] for k in ('tool_call_id', 'tool_name', 'args')} == {+ 'tool_call_id': 'call_1', 'tool_name': 'read_file', 'args': ARGS}+ assert start[1]['tool_id'] == 'call_1' and start[1]['name'] == 'read_file'assert complete[0] == 'tool.complete'assert complete[1]['args'] == ARGS and complete[1]['result'] == RESULTdiff --git a/tests/hermes_cli/test_web_analytics_corrupt_store.py b/tests/hermes_cli/test_web_analytics_corrupt_store.pyindex ad670aa5c64..c21b1c583ea 100644--- a/tests/hermes_cli/test_web_analytics_corrupt_store.py+++ b/tests/hermes_cli/test_web_analytics_corrupt_store.py@@ -111,7 +111,6 @@ def test_corrupt_store_as_status_maps_replaced_store_errors_to_503_without_fix_nsessions._resolve_session_id(_RetiredDb(), "abc")assert (info.value.status_code, info.value.detail["error"]) == (503, "state_db_deleted_wal")- monkeypatch.setattr(sessions, "_maybe_auto_archive_for_profile", lambda profile: None)monkeypatch.setattr(sessions, "_session_db_path_for_profile", lambda profile: db_path)monkeypatch.setattr(sessions, "_open_session_db_for_profile", lambda profile, read_only: _RetiredDb())app = FastAPI()diff --git a/tests/tools/test_bot_mode_dm.py b/tests/tools/test_bot_mode_dm.pyindex a8ef4a16eae..12054dc2c20 100644--- a/tests/tools/test_bot_mode_dm.py+++ b/tests/tools/test_bot_mode_dm.py@@ -439,6 +439,7 @@ def test_connection_qualified_target_reaches_the_relay_not_a_look_alike_local_bocalls = _capture_spawn(monkeypatch)monkeypatch.setattr(bot_relay, "_hermes_cli", lambda: "hermes")home = _managed_home(tmp_path, teammates=("ops",))+ _canonical_target(monkeypatch, home / "profiles" / "ops") # the local bot's authority is up_rename(home, "ops", display_name=local_name)bot_relay.write_remote_roster(home, [{"profile": "default", "handle": "hermes", "connection_id": "mini", "connection_label": "Mini"},