NousResearch/hermes-agent

Heredoc handling in approval hardline command guard

Cluster 149601 · agent · Bug. Data as of

1 open item. Fix merged in #155467 on 16 Nov 2026. Check it covers your case.

The short answer

1open issue
0open PRs
3items grouped
Known?
Yes. 3 related items grouped here, 0 issues already closed.
Fix event
A fix was merged to main in PR #155467. Check it covers your case. No release data is tracked. Fix link checked: 16 Nov 2026.
Tracker
The maintainers' tracker marks this unresolved. That is separate from the fix event.

Members concern how the approval system's hardline/command floor treats heredoc bodies, with one issue reporting body lines being treated as commands and two pull requests addressing heredoc-aware parsing. One PR also mentions additional checks (fetch-then-run, pipe sinks, brace command words), whose details are not specified in the titles.

Open issues1

  • Issue#149601[Bug]: Hardline guard treats heredoc body lines as commands

Open PRs0

No open pull requests.

Fixes on record

Merged to main. A stamp counts the issues a fix is linked to.

  • #155467 fix(approval): heredoc-aware command floors; flag same-string fetch-then-run, group/interpreter pipe sinks, brace command words

    merged to main

    files: tests/tools/test_approval_fetch_exec_shapes.py, tests/tools/test_heredoc_command_floors.py, tests/tools/test_heredoc_floor_union.py, tools/approval_detection.py, tools/approval_fetch_exec.py, tools/approval_pipe_launchers.py, tools/approval_quoted_newlines.py, tools/approval_wmic.py, tools/approval_wrappers.py, tools/shell_heredoc.py

1 PR closed without merging

From the close comments: superseded by another PR 1

  • #149639 fix(approval): read data-only heredoc bodies as data in the hardline floor · superseded by another PR → e96221f, a09db3d, 216bd9b, ad4fb40, 350816a, #155467
How this cluster was grouped
  • Link evidence (structural links throughout): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
  • Pairwise link density 0.67: the share of item 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.

For your agent

The same facts, typed.