# NousResearch/hermes-agent · Cron one-shot CLI orphaning and stale claim fixes

## Open now

- Nothing open on GitHub.

These issues and PRs address a problem where running a cron job via a one-shot CLI command leaves the job stuck in a 'claimed' state permanently, because the async process dies with the calling process. The fixes involve waiting for completion instead of detaching and reaping stale or dead-owner claims.

## TL;DR

- 5 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 2 merged PR(s), 2 PR(s) closed without merging.
- A fix was merged to main in PR #86899. Verify it addresses your case.
- **Recommended:** read PR #86899 (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: `resolved` · deciding PR(s): `pr-86853`. 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.

## Closed / duplicate issues

- #86721: cron run from one-shot CLI orphans the job: async delegation dies with the calling process, execution stuck 'claimed' forever

## Prior & competing PRs

- **#86853: fix(cron): stop one-shot CLI cron run from orphaning the job; reap dead-owner claims on tick**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `cron/scheduler.py`, `hermes_cli/cron.py`, `tests/cron/test_dead_owner_claim_reclaim.py`
- **#86899: fix(cron): reap stale execution claims at the manual-run dispatch point (#86721)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/cron/test_cron_run_stale_claim_reap_86721.py`, `tools/cronjob_tools.py`
- **#86739: fix(cron): wait for hermes cron run instead of detaching**. closed without merge
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `#86853`, `#86721`
- **#86862: fix(cron): reap stale execution claims before a one-shot \`hermes cron run\` dispatch**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `bd3a966c0e`, `#86899`, `#86853`, `#86721`

## Fix status

- Merged to main in PR #86899 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-08-15`.
