{"repo":"NousResearch/hermes-agent","public_id":"139666","display_label":"Gateway one-shot (-z) output and command behavior issues","summary":"These items appear related to how the gateway handles one-shot (-z) turns and command output, including a report that `hermes -z` prints nothing and exits 1 even though the answer is persisted. Two members are fix-oriented changes touching gateway reply/output behavior; their outcomes are not established by the titles alone.","subsystem":"gateway","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":140249,"merged_at":"2026-10-17T17:31:17+00:00"},"resolution":{"state":"resolved","by":"pr-140249"},"freshness":{"state":"verified","last_verified_at":"2026-10-17T17:31:17+00:00","is_stale":false},"grouping":{"backbone":"STRUCTURAL_SPANNING","link_density":0.6666666666666666},"fix_edges":[{"issue_number":139375,"pr_number":140249,"tier":"verified","basis":"superseded_ref","confidence":0.9,"recoverable_from_timeline":false,"pr_merged_at":"2026-10-17T17:31:17+00:00"},{"issue_number":139666,"pr_number":140249,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-10-17T17:31:17+00:00"},{"issue_number":139828,"pr_number":140249,"tier":"verified","basis":"closing_ref","confidence":0.95,"recoverable_from_timeline":true,"pr_merged_at":"2026-10-17T17:31:17+00:00"}],"members":[{"kind":"issue","number":139666,"title":"hermes -z prints nothing and exits 1 while the turn completes and the answer is persisted (v0.22.1)","url":null,"state":"closed"},{"kind":"pr","number":139676,"title":"fix(gateway): keep the terminal reply for finite (-z) viewer turns","url":null,"state":"closed","close_reason":{"refs":[{"kind":"pr","value":"#139666","number":139666},{"kind":"pr","value":"#140249","number":140249}],"category":"stale_abandoned","implication":"active"},"merged":false},{"kind":"pr","number":140249,"title":"fix(gateway): commands and one-shot output behave on the gateway as they did on main","url":null,"state":"merged","close_reason":{"category":"merged"},"merged":true,"is_fix_pr":true,"fix_tier":"verified","files_changed":["agent/auxiliary_client.py","apps/shared/src/gateway-contract.generated.ts","apps/shared/src/gateway-contract.openrpc.json","gateway/run_runtime.py","gateway/run_turn.py","gateway/run_turn_persistence.py","gateway/session_commands.py","gateway/session_controls.py","gateway/session_llm_oneshot.py","gateway/session_tui_ops.py","hermes_cli/cli_commands_mixin.py","hermes_cli/cli_commands_session_tools.py","hermes_cli/gateway_chat_view.py","hermes_cli/gateway_rollback.py","locales/_keys.tui.json","locales/af.tui.yaml","locales/ar.tui.yaml","locales/de.tui.yaml","locales/es.tui.yaml","locales/fr.tui.yaml","locales/ga.tui.yaml","locales/hu.tui.yaml","locales/it.tui.yaml","locales/ja.tui.yaml","locales/ko.tui.yaml","locales/pt.tui.yaml","locales/ru.tui.yaml","locales/tr.tui.yaml","locales/uk.tui.yaml","locales/zh-hant.tui.yaml","locales/zh.tui.yaml","tests/agent/test_aux_custom_endpoint_headers.py","tests/gateway/test_finite_viewer_final_send.py","tests/gateway/test_session_llm_oneshot.py","tests/gateway/test_session_llm_oneshot_pool.py","tests/gateway/test_session_memory_review.py","tests/gateway/test_session_read_commands.py","tests/gateway/test_session_tui_ops.py","tests/hermes_cli/test_gateway_chat_failures.py","tests/hermes_cli/test_gateway_rollback.py","tests/hermes_cli/test_oneshot_streamed_live.py","tests/tui_gateway/test_rollback_restore_safe.py","tests/tui_gateway/test_tui_gateway_server.py","tui_gateway/contracts/tools_commands.py","tui_gateway/methods_tools.py","ui-tui/src/__tests__/canonicalTuiOps.test.ts","ui-tui/src/app/slash/commands/ops.ts","ui-tui/src/gatewayTypes.ts","ui-tui/src/i18n/en/slashCmd/ops.ts"]}],"trust":{"default_tier":"verified","includes_suggested":false}}