{"repo":"NousResearch/hermes-agent","public_id":"115031","display_label":"Gateway profile identity wrongly matches sibling HERMES_HOME paths","summary":"A bug where the gateway profile identity predicate incorrectly accepts a longer HERMES_HOME path that belongs to a sibling profile, rather than the profile it should match. The members describe the problem and associated fix attempts.","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":116794,"merged_at":"2026-09-20T17:27:32+00:00"},"resolution":{"state":"resolved","by":"pr-116794"},"freshness":{"state":"verified","last_verified_at":"2026-09-20T17:27:32+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":115031,"pr_number":116794,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-09-20T17:27:32+00:00"}],"members":[{"kind":"issue","number":115031,"title":"Gateway profile identity predicate accepts a longer HERMES_HOME path belonging to another profile","url":null,"state":"closed"},{"kind":"pr","number":115039,"title":"fix(gateway): profile identity predicate must not accept a longer sibling HERMES_HOME","url":null,"state":"closed","close_reason":{"refs":[{"kind":"commit","value":"9cb5c8ae09e2","number":0},{"kind":"pr","value":"#116794","number":116794},{"kind":"pr","value":"#115031","number":115031},{"kind":"pr","value":"#115039","number":115039}],"category":"merged_via","implication":"superseded"},"merged":false},{"kind":"pr","number":116794,"title":"fix(gateway): a named profile's gateway identity no longer matches a sibling profile's longer HERMES_HOME (#115031, salvage #115039)","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["gateway/status.py","hermes_cli/gateway.py","tests/gateway/test_multiplex_secondary_port_binding_env.py","tests/gateway/test_status.py"]}],"trust":{"default_tier":"verified","includes_suggested":false}}