The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
feat(update): auto-migrate to one multiplexed gateway when unblocked
Teknium07a4ae016aa3
diff --git a/hermes_cli/update_cmd_fleet.py b/hermes_cli/update_cmd_fleet.pyindex 8851f866a1a..a3c1deafb28 100644--- a/hermes_cli/update_cmd_fleet.py+++ b/hermes_cli/update_cmd_fleet.py@@ -1400,6 +1400,11 @@ def _verify_fleet_after_update(restart, *, _pre_update_plan, _windows_gateway_re# doesn't treat the fleet as healthy; leave the pending marker for catch-up.sys.exit(1)_clear_fleet_restart_pending_marker()+ # Fleet is healthy on the new code: fold per-profile gateways into one multiplexer when nothing+ # blocks it (deterministic; never prompts), else print the blockers and the one-liner to run later.+ with _best_effort('Multiplex auto-migration after update failed: %s'):+ from hermes_cli.gateway_migrate import maybe_auto_migrate_after_update+ maybe_auto_migrate_after_update()def _restart_phase_failure_is_incomplete(surviving, pre_restart_pids) -> bool: