The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(update): consume the start attestation once the cold-start spawns
kshitijk4poor674e3f3cd161
diff --git a/hermes_cli/update_cmd_windows.py b/hermes_cli/update_cmd_windows.pyindex 30c6eac956d..a314971c766 100644--- a/hermes_cli/update_cmd_windows.py+++ b/hermes_cli/update_cmd_windows.py@@ -949,6 +949,10 @@ def _cold_start_windows_gateway_after_update() -> bool:pid = gateway_windows._spawn_detached()if not pid:raise RuntimeError("Windows gateway cold-start did not return a process ID")+ # The dead attestation has now done its job (it authorized this spawn under Desktop ownership).+ # Consume it the same way check_start_attestation does, so a stale crash marker cannot+ # re-authorize a cold start on a later update if this one never becomes ready.+ gateway_windows._clear_start_attestation()ready_pids = gateway_windows._wait_for_gateway_ready()if not ready_pids:raise RuntimeError(f"Windows gateway cold-start PID {pid} did not become ready")