1d74833d8d
Phase 1 of the fleet-update reliability plan (#91277): the updater now proves its outcome instead of assuming it. - hermes_cli/build_info.py: get_code_identity() — process-cached code identity (git sha for source installs, baked .hermes_build_sha for Docker images, pyproject version). - gateway/status.py: every runtime-status write stamps the writer's code_sha/code_version into gateway_state.json, so a running gateway's actual code generation is observable from disk. - hermes_cli/update_receipt.py (new): machine-readable receipt of each update run (steps, skips with reasons, gateway restart outcome, fleet snapshot) under ~/.hermes/logs/update_receipts/ with a latest.json pointer for the dashboard/desktop; plus collect_fleet_versions() / print_fleet_version_matrix() comparing every live profile gateway against the freshly updated checkout. - hermes_cli/update_cmd.py: wires receipt begin/steps/finalize into the git, ZIP, and hard-failure paths; after the restart phase, prints the fleet version matrix and escalates provably-stale gateways into the existing gateway_fleet_restart_incomplete exit-1 contract. Pre-stamp gateways report 'unknown' and never fail the update (no false positives during rollout). Silent-failure classes made visible: #88848, #74973, #85753, #81193. Mixed-version fleet classes made loud: #88654, #69754, #77553, #56717.