{"repo":"NousResearch/hermes-agent","public_id":"121298","display_label":"One-shot query exit leaves sessions unclosed","summary":"These issues and PRs concern a bug where running a one-shot query (e.g. with -q) does not properly close the agent or codex session on exit, potentially orphaning child processes. Fixes target the CLI to ensure sessions are closed after one-shot queries complete.","subsystem":"hermes_cli","counts":{"members":3,"open_issues":1,"open_issues_distinct":1,"open_prs":1,"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":121298,"title":"codex_app_server: 'hermes chat -q' exit never closes the codex session, orphaning app-server descendants in their own session","url":null,"state":"open"},{"kind":"pr","number":121312,"title":"fix(cli): close codex sessions after one-shot queries","url":null,"state":"open","close_reason":{"refs":[{"kind":"commit","value":"9da7d46d9d","number":0}],"category":"stale_abandoned","implication":"active"},"merged":false},{"kind":"pr","number":121612,"title":"fix(cli): close the agent when a one-shot query exits","url":null,"state":"closed","close_reason":{"category":"stale_abandoned","implication":"active"},"merged":false}],"trust":{"default_tier":"verified","includes_suggested":false}}