# NousResearch/hermes-agent · Self-repo guard heredoc pipe scanning fix

## Open now

- 0 issues, 1 PR open on GitHub.
- PR #112442: fix(tools): scan heredoc bodies piped to a shell in self-repo guard

These issues and PRs concern a gap in the self-repo guard tool that caused it to miss git mutation checks inside heredoc bodies piped to a shell (e.g., \`cat <<EOF | bash\`). The work involves detecting and scanning those heredoc bodies.

## TL;DR

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

## Closed / duplicate issues

- #112441: self_repo_guard misses heredoc bodies piped to a shell (cat <<EOF | bash)

## Prior & competing PRs

- **#113228: fix(tools): self-repo guard blocks git mutations in heredoc bodies piped to a shell (#112441, supersedes #112442)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`
  - files: `tests/tools/test_self_repo_guard.py`, `tools/self_repo_guard.py`
- **#112442: fix(tools): scan heredoc bodies piped to a shell in self-repo guard**. open
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#113228`
  - files: `tests/tools/test_self_repo_guard.py`, `tools/self_repo_guard.py`

## Fix status

- Merged to main in PR #113228 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-17`.
- Subsystem: `agent`
