{"repo":"NousResearch/hermes-agent","public_id":"122160","display_label":"Bootstrap re-exec drops script directory on external entry","summary":"A bug where hermes_bootstrap incorrectly re-executes external entry points and drops the script's directory from sys.path, causing module import failures. The accompanying fixes prevent re-exec of external entry points and preserve the script directory during managed re-entry.","subsystem":"hermes_cli","counts":{"members":3,"open_issues":1,"open_issues_distinct":1,"open_prs":2,"closed_issues":0,"merged_prs":0,"attempt_prs":2},"landed_fix":null,"resolution":{"state":"unresolved","by":null},"freshness":{"state":"never_verified","last_verified_at":null,"is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[],"members":[{"kind":"issue","number":122160,"title":"[Bug]: hermes_cli import from an external process triggers hermes_bootstrap re-exec; relaunch bootstrap drops the script's directory (hermes-webui: No module named 'api')","url":null,"state":"open"},{"kind":"pr","number":122334,"title":"fix(bootstrap): do not re-exec external entry points and preserve script dir in sys.path (#122160)","url":null,"state":"open","close_reason":{"category":"uncategorized","implication":"needs_llm"},"merged":false},{"kind":"pr","number":122336,"title":"fix(update): keep the entry script's directory on the managed re-entry","url":null,"state":"open","close_reason":{"refs":[{"kind":"pr","value":"#122334","number":122334},{"kind":"pr","value":"#122160","number":122160}],"category":"uncategorized","implication":"needs_llm"},"merged":false}],"trust":{"default_tier":"verified","includes_suggested":false}}