# NousResearch/hermes-agent · ACP adapter None final_response crash and fix

## Open now

- 1 issue, 2 PRs open on GitHub.
- #86798: \[Bug\]: ACP adapter crashes with 'NoneType' object has no attribute 'startswith' when a turn is interrupted mid-flight; queued prompts never drain
- PR #87593: fix(acp): guard None final_response in ACP prompt handler (#86798)
- PR #108275: fix(acp): clear is_running in finally so a cancelled turn never bricks the session

A bug where the ACP adapter crashes with a NoneType 'startswith' error on interrupted turns, plus two fixes that add None-guards on final_response to prevent the crash and queued prompt drain issues.

## TL;DR

- 5 member(s): 1 open issue(s), 0 closed issue(s), 2 open PR(s), 0 merged PR(s), 2 PR(s) closed without merging.
- No fix has been merged to main; one or more PRs were attempted (see below).
- **Recommended:** review the prior/competing PR(s) below. A fix was attempted but not merged; your case may extend or revive that work.

## 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.40`: 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.

## Open related issues

- #86798: \[Bug\]: ACP adapter crashes with 'NoneType' object has no attribute 'startswith' when a turn is interrupted mid-flight; queued prompts never drain

## Prior & competing PRs

- **#86817: fix(acp): normalize None final_response on interrupted turns**. closed without merge
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#61927`, `#62776`, `#64471`, `#82580`, `#74242`, `#86798`
- **#87593: fix(acp): guard None final_response in ACP prompt handler (#86798)**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`
  - files: `acp_adapter/server.py`
- **#100800: fix(acp): clear is_running in finally so a cancelled turn never bricks the session (#86798)**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `c823446595`, `#108275`
- **#108275: fix(acp): clear is_running in finally so a cancelled turn never bricks the session**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#86798`, `#100800`, `#64471`, `#62776`, `#71028`
  - files: `acp_adapter/server.py`, `tests/acp/test_server.py`

## Fix status

- No merged fix on record.
- Subsystem: `acp`
