# NousResearch/hermes-agent · Cron shell-walk misidentifies non-shell interpreter scripts

## Open now

- 1 issue, 2 PRs open on GitHub.
- #125378: cron.lifecycle_guard: referenced-script walk fails closed on a /dev/null string literal in a suffixless python script
- PR #125396: fix(cron): exempt non-shell interpreter scripts from the POSIX reference walk by shebang, not suffix
- PR #125415: fix(cron): don't walk directly executed interpreter scripts as shell code

These issues address a bug where the cron lifecycle guard's POSIX reference walk incorrectly processes non-shell interpreter scripts (e.g. Python) as shell code, with fixes targeting shebang-based detection rather than suffix-based detection to exempt them.

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

- #125378: cron.lifecycle_guard: referenced-script walk fails closed on a /dev/null string literal in a suffixless python script

## Prior & competing PRs

- **#125396: fix(cron): exempt non-shell interpreter scripts from the POSIX reference walk by shebang, not suffix**. open
  - maintainer direction: category `merged_via`; implication `superseded`; refs `4255b50dd7`, `68052c9341`, `#125415`
  - files: `cron/lifecycle_guard.py`, `tests/cron/test_lifecycle_guard_interpreter_scripts.py`, `tests/cron/test_lifecycle_guard_interpreter_shebang.py`, `tests/cron/test_lifecycle_guard_node_programs.py`
- **#125415: fix(cron): don't walk directly executed interpreter scripts as shell code**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `4255b50dd7`, `#125396`, `#125396`
  - files: `cron/lifecycle_guard.py`, `tests/cron/test_lifecycle_guard_interpreter_scripts.py`

## Fix status

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