# NousResearch/hermes-agent · Codex shell JSON tool calls appearing as output text

## Open now

- Nothing open on GitHub.

These items concern Codex output where shell tool-call JSON is printed or leaked instead of being executed, including a report involving Codex OAuth. Two titles describe changes to treat such leaked JSON as incomplete or to continue the turn rather than ending it as a final answer.

## TL;DR

- 3 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 1 merged PR(s), 1 PR(s) closed without merging.
- A fix was merged to main in PR #115798. Verify it addresses your case.
- **Recommended:** read PR #115798 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-115798`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.67`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #56920: \[Bug\]: Codex OAuth can print shell JSON instead of executing tool calls

## Prior & competing PRs

- **#115798: fix(codex): leaked shell-JSON tool call continues the turn instead of ending it as a final answer (#56920, salvage #56958)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `agent/codex_responses_adapter.py`, `tests/agent/test_codex_responses_adapter.py`
- **#56958: \[codex\] Treat leaked Codex shell JSON as incomplete**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `cdac150ec3a6`, `#115798`, `#56920`, `#56958`

## Fix status

- Merged to main in PR #115798 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-19`.
- Subsystem: `agent`
