# NousResearch/hermes-agent · Cron run caller timeout leaves unknown execution state

## Open now

- 1 issue, 2 PRs open on GitHub.
- #102511: \[Bug\]: \`hermes cron run\` can leave agent-backed executions in unknown state after caller timeout
- PR #102530: fix(cron): keep direct runs alive after CLI timeout
- PR #102538: fix(cron): detach CLI/tool cron run so a dead caller cannot leave unknown

These items address a bug where the \`hermes cron run\` command can leave agent-backed executions in an unknown state if the calling process times out or disconnects. The fixes involve detaching or keeping direct runs alive so a dead caller does not corrupt execution state.

## TL;DR

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

## Open related issues

- #102511: \[Bug\]: \`hermes cron run\` can leave agent-backed executions in unknown state after caller timeout

## Prior & competing PRs

- **#102530: fix(cron): keep direct runs alive after CLI timeout**. open
  - maintainer direction: category `partial_fix`; implication `needs_llm`; refs `4f6ba1f05811700b8e36e18ab8146ceadff894e2`, `63279301bcbdc185c1b07b98a9312eb0c862f26d`, `#102538`, `#102530`, `#102511`, `#102538`, `#102511`, `#102530`, `#102508`, `#102431`
  - files: `cron/scheduler.py`, `hermes_cli/cron.py`, `tests/cron/test_cron_relay_run_forward.py`, `tests/cron/test_restart_safe_worker.py`, `tests/hermes_cli/test_cron.py`, `tests/tools/test_cronjob_run_background.py`, `tools/cronjob_tools.py`
- **#102538: fix(cron): detach CLI/tool cron run so a dead caller cannot leave unknown**. open
  - maintainer direction: category `duplicate_of`; implication `duplicate`; refs `#102530`, `#102511`, `#102530`
  - files: `cron/scheduler.py`, `hermes_cli/cron.py`, `tests/cron/test_direct_run_caller_timeout.py`, `tests/cron/test_restart_safe_worker.py`, `tools/cronjob_tools.py`

## Fix status

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