# NousResearch/hermes-agent · Kanban worker exit guard terminal action fixes

## Open now

- 1 issue, 3 PRs open on GitHub.
- #98107: \[Bug\]: the worker exit guard does not count kanban_request_review as a terminal action - it nudges the worker into a kanban_complete that cannot succeed
- PR #102516: fix(kanban): stop-guard counts review-lane terminal actions and never nudges a terminal run
- PR #103741: fix(kanban): treat review transitions as terminal worker actions
- PR #104721: fix(kanban): verify run ownership before stop nudges

Multiple fixes to the kanban stop/exit guard logic to correctly recognize review-related actions (request_review, request_changes, review-handoff tools) as terminal states, preventing incorrect nudges toward kanban_complete. Also includes a run ownership verification before issuing stop nudges.

## TL;DR

- 7 member(s): 1 open issue(s), 0 closed issue(s), 3 open PR(s), 0 merged PR(s), 3 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.29`: 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

- #98107: \[Bug\]: the worker exit guard does not count kanban_request_review as a terminal action - it nudges the worker into a kanban_complete that cannot succeed

## Prior & competing PRs

- **#97753: fix(kanban): treat review-handoff tools as terminal in the stop guard**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `7e437bba91a4`, `#114768`, `#114768`, `#114598`, `#97753`, `#105708`, `#114598`
- **#98112: fix(kanban): count request_review/request_changes as terminal worker exits**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#97753`, `#98107`, `#97753`, `#97753`, `#97753`
- **#100238: fix(kanban): count kanban_request_review as terminal in worker exit guard (#98107)**. closed without merge
  - maintainer direction: category `uncategorized`; implication `needs_llm`
- **#102516: fix(kanban): stop-guard counts review-lane terminal actions and never nudges a terminal run**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#97753`, `#100238`, `#101812`, `#98107`, `#98750`
  - files: `agent/kanban_stop.py`, `tests/agent/test_kanban_stop.py`
- **#103741: fix(kanban): treat review transitions as terminal worker actions**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#100238`, `#98107`
  - files: `agent/kanban_stop.py`, `tests/agent/test_kanban_stop.py`
- **#104721: fix(kanban): verify run ownership before stop nudges**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `a6102b8d809d6b32824757b547b60f9d22d6a88e`, `79783dd5932a64d71a82631a1f4914e70ed21209`, `80d83eb8a862644b8233b7238314c587ba08f0e5`, `a6102b8d809d6b32824757b547b60f9d22d6a88e`
  - files: `agent/kanban_stop.py`, `agent/turn_stop_gates.py`, `tests/agent/test_kanban_stop.py`, `tests/agent/test_kanban_stop_run.py`

## Fix status

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