# NousResearch/hermes-agent · Kanban env inheritance in nested subprocesses

## Open now

- 1 issue, 2 PRs open on GitHub.
- #70809: \[Bug\]: nested hermes chat subprocess inherits parent Kanban worker lifecycle ownership
- PR #70898: fix(kanban): prevent nested hermes chat from inheriting parent Kanban ownership (#70809)
- PR #92416: fix: stop child hermes chat inheriting Kanban worker ownership

These items address a bug where subprocess or terminal-spawned processes incorrectly inherit Kanban worker environment variables and ownership from a parent process. Fixes involve stripping or preventing propagation of Kanban context to child processes.

## TL;DR

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

- #70809: \[Bug\]: nested hermes chat subprocess inherits parent Kanban worker lifecycle ownership

## Prior & competing PRs

- **#70898: fix(kanban): prevent nested hermes chat from inheriting parent Kanban ownership (#70809)**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#81843`, `#79543`, `#81324`
  - files: `agent/conversation_loop.py`, `agent/delegation_context.py`, `agent/kanban_stop.py`, `agent/skill_utils.py`, `agent/turn_finalizer.py`, `cli.py`, `hermes_cli/doctor.py`, `hermes_cli/kanban.py`, `model_tools.py`, `run_agent.py`, `tests/tools/test_delegate_kanban_isolation.py`, `tools/kanban_tools.py`, `tools/send_message_tool.py`
- **#81843: fix(kanban): strip worker Kanban env from terminal-spawned subprocesses**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `cf35e7351e`, `b578261584`, `#81843`
- **#92416: fix: stop child hermes chat inheriting Kanban worker ownership**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `cbd8de8ad64530be01efea23b7764d5c37c634ed`, `a3f1465fa83709f4935084eb873419a543ff1b16`, `507539d6b0ee36e9e1cfca5a1c9ed9dfc0fbe36e`
  - files: `agent/delegation_context.py`, `contributors/emails/[redacted:email]`, `hermes_cli/main.py`, `tests/hermes_cli/test_kanban_child_chat_startup.py`, `tests/tools/test_kanban_child_chat_env_isolation.py`, `tools/environments/local.py`

## Fix status

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