# NousResearch/hermes-agent · Guard against None channel_prompt in gateway agent

## Open now

- Nothing open on GitHub.

These items address an AttributeError that occurs when pending_event or its channel_prompt attribute is None during recursive _run_agent calls in the gateway. The fixes add a null guard to prevent this crash.

## 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 #11053. Verify it addresses your case.
- **Recommended:** read PR #11053 (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: `unresolved`. 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

- #10909: gateway: AttributeError when pending_event is None in recursive _run_agent call

## Prior & competing PRs

- **#11053: fix(gateway): guard pending_event.channel_prompt against None in recursive _run_agent**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `gateway/run.py`, `tests/gateway/test_pending_event_none.py`
- **#10953: fix(gateway): guard pending_event.channel_prompt against None in recursive _run_agent**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#11053`

## Fix status

- Merged to main in PR #11053 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-04-16`. This confirmation is old and may be out of date (a revert/reopen would not have invalidated it here); re-verify.
- Subsystem: `gateway`
