# NousResearch/hermes-agent · Cron shell script resolution on Windows via Git Bash

## Open now

- 1 issue, 2 PRs open on GitHub.
- #120504: Cron \`.sh\`/\`.bash\` job scripts on Windows resolve to the WSL stub \`bash.exe\` and fail with \`execvpe(/bin/bash) failed\`
- PR #120509: fix(cron): resolve .sh job scripts through Git Bash, not the WSL stub
- PR #120974: fix(cron): use _find_bash instead of bare which for script jobs on Windows

These items address a bug where cron job scripts ending in .sh or .bash on Windows incorrectly resolve to the WSL stub bash.exe rather than Git Bash, causing execution failures. The fixes replace bare \`which\` lookups with a dedicated helper to find the correct bash interpreter.

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

- #120504: Cron \`.sh\`/\`.bash\` job scripts on Windows resolve to the WSL stub \`bash.exe\` and fail with \`execvpe(/bin/bash) failed\`

## Prior & competing PRs

- **#120509: fix(cron): resolve .sh job scripts through Git Bash, not the WSL stub**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `c90a358aa8`, `bf0203a794`, `529ee3c161`, `529ee3c161c0823bcaff056f2e1241d364de671b`
  - files: `cron/scheduler_script.py`, `tests/cron/test_cron_script.py`, `tests/fixtures/resolution_allowlist.json`
- **#120974: fix(cron): use _find_bash instead of bare which for script jobs on Windows**. open
  - maintainer direction: category `uncategorized`; implication `needs_llm`; refs `a0c0f748c0`
  - files: `cron/scheduler_script.py`, `tests/tools/test_windows_native_support.py`

## Fix status

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