# NousResearch/hermes-agent · Cron session-title fallback placement and agent cleanup safety

## Open now

- 1 issue, 2 PRs open on GitHub.
- #146855: \[Bug\]: Cron session-title fallback runs outside the try block, so a title-write timeout skips agent teardown and leaks the whole ephemeral agent
- PR #146940: fix(cron): compute the session-title fallback lazily inside its recovery block
- PR #147138: fix(cron): keep the session-title recovery non-raising so run_job cleanup cannot abort

These three members all concern the cron session-title fallback in run_job: one bug report says it runs outside the try block so a title-write timeout could skip agent teardown, and two fix proposals would make the recovery non-raising or compute it lazily inside its recovery block. This describes the reported problem and proposed approaches only; it does not indicate whether any change was merged or works.

## 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

- #146855: \[Bug\]: Cron session-title fallback runs outside the try block, so a title-write timeout skips agent teardown and leaks the whole ephemeral agent

## Prior & competing PRs

- **#146940: fix(cron): compute the session-title fallback lazily inside its recovery block**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `#147138`
  - files: `cron/scheduler.py`, `tests/cron/test_finalize_cron_session_title.py`
- **#147138: fix(cron): keep the session-title recovery non-raising so run_job cleanup cannot abort**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `a1f389079a8bfb316753fb0f23a0317c4e914f61`
  - files: `cron/scheduler.py`, `tests/cron/test_scheduler_session_title_nudge.py`

## Fix status

- No merged fix on record.
- Subsystem: `cron`
- Kind: `bug` (from the open issues' GitHub type labels).
