# NousResearch/hermes-agent · Cron lifecycle guard scoping and matching fixes

## Open now

- 1 issue, 2 PRs open on GitHub.
- #124700: \[Bug\]: lifecycle guard over-matches — blocks unrelated LaunchAgent maintenance and non-executing commands, with no sanctioned path to install an independent service
- PR #124716: fix(cron): a parse-only \`bash -n\` invocation no longer scans the script it names
- PR #124753: fix(cron): lifecycle guard matches the gateway's own service label, not any prefix-containing label

These items address two over-matching bugs in the cron lifecycle guard: one where it incorrectly matched unrelated service labels instead of only its own, and one where a parse-only bash invocation triggered unintended script scanning.

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

- #124700: \[Bug\]: lifecycle guard over-matches — blocks unrelated LaunchAgent maintenance and non-executing commands, with no sanctioned path to install an independent service

## Prior & competing PRs

- **#124716: fix(cron): a parse-only \`bash -n\` invocation no longer scans the script it names**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`
  - files: `cron/lifecycle_guard.py`, `tests/hermes_cli/test_gateway_restart_loop.py`
- **#124753: fix(cron): lifecycle guard matches the gateway's own service label, not any prefix-containing label**. open
  - maintainer direction: category `implemented_elsewhere`; implication `superseded`; refs `8268109f986b8545f42bd539f6fce71c09e91fb6`
  - files: `cron/lifecycle_guard.py`, `tests/cron/test_lifecycle_guard_target_matching.py`

## Fix status

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