# NousResearch/hermes-agent · Cron lifecycle guard false-positives on Python scripts

## Open now

- Nothing open on GitHub.

These issues and fixes address the cron lifecycle guard incorrectly triggering on Python and binary scripts, including a pathlib division operator being misread as a path reference. Changes skip or adjust the shell-script reference walk for non-shell scripts.

## TL;DR

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

- #77131: cron lifecycle guard blocks ALL .py no-agent job creation (pathlib '/' false positive)

## Prior & competing PRs

- **#77332: fix(cron): stop lifecycle guard false-positives and crashes on .py/binary scripts**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `cron/lifecycle_guard.py`, `tests/hermes_cli/test_gateway_restart_loop.py`
- **#77137: fix(cron): ignore pathlib division in lifecycle guard**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#77332`, `#77201`, `#77201`
- **#77201: fix(cron): stop lifecycle guard false-positives and crashes on .py/binary scripts**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#77332`, `#76762`
- **#77230: fix(cron): skip shell-script reference walk for Python scripts (#77131)**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `#77332`, `#77201`

## Fix status

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