{"repo":"NousResearch/hermes-agent","public_id":"111569","display_label":"Fix update/restart to use running install path","summary":"These items address a concern that the gateway's update and restart commands resolve the executable via PATH (shutil.which) rather than the currently running installation, with a proposed fix to derive the path from the running process instead.","subsystem":null,"counts":{"members":3,"open_issues":0,"open_issues_distinct":0,"open_prs":0,"closed_issues":1,"merged_prs":1,"attempt_prs":1},"landed_fix":{"status":"merged_to_main","basis":"structural","pr":112215,"merged_at":"2026-09-16T02:03:10+00:00"},"resolution":{"state":"resolved","by":"pr-112215"},"freshness":{"state":"verified","last_verified_at":"2026-09-16T02:03:10+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":111568,"pr_number":112215,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-09-16T02:03:10+00:00"},{"issue_number":111569,"pr_number":112215,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-16T02:03:10+00:00"}],"members":[{"kind":"issue","number":111569,"title":"[Security] Windows /update command resolves hermes via shutil.which → PATH hijack","url":null,"state":"closed"},{"kind":"pr","number":111574,"title":"fix(gateway): resolve the update/restart argv from the running install, not PATH","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"173ccfe2dd","number":0},{"kind":"pr","value":"#112215","number":112215}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":112215,"title":"fix(gateway): /update and restart relaunch the running install instead of whatever 'hermes' is on PATH (#111569, salvage #111574)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["cron/scheduler_delivery.py","gateway/run.py","hermes_cli/kanban_db_dispatch.py","tests/cron/test_bot_chat_cli_home.py","tests/cron/test_bot_chat_pending.py","tests/cron/test_bot_chat_pending_identity.py","tests/cron/test_cron_bot_chat_delivery.py","tests/gateway/test_update_command.py","tests/hermes_cli/test_kanban_db.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}